There should be a warranty on the component of your solar system, in addition to the workmanship of the installer.
1- The Panels. Panels are not meant to go bad easily. They are meant to last 40+ years! If they go bad it is very rare, and usually due to physical damage to the panel from a tree branch, a rock, a fall, or maybe a squirrel or racoon chewing the cable. Besides that a panel should not give you any issues. There are two warranties normally on a solar panel, one to cover the workmanship of the panel if it stops working and should cover the costs of replacement including labor, an the other is as an output guarantee to protect the buyer from unusual degradation of the panel. The standard warranty in the market is 10 years for workmanship, and a 25 year production guarantee. This is standard with all panel manufacturers and is not usually something you have to be cautious with.
2- The inverter. Now this part of your system is the most important warranty you should pay close attention to. Inverters have computer components, sensors, transistors, and hundreds of components in them which are not meant to last as long as the solar panel itself. Almost all central/string inverters come with a 10 year warranty. There is normally an extended warranty you can purchase on them, but usually not recommended, instead, it would just be smart to consider the fact that you will have to spend $2,000 to $4,000 to replace a central inverter between years 12 and 15. The most common string inverters used in the industry are SolarEdge, an Israeli company, or SMA an American company. Most solar installers in the market use SolarEdge string inverters because it is much more cheaper cost wise, and easier to install, compared to micro-inverters, which is the second type of inverter you could get. Enphase Energy is the most common micro-inverter product on the market and is an American company. Enphase provides a 25 year warranty which will cover labor and parts for replacement for the entire 25 year period, and what’s even better about this technology, is if any issues occur with your system it can be remotely diagnosed. This minimizes future maintenance costs if any problems arise which can cost up to $200/hr for an electrician to come out and diagnose your system.
3- The Workmanship. The workmanship is going to cover any and all work directly related to the solar install on your home by the installer. Workmanship warranties for solar typically are for 10 years. This includes any issues on your roof such as leaks or structural issues in the area where the solar system was installed. All the wiring on the roof, and conduit running from the roof to your breaker panel, breakers installed in your breaker panel, and all the mounting and rails, are all covered under the workmanship warranty.