Musselburgh is the largest settlement in East Lothian, Scotland, on the coast of the Firth of Forth, five miles east of Edinburgh city centre. It has a population of 21,100.