By plane
The nearest airport to Dunfermline is Edinburgh International Airport EDI, situated to the south of the Firth of Forth, 14 miles/22km from Dunfermline. The airport offers a wide range of domestic and international flights to Europe and North America. It costs in the region of £30 for a each way by taxi. See the Edinburgh article for more details, however there is a bus service from the airport to nearby Inverkeithing, which is a £10 taxi fare from Dunfermline (or the train from Inverkeithing to Dunfermline Town is £1.90.
By train
Dunfermline is served by 2 railway stations. Dunfermline Town, which is in the centre of the town, and Dunfermline Queen Margaret, which is located in the northeast of the town, near Queen Margaret Hospital. There is a half hourly hourly after 19:00 Fife Circle service to Edinburgh Waverley. See the First ScotRail (http://www.firstscotrail.com website for timetable information)
By bus
There are frequent bus services to Edinburgh, Glasgow, Dundee, Perth, and surrounding towns. The Bus Station has been temporarily relocated to the East Port whilst renovation work goes on, including the demolition of the old bus station to allow for the building of a Kingsgate extension.