The sun will cause the panels to degrade over time (.5% per year).  The panels are warrantied and made to last for 25 years, but will continue to produce energy after.  After the 25 years it may make sense to replace the old panels with new panels.