Climate change has emerged as a significant global challenge, with its impact increasing rapidly in recent decades. The consumption of fossil fuels, which leads to the emission of greenhouse gases like CO2, is a major contributor to climate change. Iran, ranked as the sixth most polluted country in the world, emitted a staggering 745 million tons of CO2 in 2020. Notably, the power plants sector in Iran accounts for roughly 30% of its total carbon emissions. As a result, the main objective of this paper is to engage in long-term planning for electricity supply and demand in Iran, aiming to reduce carbon emissions in line with the country's obligations under the Paris Agreement. To achieve this goal, we utilized the MESSAGE model to design an electricity generation system that takes into account the potential of renewable sources from 2021 to 2050. Additionally, the ARDL model was employed to estimate electricity demand under various scenarios, including subsidy reforms. These predictions were then incorporated into the long-term planning process for Iran's electricity supply system. The findings of the ARDL model highlight that the subsidy reform strategy leads to a 10% decrease in electricity demand throughout the planning period, indicating effective control over the demand side. On the other hand, the MESSAGE model's findings reveal that Iran's ability to fulfill its responsibilities under the Paris Agreement heavily relies on the utilization of renewable potentials across different regions in power supply planning. While carbon dioxide emissions in Iran's electrical sector are not expected to be reduced in the near future (2020 to 2030). However, in the long term (2040 to 2050), significant reductions in CO2 emissions can be achieved. According to the findings, if the electricity system in Iran is designed in accordance with a chosen scenario that incorporates green technologies and subsidy reforms, the share of renewable technologies can increase from 6% in 2020 to 15%, 50%, and 78% in 2030, 2040, and 2050, respectively. Consequently, carbon emissions in the power generation sector can be reduced by 20% and 54% in 2040 and 2050, respectively, compared to 2020 levels.