Knowing these rules helps you avoid permit delays, protect your rights against an HOA, and make informed decisions about system sizing and battery storage. Every residential solar installation in California needs a building permit from the local city or county.