Atlapexco is a town and one of the 84 municipalities of Hidalgo, in central-eastern Mexico. The municipality covers an area of 84.8 km<sup>2</sup>.
As of 2005, the municipality had a total population of 18,769.