California's population fell by 500,000 people between April 2020 and July 2022 as residents fled the state in droves to find greener pastures.

Census data showed migration out of the state surpassed those coming into the state by more than 700,000 throughout the two-year period, according to the Los Angeles Times. California's major cities have been plagued with homelessness, crime and skyrocketing housing costs, causing many residents to flee to nearby states like Utah, Nevada and even Texas.

Despite the shrinkage, California remains the most populated U.S. state with some 38 million residents.

Only New York came close to matching California's exodus, with the Empire State losing roughly 485,000 residents between 2020 and 2022.

I TALKED TO TWO EX-HOMELESS PEOPLE ABOUT NEWSOM'S 'INVESTMENT' IN HOMELESSNESS. THEIR ANSWERS WILL SHOCK YOU

Gavin Newsom speaking at bill signing ceremony.

Democratic California Gov. Gavin Newsom has presided over a mass exodus of residents from his state. (Justin Sullivan/Getty Images)

A street in San Francisco

Tents and homeless people line the street near the San Francisco City Hall. (Tayfun Coskun/Anadolu Agency via Getty Images)

CALIFORNIA DA CALLS NEWSOM A ‘MENACE TO PUBLIC SAFETY’ IN ESCALATING WAR OF WORDS OVER POLICE OFFICER'S DEATH

Californians who remain in the state are also likely to face frequent power outages and failures in the coming years as state leaders continue to push for renewable energy.

The state's grid is undergoing a major shift from natural gas and coal power to renewable power like wind and solar. Simultaneously, state officials are pushing an electrification of the economy, particularly in the transportation sector through electric vehicle mandates, which is expected to increase pressure on the power grid.

"They're going to have to build an outrageous amount of wind and solar in a very short time if they want to accomplish their objectives of electrifying – our whole transportation sector and our whole home heating and cooling and residential sector," Edward Ring, a senior fellow with and co-founder of the California Policy Center, told Fox News Digital on Tuesday.

Wind turbines in Palm Springs, Calif.

California is pushing a drastic shift toward renewable energy that is likely to hurt consumers. (2013 Getty Images)

CLICK HERE TO GET THE FOX NEWS APP

"There's a burden to the consumer that's going to get very heavy," he continued. "Even if they can pull it off without blackouts, the burden to the consumer is going to be ridiculous." 

Fox News' Thomas Catenacci contributed to this report.