Plot
A Caltech seismologist, Dr. Lawrence Hayes, and his colleague Dr. Kim Park are at Hoover Dam to test a new earthquake prediction model when a previously unknown nearby fault ruptures and triggers a Mw 7.1 earthquake that collapses the dam. Park sacrifices himself to save a young girl and is swept away by the water.
Hayes discovers that the entire San Andreas Fault is shifting and will soon cause a chain reaction of massive earthquakes that will potentially destroy cities along the fault line. He begins racing to warn the population along with his students Alexi and Phoebe, reporter Serena Johnson, and her cameraman Dylan.
When a Mw 9.1 earthquake devastates Los Angeles, Ray Gaines, a chief rescue helicopter pilot of the Los Angeles Fire Department who is going through a divorce from his wife, Emma, finds himself rescuing her from a skyscraper in Los Angeles.
Meanwhile, their daughter Blake has been visiting San Francisco with Emma's new boyfriend, Daniel Riddick, who is a renowned engineer and builder. She meets Ben Taylor, a British engineer seeking employment at Daniel's firm, and Ben's younger brother, Ollie. As Daniel and Blake begin to drive out of the building, a similar magnitude earthquake strikes the city. Rubble from the collapsing parking garage pins her in Daniel's car. Daniel leaves Blake to find help, but then panics and ultimately abandons her in an act of cowardice. Ben and Ollie rescue Blake, take her to Chinatown, and call her parents for help.
Ray and Emma attempt to reach San Francisco in Ray's helicopter but it suffers a gearbox failure, which forces them to make an emergency landing at a shopping mall in Bakersfield. Amid chaos and looting, Ray steals a truck to continue the journey. The pair is waved down by an elderly couple whose car has broken down on the side of the road, stopping them from falling into the San Andreas Fault, which has torn a large fissure through the highway, creating a canyon that now extends into the far distance in both directions. Ray and Emma exchange the truck for a small airplane that the couple owns; as they fly toward San Francisco, they reminisce about their other daughter, Mallory, who drowned several years ago.
As Blake, Ben, and Ollie attempt to reach Nob Hill to signal them after finding their previous meeting point at Coit Tower engulfed in flames, Ray and Emma parachute into AT&T Park just before a Mw 9.6 quake hits, which becomes the largest recorded earthquake in history. As the quake subsides, having destroyed much of the city, Ray and Emma commandeer a boat to reach the group, only to realize that a tsunami is approaching San Francisco Bay. Alongside a handful of other survivors in boats and small ships, they cross the wave before it crests, barely avoiding a container ship caught up in the tsunami wave. The ship crashes into the Golden Gate Bridge's center span, killing everyone on the bridge, including Daniel, who is crushed by a falling shipping container.
The tsunami strikes the already ruined city, capsizing a cruise ship and killing thousands more. Blake, Ben, and Ollie enter the Gate, a building whose construction Daniel had been overseeing, but they are still caught by the tsunami. As the building begins to collapse, trapping Blake underwater, Ray dives in, rescues her, and performs CPR. Emma crashes the boat through a window and drives the five of them out of the collapsing building as Ray resuscitates Blake.
The survivors regroup at a relief camp on the other side of the bay, where the reconciled Ray and Emma talk about their future. On the remains of the Golden Gate Bridge, an American flag unfurls and gives hope that the city will recover and rebuild. Rescue vehicles descend on the destroyed landscape of the San Francisco Bay Area; the San Francisco Peninsula has been turned into an island and San Francisco Bay now extends from San Jose to Santa Cruz.