A mainshock is the largest earthquake in a sequence of related earthquakes occurring along the same fault. It releases more energy than any of the smaller events that come before it (foreshocks) or after it (aftershocks), and it defines the entire sequence. When you hear about a major earthquake in the news, you’re hearing about the mainshock.
How a Mainshock Relates to Foreshocks and Aftershocks
Earthquakes rarely happen in isolation. They tend to cluster in sequences, and seismologists divide these sequences into three categories: foreshocks, the mainshock, and aftershocks. The mainshock is simply the biggest one. Everything smaller that came before it is reclassified as a foreshock, and everything smaller that follows is an aftershock.
The tricky part is that you can’t identify a foreshock while it’s happening. There’s nothing about its seismic signature that distinguishes it from any other small earthquake. It only becomes a “foreshock” in hindsight, once a larger mainshock follows. Globally, somewhere between 15% and 43% of large mainshocks are preceded by at least one detectable foreshock, depending on how the analysis is done. When researchers narrow that to foreshocks relatively close in size to the mainshock, the range drops to 13% to 26%. Most large earthquakes, in other words, strike without a recognizable warning event.
Aftershocks are far more predictable. A large mainshock is typically followed by hundreds or even thousands of smaller earthquakes. The 2019 magnitude 7.1 Ridgecrest, California, mainshock produced nearly 26,000 cataloged aftershocks in the first 50 days alone. Sensitive borehole instruments detected continuously overlapping tiny aftershocks for at least 80 days, many too small to show up on standard seismograms.
What Happens Inside the Earth During a Mainshock
A mainshock occurs when stress along a fault overcomes the friction holding the rock in place, and the fault slips suddenly. Tectonic plates are constantly pushing against each other, and friction along the fault locks it in place for years, decades, or centuries. Stress builds until something gives. When it does, the stored energy is released as seismic waves that radiate outward from the rupture.
The amount of energy released can be enormous. During the 2011 magnitude 9.1 Tohoku earthquake off Japan, the mainshock didn’t just release the stress that had built up from plate motion. It actually overshot, releasing so much energy that the direction of stress on the fault reversed. Before the quake, the fault was being squeezed in the direction of plate subduction. Afterward, the stress flipped to the opposite direction. That overshoot produced the massive displacement along the shallow portion of the fault that triggered the devastating tsunami.
This overshoot phenomenon illustrates something important: a mainshock isn’t simply a gradual release of pressure. It’s an abrupt, sometimes extreme mechanical failure that can reshape the stress environment across an entire fault system.
What a Mainshock Looks Like on a Seismogram
If you’ve ever seen a seismogram, the pattern of a recorded earthquake is distinctive. It starts with a faint tremor, then a sudden, sharp spike, followed by a long, gradually fading tail. That initial faint signal comes from the fastest-moving seismic waves (called P-waves), which compress and expand the rock ahead of them like sound waves moving through air. The sharp spike that follows is the main energy arrival, carried by slower but more powerful waves that shake the ground side to side and up and down. These secondary waves hit like an abrupt wall, producing the violent shaking people feel during a large earthquake.
A mainshock produces the same types of waves as any other earthquake. What sets it apart is simply scale: the amplitude of the waves is far greater, the rupture area is larger, and the duration of shaking is longer.
How Mainshock Size Is Measured
The magnitude number you see in news reports for large earthquakes almost always comes from the moment magnitude scale, not the older Richter scale. Moment magnitude accounts for what physically happens during the rupture: how much the fault slipped, how large the area of the break was, and how rigid the surrounding rock is. The Richter scale, by contrast, relies on the amplitude of waves recorded on a single type of seismograph and becomes unreliable for very large earthquakes because it saturates, essentially topping out and failing to distinguish between a magnitude 7 and a magnitude 9.
Moment magnitude doesn’t have this limitation. For earthquakes below about magnitude 7, both scales give similar numbers. Above that threshold, moment magnitude provides a more accurate picture of total energy released, which is why it has become the standard for measuring significant mainshocks worldwide.
How Aftershocks Taper Off After a Mainshock
Aftershock activity follows a well-established pattern known as the modified Omori’s law: the rate of aftershocks decays rapidly at first, then more slowly over time. In the hours after a mainshock, aftershocks may come in rapid clusters. Within days, the rate drops significantly. Within weeks to months, the sequence winds down, though occasional aftershocks can continue for years after very large mainshocks.
Another reliable pattern, called Båth’s law, describes the size relationship: the largest aftershock in a sequence is typically about 1.2 magnitude units smaller than the mainshock. So a magnitude 7.0 mainshock will usually produce a largest aftershock around magnitude 5.8. This isn’t a hard rule, but it holds remarkably well across different fault systems and regions.
Why Aftershocks Are Dangerous for Damaged Structures
The mainshock does the most damage in a single event, but the story doesn’t end there. Buildings and infrastructure weakened by the mainshock lose stiffness and strength, making them significantly more vulnerable to aftershocks that would have caused little damage to an intact structure. A building that survived the mainshock with moderate damage may collapse during an aftershock that carries a fraction of the original energy.
This cumulative effect is a major concern for engineers and emergency managers. The probability of severe damage or collapse during an aftershock rises in proportion to how much damage the structure sustained in the mainshock. It’s one of the key reasons authorities restrict re-entry to damaged buildings even after the main event has passed, and why seismic building codes increasingly account for the full mainshock-aftershock sequence rather than treating each event in isolation.

