Barnton is an affluent district of Edinburgh, Scotland, located in the north-west of the city, between Cramond and Corstorphine Hill and west of Davidsons Mains. Part of the area was traditionally known as "Cramond Muir" in reference to Cramond to the north.