Dunfermline Town railway station is a station in the town of Dunfermline, Fife, Scotland. The station is managed by Abellio ScotRail and is on the Fife Circle Line, 17 miles north of Edinburgh Waverley.