<p>Ammonia (NH<sub>3</sub>) is the most abundant alkaline compound in the atmosphere, with consequences for the environment, human health, and radiative forcing. In urban environments, it is known to play a key role in the formation of secondary aerosols through its reactions with nitric and sulphuric acids. However, there are only a few studies about NH<sub>3</sub> in Mexico City. In this work, atmospheric NH<sub>3</sub> was measured over Mexico City between 2012 and 2020 by means of ground-based solar absorption spectroscopy using Fourier transform infrared (FTIR) spectrometers at two sites (urban and remote). Total columns of NH<sub>3</sub> were retrieved from the FTIR spectra and compared with data obtained from the Infrared Atmospheric Sounding Interferometer (IASI) satellite instrument. The diurnal variability of NH<sub>3</sub> differs between the two FTIR stations and is strongly influenced by the urban sources. Most of the NH<sub>3</sub> measured at the urban station is from local sources, while the NH<sub>3</sub> observed at the remote site is most likely transported from the city and surrounding areas. The evolution of the boundary layer and the temperature play a significant role in the recorded seasonal and diurnal patterns of NH<sub>3</sub>. Although the vertical columns of NH<sub>3</sub> are much larger at the urban station, the observed annual cycles are similar for both stations, with the largest values in the warm months, such as April and May. The IASI measurements underestimate the FTIR NH<sub>3</sub> total columns by an average of 32.2 ± 27.5 % but exhibit similar temporal variability. The NH<sub>3</sub> spatial distribution from IASI shows the largest columns in the northeast part of the city. In general, NH<sub>3</sub> total columns over Mexico City exhibited an average annual increase of 92 ± 3.9 x 10<sup>13</sup> molecules/cm<sup>2</sup> yr (urban) and 8.4 ± 1.4 x 10<sup>13</sup> molecules/cm<sup>2</sup> yr (remote) was observed in Mexico City at both FTIR stations and a decadal increase of 62 % with IASI data.</p>