Inverkeithing is a port community and church, in Fife, Scotland, on the Firth of Forth. According to 2016 population estimates, the community has a population of 4,890. Inverkeithing was given imperial burgh condition by King David I of Scotland (1124-- 53) in the 12th century. It is located concerning 9 miles (15 kilometres) north from Edinburgh Airport as well as about 4 miles from the centre of Dunfermline. Modern Inverkeithing is almost adjoining with Rosyth and Dalgety Bay. Inverkeithing is an establishing town and has numerous brand-new real estate sites, consisting of one beside the community's train station. It is a hectic commuter community, and trains to and also from a number of large towns and cities call at the station. The community is also house to the Ferrytoll Park & Ride, and also is served by several buses. The civil parish has a population of 8,090 (in 2011).