SACRAMENTO, Calif. — Beginning around 12:15 a.m., Pacific Gas & Electric Company (PG&E) started shutting off power to customers in parts of Northern California and the Bay Area.

Just after 2 a.m., more than 220,000 customers were listed on PG&E’s power outage map.

In a press release sent out just before 2 a.m., PG&E said the shutoffs will roll out in three phases. The first phase began just after midnight Wednesday, with approximately 513,000 customers affected, according to the press release.

The counties shutoff in the first phase were: Amador, Butte, Calaveras, Colusa, El Dorado, Glenn, Humboldt, Lake, Marin, Mendocino, Napa, Nevada, Placer, Plumas, Shasta, Sierra, Solano, Sonoma, Tehama, Trinity, Yolo and Yuba.

The second phase will begin around noon, affecting approximately 234m000 customers in Alameda, Alpine, Contra Costa, Mariposa, San Joaquin, San Mateo, and Santa Clara counties.

The final phase is still under consideration in PG&E’s southernmost service area, impacting approximately 42,000 customers.

Bottled water and batteries were flying off the shelves at California stores as millions of customers prepared to live without electricity for days in the face of what Pacific Gas & Electric called an unprecedented wildfire danger.

The utility announced that it was shutting off power to 800,000 customers in 34 northern, central and coastal California counties beginning as early as midnight Wednesday to reduce the chance of fierce winds knocking down or toppling trees into power lines during a siege of hot, dry, gusty weather.

RELATED: PG&E power shutoffs resources | Need to know

Gusts of 35 to 45 mph were forecast to sweep a vast swath of the state, from the San Francisco Bay area to the agricultural Central Valley and especially in the Sierra Nevada foothills, where a November wildfire blamed on PG&E transmission lines killed 85 people and virtually incinerated the town of Paradise.

The California Department of Forestry and Fire Prevention said it increased staffing in preparation for extreme fire weather.

The winds will be the strongest and most widespread the region has seen in two years, and given the scope of the danger, there was no other choice but to stage the largest preventive blackout in state history, PG&E said.

"This is a last resort," said Sumeet Singh, head of the utility's Community Wildfire Safety Program.

Tap here for a look at the live PG&E outage map.

However, people should be outraged by the move, Gov. Gavin Newsom said. "No one is satisfied with this, no one is happy with this," he said.

The utility needs to upgrade and fix its equipment so massive outages aren't the norm going forward, he said.

It could take as many as five days to restore power after the danger has passed because every inch of power line must be checked to make sure it isn't damaged or in danger of sparking a blaze, PG&E said.

The news came as residents in the region's wine country north of San Francisco marked the two-year anniversary of deadly wildfires that killed 44 and destroyed thousands of homes. San Francisco is the only county in the nine-county Bay Area where power will not be affected.

RELATED: These schools will be closed due to PG&E power shutoffs

To the south, Southern California Edison said more than 106,000 of its customers in parts of eight counties could face power cuts as early as Thursday as Santa Ana winds loomed.

The cutbacks followed a game plan instituted after deadly wildfires — some blamed on downed PG&E transmission lines — destroyed dozens of lives and thousands of homes in recent years and forced the utility into bankruptcy over an estimated $30 billion in potential damages from lawsuits.

PG&E planned to shut down power to about 500,000 customers between midnight and 4 a.m. Wednesday, starting northward and following the winds south, expanding the outage as weather required it.

But the outages weren't limited to fire-prone areas because the utilities must turn off entire distribution and transmission lines to much wider areas to minimize the risk of wildfires.

Classes were cancelled for thousands of schoolchildren and at the University of California, Berkeley, Sonoma State University and Mills College.

The California Department of Transportation said it was installing generators to avoid closing the Caldecott Tunnel linking the East Bay to San Francisco and the Tom Lantos Tunnel on State Route 1 in Pacifica.

"The tunnels can't operate without power," Caltrans tweeted.

PG&E had warned of the possibility of a widespread shut-off Monday, prompting residents to flock to stores for supplies as they prepared for dying cellphone batteries, automatic garage doors that won't work and lukewarm refrigerators.

"We sold out of lanterns this morning. The shelf is completely empty," said Howard Gibbs, the manager at Ace Hardware in the town of Lafayette, 20 miles east of San Francisco. "We've got just a few flashlights left, and we're down to our last couple propane tanks, too."

Residents of the Sonoma County city of Cloverdale, population 9,300, were preparing for the possibility of zero power and downed internet and cellphone lines, as happened during the wine country fires. Cloverdale homes were not burned then, but residents were worried sick over family in burn zones and in the dark without communications, Mayor Melanie Bagby said.

She accused PG&E of failing to upgrade its equipment.

"It's inexcusable that we're in the situation that we're in," she said. "We pay our bills, and we gave PG&E a monopoly to guarantee we would have" reliable power.

Tap here for a look at the live PG&E outage map.

But Santa Rosa Mayor Tom Schwedhelm said he was grateful PG&E was taking proactive action. His city lost 5% of its housing in the 2017 Tubbs Fire, which killed 22 and torched nearly 6,000 structures in Sonoma and Napa counties. State investigators determined the fire was sparked by a private electrical system, and was not the fault of PG&E.

"I'd much rather do this than address what we had to address two years ago," he said.

Hospitals would operate on backup power, but other systems could see their generators fail after a few days. Outages even posed a threat that fire hydrants wouldn't work at a time of extreme fire danger.

The East Bay Municipal Utility District serving Alameda and Contra Costa counties, recently spent $409,000 to rent 29 backup generators for use beginning at noon Wednesday.

"The backup generators that we have are stationed at the pumping plants, which pump water to the fire hydrants," spokeswoman Andrea Pook told the San Francisco Chronicle. "The local tanks have been filled as much as we can, and we have made sure the generators are ready to go."

Counties activated their emergency centers and authorities urged people to have supplies of water for several days, to keep sensitive medicines such as insulin in cool places, to drive carefully because traffic lights could be out, to have a full gas tank for emergencies and to check the food in freezers and refrigerators for spoilage after power is restored.

PG&E set up about 30 community centers offering air conditioning, restrooms, bottled water and electronic charging stations during daylight hours.

READ MORE PG&E CONTENT: 

PG&E offers a tool that allows people to find out if a public safety shutoff would impact their area by entering their zip code.

Oakland Mayor Libby Schaaf asked residents Tuesday not to clog 911 lines with non-emergencies and urged people to be prepared. The city canceled all police officers' days off in preparation for the outages.

"We all know the devastation that fires can cause," she said.

In 1991, a grass fire torched the Oakland Hills, killing 25 people and destroying more than 3,000 homes.

PG&E said it was informing customers by text and email about where and when the power would be cut. But its website, where it directed people to check whether their addresses would be affected, was not working most of the day Tuesday after being overloaded with visitors.

At the Dollar General store in Paradise, people were buying candles, gas cans, ice, flashlights, batteries and canned food, and the store ran out of ice chests Tuesday morning, manager Ben Humphries said.

Humphries, who moved to Oroville with his family after losing his home in Paradise, said there was a sense of irony to PG&E's aggressive action in the area now, after the company opted not to turn off the power ahead of the Nov. 8 fire that wiped out Paradise.

"I understand their concerns. But in my opinion, it's too little too late. We already had our town burned to the ground," Humphries said.

Resource centers are open in the following counties:

  • Butte County: Oroville Bird Street School, 1421 Bird Street, Oroville 95965
  • Butte County: Magalia, 14144 Lakeridge Court, Magalia 95954
  • El Dorado County: Placerville, El Dorado Fairgrounds 100 Placerville Drive, Placerville 95667
  • Lake County: Clear Lake, Clearlake Senior Center 3245 Bowers Avenue, Clearlake 95422
  • Napa County: Napa, 1001 Fairgrounds Drive, Vallejo 94589
  • Napa County: Calistoga, Calistoga Fairgrounds 1601 N. Oak Street, Calistoga 94515
  • Santa Clara County: San Jose, Avaya Stadium 1123 Coleman Avenue, San Jose 95110
  • Nevada County: Grass Valley, Sierra College Grass Valley 250 Sierra College Drive, Grass Valley 95945
  • Contra Costa County: San Ramon, Bishop Ranch Parking Lot – 2600 Camino Ramon, San Ramon 94583
  • Calaveras County: Arnold, Meadowmont Shopping Center - 2182 HWY 4, Arnold 95223
  • San Mateo County: Half Moon Bay, Pasta Moon Restaurant, 845 Main Street, Half Moon Bay 94019
  • Placer County: Auburn, Gold Country Fairgrounds 1273 High Street, Auburn 95603
  • Shasta and Tehama counties: Redding, Cottonwood, and Red Bluff, Shasta College, 11555 Old Oregon Trail Redding 96003
  • Solano County: Vacaville, Mission Church 6391 Leisure Town Road, Vacaville 95687
  • Sonoma County: Santa Rosa & Sonoma, Santa Rosa Veterans Memorial Building 1351 Maple Avenue, Santa Rosa 95404
  • Alameda County: Oakland, Merritt College LOT B – Leona Street, Oakland 94508
  • Tuolumne County: Sonora, Mother Lode Fairgrounds 220 Southgate Drive, Sonora 95370
  • Santa Cruz County: Aptos, Twin Lakes Church 2701 Cabrillo College Drive, Aptos 95003
  • Amador County: Pioneer, Mace Meadows Golf Course, 26570 Fairway Drive, Pioneer 95666
  • Mendocino County: Ukiah, 1775 N. State Street, Ukiah 95482
  • Yolo County: Winters, Next to PG&E Gas Academy - Intersection of E. Grant Avenue & Timber Crest Road, Winters 95694
  • Colusa and Glenn counties: Williams & Orland, 839 Newville Road, Orland 95963
  • Mariposa County: Coulterville, Coulterville Fire Dept. - 10293 Ferry Road, Coulterville 95311
  • Sierra County: Sierra City, Loganville Campground parking lot - HWY 49, Sierra City 96125
  • Stanislaus County: Westley, Westley Hotel - 8615 CA-33, Westley 95387
  • Plumas County: La Porte, 2140 Main Street, La Porte 95981
  • El Dorado County: El Dorado Hills, Rolling Hills Christian Church 800 White Rock Road, El Dorado Hills 95762
  • Yuba County: Oregon House, 9185 Marysville Road, Oregon House 95962

FOR NEWS IN YOUR COMMUNITY, DOWNLOAD THE  ABC10 APP:

Download on the App StoreGet it on Google Play

Stay In the Know! Sign up now for ABC10's Daily Blend Newsletter

WATCH ALSO: 5 hacks to get you through a power outage