Codnor is a village and civil parish in the Amber Valley district of Derbyshire, England. Codnor is a former mining village and had a population of 3,766 (including Cross Hill) taken at the 2011 Census. It is approximately 12 miles from Derby and 14 miles from Nottingham. Codnor forms a built up area with nearby Ripley.