The Formartine and Buchan Railway was a railway company operating in the north-east of Scotland. It was built to link the important fishing ports of Fraserburgh and Peterhead with Aberdeen. It had a junction with the main line of the Great North of Scotland Railway (GNoS) at Dyce. Due to shortage of finance, the line was opened in stages as money became available. The section from Dyce to Mintlaw opened in 1861, and from there to Peterhead in 1862. The Fraserburgh line opened in 1865. The Company was never profitable, and it was heavily supported financially by the GNoSR; it was formally absorbed by that company in 1866.