Kirkcaldy (; ) is a town and former
royal burgh in
Fife, on the east coast of
Scotland. It is about north of
Edinburgh and south-southwest of
Dundee. The town has a population of 49,460, making it Fife's second-largest locality and the eleventh-largest locality in Scotland.