It happens more often than you’d think: someone refers to "Guatemala City, Mexico" or asks if Guatemala is a major Mexican metropolis. Let’s set the record straight once and for all.
Guatemala is a sovereign country. Officially the Republic of Guatemala, it sits in Central America, bordered by Mexico to the north/northwest, Belize to the northeast, Honduras and El Salvador to the southeast, and the Pacific Ocean to the south.
Mexico is a separate sovereign country. Officially the United Mexican States, it occupies the southern portion of North America, bordering the U.S. to the north and Guatemala/Belize to the south.
Guatemala City (Ciudad de Guatemala) is the capital of Guatemala—not a city in Mexico. Major Mexican cities near the border include Tapachula, Tuxtla Gutiérrez, and Villahermosa.
The confusion may stem from shared history (both were part of the Spanish Empire, and briefly, the First Mexican Empire under Iturbide included Guatemala in 1821–1823), cultural ties, or simple geographic unfamiliarity. But politically, legally, and geographically: two distinct nations, two distinct capitals.