The study of the impact of solar activity on the Earth's climate is an important matter for predicting the change of climate elements for long periods. Most research has been limited to studying the relationship of sunspots with a change in one of the climate elements. In this research, the effect of the solar activities of coronal mass ejections and solar flare on a climatic element in the troposphere, represented by thunderstorms during the winter season in the city of Mosul for the 23 and 24 solar cycles, respectively, was studied. The data on coronal mass ejections were collected from the SOHO/LASCO CME Catalog database and solar flare data were taken from the website National Oceanic and Atmosperic (NOAA). Climatic data on thunderstorms for the winter seasons from the period (1996-2019) were used from the monitoring station in the city of Mosul from the Iraqi General Authority for Meteorology and Seismic Monitoring.The parameters were analyzed using the statistical program (Minitab 19.0). The results showed that there is an inverse relationship between the monthly rates of solar activities with the monthly rate of thunderstorm frequency, with the exception of the rising phase of the solar cycle 24 for the time period (2008-2013), where the results showed the existence of a positive relationship between them