The federal solar tax credit allows you to deduct a percent of the cost of installing a solar energy system from your federal taxes.
Thanks to the stimulus bill that congress passed in early 2021, the tax credit has been extended at 26% for two more years! However, the rate will go down in 2023 and disappear altogether for the residential market in 2024.