SAN FRANCISCO (KRON) — Caltrans announced Tuesday afternoon it was preparing to close down the Caldecott Tunnel in the East Bay and the Lantos Tunnel in Pacifica due to PG&E’s power shutoffs across the Bay Area.

In a drastic change of events, the transit agency said late Tuesday both tunnels will remain open during the power shutoffs.

The potential closures sparked confusion — but Caltrans confirmed just before 10 p.m., both Bay Area tunnels will remain open, despite previous reports.

The agency said crews will be working through the night to ensure the tunnels remain open to drivers.

>> Click here for a live traffic map.

As of 9:20 p.m., PG&E confirmed generators will be installed in the Caldecott Tunnel to keep the tunnel open to drivers.

The work will take an estimated 12 to 14 hours, Caltrans said.

The Lantos Tunnel was originally expected to close at noon on Wednesday, according to San Mateo County.

Earlier in the day, Caltrans said the full closure of the Caldecott Tunnel could began as soon as Tuesday night.

The agency said the tunnels cannot operate without power.

The transportation agency said it was working with PG&E to equip the tunnels with emergency power to keep the Caldecott Tunnel in operation.

The Caldecott Tunnel connects Contra Costa and Alameda counties along Highway 24.

The Lantos Tunnel is along State Route 1 in Pacifica.

The closures could last up to five days, Caltrans said.

BART is expected to remain operation during the power shutoffs.

This is developing, check back for updates