How to calculate the cost of charging an EV ... Potential increased reliability. If you pair your panels with a solar battery, you’ll still be able to charge your car during blackouts.
It depends on your energy usage, where you live, what incentives you qualify for and whether or not you want a storage battery to go along with the panels. Solar panels typically last 25-30 years.