Inverkeithing ( ; ) is a coastal town, parish and historic Royal burgh in Fife, Scotland. The town lies on the north shore of the Firth of Forth, northwest of Edinburgh city centre and south of Dunfermline.
Inverkeithing became an important centre of trade during the Middle Ages and was granted Royal burgh status by 1159. It was the meeting place of the Parliament of Scotland in 1354 and the Convention of Royal Burghs from 1487 to 1552. The Battle of Inverkeithing in 1651 was a pivotal engagement in the Wars of the Three Kingdoms. Following the Industrial Revolution, Inverkeithing developed industries including quarrying, ship breaking and paper milling.
Inverkeithing town centre is a conservation area that retains a medieval town plan, with a well-preserved medieval friary and a notable example of a mercat cross. The town's annual highland games and Lammas fair are among the oldest in Scotland. Inverkeithing lies on the Fife Coastal Path, one of Scotland's Great Trails, and the Fife Pilgrim Way.
Inverkeithing railway station is a main stop for trains running over the nearby Forth Bridge, and the town is home to the Ferrytoll Park & Ride. A significant share of Inverkeithing's workers commute to Edinburgh city centre or Dunfermline for work. The town has a population of 5,260 (2022) and the civil parish has a population of 8,878 (2022).Census of Scotland 2022, Table UV101b – Usual Resident Population by sex by age, publ. by National Records of Scotland. Web site http://www.scotlandscensus.gov.uk/ retrieved May 2024. See "Standard Outputs", Table UV101b, Area type: Civil Parish 1930
Toponymy The name is of Scottish Gaelic origin, Inbhir Céitein. Inbhir is a common element in place names with Celtic roots and means "confluence, inflow" (see Aber and Inver), thus "mouth of the Keithing/Céitein". The Keithing burn is the name of a small river that runs through the southern part of the town. Simon Taylor notes that the name Keithing probably contains the Pictish (Brythonic) *coet, "wood", so "Keithing burn" would therefore mean "stream that runs through or past or issues from woodland".Taylor, Simon (2006) The Place-Names of Fife, Shaun Tyas, Donington William Watson in 1910 hypothesised an etymological link between the hydronym Keithing and the Welsh cethin, "dusky" (cf. Bryncethin).
Geography
Inverkeithing lies on the north shore of the Firth of Forth at its narrowest crossing point. Inverkeithing is almost contiguous with the neighbouring settlements of North Queensferry, Jamestown, Rosyth, Hillend village and Dalgety Bay. The nearest cities are Dunfermline, northwest, and Edinburgh, southeast. Topographically, Inverkeithing is situated on a raised terrace sloping down towards Inverkeithing Bay, which cuts into the south of the town, separating it from the North Queensferry Peninsula. The town is bounded to the west by Castlandhill and to the east by Letham Hill, a 324 ft coastal hill and woodland.
The Keithing Burn is a small river that flows through Inverkeithing. The river falls into the Inner Bay of Inverkeithing Bay south of the town centre at Inverkeithing Harbour.
Inverkeithing lies on the Fife Coastal Path, a long-distance footpath designated as one of Scotland's Great Trails. Coming from North Queensferry, the path winds around the Inner Bay, through Inverkeithing town, by Ballast Bank park, and past a small sandy beach. The Fife Pilgrim Way also passes through Inverkeithing.
Fairykirk is a woodland and shrubland in Inverkeithing, part of the Ferryhills nature protected area.
History
Early history Neolithic finds from Inverkeithing include stone axe heads, which suggests people were clearing woodland in Inverkeithing during the fourth millennium BC. The discovery of a collared urn indicates burial activity in the second millennium BC.
There is evidence that during the Roman conquest of Britain, Roman governor Agricola established an encampment in the area between AD 78–87 during his war against the Caledonians, and that Roman Road is of Roman origin. Archaeological finds in Inverkeithing include a bronze Roman coin dating from AD 218–222 and a roman urn.
According to legend, in the 5th century St Erat, a follower of St Ninian, is said to have founded a church in Inverkeithing.
The Inverkeithing stone, a Pictish standing stone depicting a hunt and a mythical beast, indicates a Pictish presence in Inverkeithing around the 8th or 9th century.McEwan, B and Amos, J. (1995). Abbot House. [Dunfermline]. pp. 21. PDF: https://royaldunfermline.com/Resources/abbot_house.pdf [accessed 11.06.2026].
Medieval Inverkeithing (12th to 16th centuries)
Inverkeithing is first documented in 1114, when it is mentioned in the foundation charter of Scone Abbey granted by Alexander I. Inverkeithing is mentioned as an existing burgh Royal burgh in 1159, making it among the oldest in Fife. This brought legal and trading privileges. The settlement was an obvious choice to be created a burgh, as its location at the narrowest crossing point of the Firth of Forth and its sheltered bay were both strategically important.
Throughout much of the Middle Ages, Inverkeithing was an important staging post for pilgrims. Travellers on their way to the shrines of Saint Margaret and Saint Andrew would stop in the town after crossing the Firth of Forth; a charter of Pope Alexander in 1163 refers to "the passage of Inverkeithin", suggesting the north end of the Queensferry Passage was once located in Inverkeithing.P. Dean and C. Dean. Passage of Time. (1981). The Brae: North Queensferry. pp. 4. A hostel for pilgrims in Inverkeithing is documented as a possession of Dryburgh Abbey in 1196. A Franciscan friary, Inverkeithing Friary, was established in the 14th century.Inverkeithing's medieval church was first built by Waltheof of Allerdale, who gifted it to Dunfermline Abbey in 1139. The parish church was later completed in stone and consecrated to St Peter by Bishop David de Bernham on 24 August 1244. The church hosted the decisive hearing of the Scottish Catholic-Culdee dispute in 1250, which strengthened Roman Catholic authority in Scotland.
Inverkeithing was the last place Alexander III visited before his death on 19 March 1286. After crossing the Firth of Forth on his way to visit Queen Yolande at Kinghorn, he ignored advice to remain in Inverkeithing overnight and continued his journey in poor weather. He was found dead near Kinghorn the following day, having apparently fallen from his horse.
At the advent of the First War of Scottish Independence, in August 1296, 13 burgesses of Inverkeithing swore fealty to Edward I of England. Edward I stayed in the town on 2 March 1304. In autumn 1316, Robert the Bruce issued royal charters from Inverkeithing, showing full Scottish administration had returned.Simpson, Stevenson (1981). Historic Inverkeithing: the Archeological Implications of Development. Glasgow: University of Glasgow. In 1320, Bruce sentenced Roger de Mowbray, baron of Inverkeithing, to death for treason for his support of John Bailiol during the war, causing the town to be forfeited to the Crown.
Inverkeithing played a role in Scottish royal and political affairs during the Middle Ages. In April 1354 the Parliament of Scotland met at Inverkeithing and discussed the terms of David II's return from captivity following the Battle of Neville's Cross. Similarly, in 1423 Inverkeithing was where the Duke of Albany arranged for James I's return from captivity in England. The town was a frequent residence of David I and a favourite residence of Annabella Drummond, Queen of Scotland from 1390 to 1401.Roberson, Rev. Andrew. Inverkeithing, County of Fife. OSA, Vol. X, 1794
In 1487, an Act of Parliament during the reign of James III specified that the Convention of Royal Burghs would be held annually in Inverkeithing. Evolving in parallel to the Parliament of Scotland, the Convention was an important representative assembly of trading towns. It is unclear how many meetings were held at Inverkeithing before the Convention moved to Edinburgh in 1552.
Inverkeithing was granted a charter for holding Saint Luke's fair in the 14th century by Robert II.Alma Calderwood, Acts of the Lords of Council, 1501–1503 (Edinburgh: HMSO, 1993), p. 214. Inverkeithing Lammas fair is first recorded in 1503, and Inverkeithing's Highland Games are first recorded in 1646.MacGregor, Gavin (2024). Inverkeithing Archeology and Development Burgh Survey (1st ed.). Kinghorn: Fife Council. . In the 16th century, Inverkeithing traded in wool, fleece and hides, and served as a hub of commerce for Fife with weekly markets. From the Middle Ages, Inverkeithing's ships traded with ports in the Baltics, Germany and the Low Countries.Johnson, Rev. J. (1981). Inverkeithing past and present (1st ed.). Dunfermline: West Fife Educational Trust.
Inverkeithing was one of the few Scottish burghs to have four stone gates, known as "ports". Inverkeithing town walls were built in 1557.
Early modern Inverkeithing (17th to mid-18th centuries) The Inverkeithing witch hunt took place between 1621 and 1655, during which at least 51 people were executed for witchcraft in the town. The executions were carried out at Witch Knowe to the south of town. Walter Bruce, minister of Inverkeithing from 1641 to 1673, played a pivotal role in initiating the Great Scottish witch hunt of 1649–50.S. MacDonald, Threats to a Godly Society, the Witch-hunt in Fife, Scotland 1560–1710, D. Phil thesis, University of Guelph (1997), pp. 198–199.
On 20 July 1651, the Battle of Inverkeithing was the last major engagement of the Wars of the Three Kingdoms and led to the Kingdom of Scotland passing into Oliver Cromwell's control. It was an attempt by the English Parliamentarian forces to outflank the army of Scottish Covenanters loyal to Charles II at Stirling and get access to the north of Scotland. Cromwell's 4,500 troops defeated a Scottish force of roughly equal size. Of the estimated 800 MacLean clansmen who fought in the battle, 35 were said to have survived. General George Monck of the Parliamentary army occupied Inverkeithing following the battle, and permitted his soldiers to plunder the town; many houses were burned down.
On 20 October 1706, Inverkeithing town council unanimously petitioned Parliament against the proposed Treaty of Union, however its representative, James Spittle, subsequently voted to ratify the treaty.Andrews, S. (1896, April 4). Visit of Edinburgh Architectural Association: Inverkeithing notes. The Dunfermline Journal. Following Union in 1707, Inverkeithing lost its separate Parliament of Scotland constituency and became part of the Stirling Burghs constituency in the Parliament of the United Kingdom. Electoral malpractice in 18th century Inverkeithing was notable during the 1760 Inverkeithing Provostship election and the 1796 Stirling Burghs election.
Inverkeithing attracted national attention in 1707 with the Murder of Henry Stenhouse, a crime of passion in which Robert Balfour, Lord of Burleigh, murdered a local schoolmaster in the town.
Trade declined during the 17th century amid plague and war. In 1654, Joan Blaeu mentions Inverkeithing as "formerly a flourishing market". In 1710, Robert Sibbald wrote Inverkeithing "hath been a place of good resort".Sibbald, R. (1710) The history, ancient and modern, of the sheriffdoms of Fife and Kinross: with the description of both, and of the firths of Forth and Tay, and the islands in them; with an account of the natural products of the land and waters. Edinburgh: Printed by James Watson In 1724 Daniel Defoe found the town to be "still populous, but decayed, as to what it has formerly been", sentiments echoed by Sir William Burrell in 1758.