Most modern microinverters come with a warranty of 25 years, matching the lifespan of most modern solar panels. In comparison, a string inverter comes with a 10 to 12-year warranty.