Net metering, or net energy metering (NEM), is a billing system that credits small customers at the full retail electric price for any excess electricity they generate and sell to their local electric company via the grid from on-site small sources such as residential rooftop solar arrays.