Comonfort is a town and municipality located in the state of Guanajuato, Mexico. It was named in honor of Ignacio Comonfort, who served as a Mexican general and President. The municipality covers an area of 485.90 square kilometres.
The region is bordered by San Miguel de Allende to the north and northeast, the state of Querétaro to the east, and the municipalities of Apaseo el Grande, Celaya, and Santa Cruz de Juventino Rosas to the south and southwest. In 2018, Comonfort was officially declared a Pueblo Mágico.
According to the 2005 census, the municipality had a population of 67,642 inhabitants.