when did when did mexico become independent of spain?
Quick Answer. Mexico gained independence from Spain on Sept. 27, 1821. On Sept. 16, 1810, Miguel Hidalgo y Costilla declared independence from Spain by issuing the Grito de Dolores and launched the Mexican War of Independence. The war ended with the signing of the Treaty of Cordoba on Aug. 24, 1821.