Danderhall is a former mining community. One of the first railways between the collieries of Midlothian and Edinburgh ran through the small hamlet of Edmonstone here. This was named the ‘Innocent Railway’ on the basis that the line never suffered any fatalities.

The last deep coal mine at nearby Monktonhall colliery closed in 1998.

Nearby Shawfair has a growing business park and work has commenced on a £200 million project which will see a new community of 4,000 houses with ancillary facilities; the largest new urban development programme in Scotland.