Mexico City is the capital of Mexico, a sovereign nation in North America. It is not a country itself. The confusion may arise from its size and global prominence, but politically and geographically, it is a federal district (Ciudad de México) within the United Mexican States.