Besides the town itself, the Dunfermline constituency is made up mostly of smaller villages, including Kincardine, Comrie, Limekilns and Culross.
It has a total population of 72,000. Around 80% of the population is employed, with most working in health and retail. Employment and training opportunities have come in recent years from the construction of the Queensferry Crossing.
Dunfermline's most recent Holyrood representative was Cara Hilton (Labour), who replaced Bill Walker (SNP until 2012, then Independent) in a 2013 by-election.
The following candidates are standing for election in the Dunfermline constituency:
James Calder (Liberal Democrat) Cara Hilton (Labour)
James Reekie (Conservative) Shirley-Anne Somerville (SNP)