On average, homeowners might expect to invest anywhere from $15,000–$25,000 for a complete solar panel system replacement