Utility companies use a system called “net metering,” which allows them to credit homeowners who have solar energy systems. Essentially, with net metering, you only pay for the electricity that you use beyond what your solar panels generate. However, this differs from state to state, so make sure to inform yourself on net metering in California.