Wirksworth is a market town in the Derbyshire Dales district of Derbyshire, England. Its population of 5,038 in the 2011 census was estimated at 5,180 in 2019. Wirksworth contains the source of the River Ecclesbourne. The town was granted a market charter by Edward I in 1306 and still holds a market on Tuesdays in the Memorial Gardens. The parish church of St Mary's is thought to date from 653. The town developed as a centre for lead mining and stone quarrying. Many lead mines were owned by the Gell family of nearby Hopton Hall.