The Libyan city of Tripoli is home to many residents. Therefore, when using the CIMP6 climate models for the SSP 245 scenario that is appropriate and close to the current climate for the periods 2015-2019, 2020-2039, and 2040-2050, for both air temperature and carbon dioxide, that gas increases seasonally. Carbon dioxide in winter reaches 499.51PPM until the year 2050, as well as the increase in air temperature shown in its anomalies, which reaches 1.49 C0. Note that the increase in carbon dioxide gas is natural in winter becomes free in the air compared to summer, which is distinguished by the rise in temperature. Which causes air stagnation of pollutants, as well as the increase in human activity, which is shown in the two-dimensional correlation between air temperature and carbon dioxide. It increases in the summer and reaches 0.560 and 0.567 for the periods 2015-2019 and 2040-2050, respectively, and increases in the south of the city more than north of it due to its views of the sea, and the correlation decreases in the cold season to reach 0.295 - 0.337 for the periods 2015-2019 and 2040-2050, respectively