Ocotepec was occupied by North American soldiers during the Mexican–American War in 1847. The church bells were melted for ammunition during the Mexican Revolution, and several residents of Ocoptepec were killed by federalist forces during the fighting. The bell tower was damaged during the September 19, 2017 earthquake.