Inverkeithing is a port town and also church, in Fife, Scotland, on the Firth of Forth. According to 2016 population estimates, the town has a population of 4,890. Inverkeithing was provided imperial burgh condition by King David I of Scotland (1124-- 53) in the 12th century. It is located concerning 9 miles (15 km) north from Edinburgh Airport and concerning 4 miles from the centre of Dunfermline. Modern Inverkeithing is almost adjoining with Rosyth and also Dalgety Bay. Inverkeithing is an establishing community as well as has many new housing sites, consisting of one beside the community's railway station. It is a hectic traveler town, and also trains to and also from several big communities and cities call at the station. The town is also home to the Ferrytoll Park & Ride, and is offered by numerous buses. The civil church has a population of 8,090 (in 2011).