Quick Answer: Quality batteries like GivEnergy and Fox ESS last 10-15 years with warranties included.
Modern lithium-ion batteries used in home solar systems are designed for longevity, with most quality systems lasting 10-15+ years.
Batteries are rated for a number of charge/discharge cycles. Quality batteries offer 6,000-10,000 cycles, equivalent to cycling once or twice daily for 15-20+ years.
Like all batteries, solar batteries gradually lose capacity over time. After 10 years, expect around 70-80% of original capacity remaining - still perfectly functional for typical household use.
Get local pricing and availability for solar panel installation