The colliery village was established by Archibald Hood, mining engineer and entrepreneur, who developed the Whitehill Colliery from 1856, which was located on the south-western edge of the village. He began a new shaft at the colliery in 1878, built railways for the mines and erected well-designed houses for the miners, and also encouraged the establishment of a Co-operative Retail Society. In 1890 he amalgamated his company with the mining interests of the Marquess of Lothian to form the Lothian Coal Company. The colliery was named after Whitehill House to the east and was also known as Rosewell. On 1 January 1947 the National Coal Board took over the colliery from the Lothian Coal Company, when mines in Britain were nationalised. The colliery had 3 deep shafts and one surface mine. It reached peak production in 1950, but closed in 1961. Archibald Hood lived at Rosedale in the south of the village, which is now a category C listed building. This is a mid 19th century two storey gabled house which was later used by the Lothian Coal Company as a house for its managers, in particular his son James Archibald Hood. The Rosewell Institute, in Carnethie Street, was built for the Lothian Coal Company as a miners' institute in 1917. The Institute was built on an impressive scale with finely detailed sandstone features. Rosewell was served by a railway station lying between Rosewell and Hawthornden. The station opened in 1855 under the name Hawthornden, but was renamed Rosewell and Hawthornden in 1928. It was served by the Peebles Railway, a branch line of the Waverley Line. Services ran from Peebles to Waverley Station in Edinburgh. The station was closed in 1962 but the line remained in use for goods traffic until 1967, although the colliery had already closed by then.
Rosewell is served by Lothian Buses. Service 49 runs every 20 minutes but, as it also serves Bonnyrigg and Dalkeith, it takes over an hour to get into central Edinburgh. The X31 serves Rosewell early mornings and evenings. There is also a small and local private hire company. For walkers the Penicuik–Dalkeith Walkway passes close by.
Churches
The village has two churches, Rosewell Parish Church and St Matthew's Roman Catholic Church. Rosewell Parish Church was built 1871-72 and opened for worship in 1874, when Rosewell became a separate ecclesiastical parish. The population of this new quoad sacra parish was recorded as 1,394 in 1881. In 2008 Rosewell Parish Church was formally re-united with Lasswade Church, forming Lasswade and Rosewell Parish Church.
Whitehill House
Situated half a mile south-east of the village, the category A-listed Whitehill House is a large Tudor-Jacobean revival house designed by David Bryce and William Burn, built 1844 as a home for Wardlaw Ramsay, proprietor of the nearby Whitehill Colliery. The house was later acquired by the engineer Archibald Hood. In World War I it was used as a Red Cross hospital. Until the late 1990s, Whitehill House was run by nuns of the Daughters of Charity of Saint Vincent de Paul as St. Joseph's Hospital for children with learning disabilities. It was visited by Pope John Paul II when he came to Scotland in 1982. It is now privately owned and has a 20-hole golf course in its grounds. A number of exclusive houses have also been built.