It’s hot. Fans and air conditioners are humming in homes, offices, commercial buildings, and factories. July is the most electricity-intensive time of year in the U.S., and the grid is working hard to keep up.

In many places, high electricity demand equals high pollution. That used to be true in New Mexico, but the state’s electricity supply flipped from majority climate-warming fossil fuels to majority renewables in just five years. Spurred by an ambitious clean energy law called the Energy Transition Act, utilities have been busy building solar panels, wind turbines, batteries, and transmission lines. A major coal plant was retired and demolished. Solar panels proliferated on homes, schools, and businesses.

And even while New Mexico was building out its clean energy future, electricity prices remained cheaper than average.

A case study in cleaner electricity

New Mexico’s largest utility is the Public Service Company of New Mexico, or PNM. Only five years ago, most of PNM’s cooling needs were met by coal and gas, which made up 83% of its electricity generation in July 2021.