Dalgety Bay is a coastal town and parish in Fife, Scotland, on the north shore of the Firth of Forth, 9 miles from Edinburgh city centre. It is part of the Greater Dunfermline Area and is connected to Inverkeithing to the West. The civil parish is the 8th largest in Fife, with a population of 9,710 in 2020.