Beneath our feet, the solid surface of the Earth is in constant, slow motion. The lithosphere—a layer of rigid rock about 100 kilometers thick—is broken into roughly a dozen major tectonic plates and several smaller ones. Driven by heat from the planet's interior, these plates drift, collide, and dive beneath one another. At their boundaries, stress builds over time. Earthquake science begins with understanding this stress: it is the key to explaining why the ground suddenly shakes.

Faults are the fractures where blocks of crust move relative to each other. Depending on the direction of movement, faults are classified as normal, reverse (thrust), or strike-slip. In each case, friction holds the fault locked until the accumulated strain overcomes that friction. The sudden release sends out seismic waves that travel through the Earth. The first waves to arrive are P waves, which compress and expand the material in their path. S waves follow, shaking the ground sideways. Surface waves, which travel along the Earth's crust, are slower but often cause the most destruction. The study of these waves is the foundation of seismology.

To measure an earthquake, scientists use seismometers—instruments that detect ground motion. A classic seismometer consists of a mass suspended from a spring or a hinge; when the ground shakes, the mass stays nearly motionless due to inertia, while the rest of the instrument moves with the ground. The relative motion is recorded as a wiggly line called a seismogram. Modern seismometers are sensitive enough to detect tremors thousands of kilometers away.

The size of an earthquake is quantified by magnitude, a measure of the energy released at the source. The Richter magnitude scale, developed in the 1930s by Charles Richter, was one of the first; it uses the amplitude of seismic waves recorded at a standard distance. However, the Richter scale saturates for very large earthquakes. Today, seismologists rely on the Moment Magnitude scale (Mw), which accounts for the fault area, slip, and rock rigidity. Moment magnitude provides a consistent measure for earthquakes of all sizes. Another important metric is intensity, which describes the effects on people and structures. The Modified Mercalli Intensity scale (MMI) uses Roman numerals from I (not felt) to XII (total destruction) based on observed shaking and damage. Unlike a single magnitude number, intensity varies with location.

Earthquake prediction remains one of the most elusive goals in science. A reliable prediction requires three elements: the date and time, the location, and the magnitude. Decades of research have shown that the processes leading to an earthquake are highly complex and chaotic. While foreshocks sometimes occur before a mainshock, many earthquakes have no identifiable foreshocks. Other possible precursors—such as changes in groundwater levels, radon emissions, or ground deformation—have been observed sporadically but do not appear consistently. Consequently, no method has proven reliable enough for short-term prediction.

Instead of trying to predict the exact moment, scientists focus on long-term seismic hazard assessments. These estimates use historical records, geological evidence of past earthquakes (such as trenching along faults), and GPS measurements of crustal deformation to calculate the probability of earthquakes over years to decades. A complementary approach is earthquake early warning (EEW) systems. These systems detect the first fast-moving P waves and send an alert before the slower, more destructive S waves and surface waves arrive. Depending on the distance from the epicenter, this can provide seconds to tens of seconds of warning—enough to slow trains, open elevator doors, and trigger automated shutdowns. While not a prediction, early warning is a powerful tool for reducing harm.

While we cannot prevent earthquakes, we can significantly reduce their damage through smart engineering and preparedness. Building codes in seismically active regions require structures to withstand strong shaking. Modern earthquake-resistant design uses techniques such as base isolation, where a building sits on flexible bearings that absorb seismic energy, and dampers that dissipate energy like shock absorbers. Retrofitting older buildings—adding steel braces or reinforced walls—can also save lives. Lifeline infrastructure such as bridges, hospitals, and power plants must be especially robust.

Land-use planning plays a critical role: avoiding construction on active fault traces and in areas prone to liquefaction—where saturated soil loses strength during shaking—minimizes risk. On the community level, preparedness saves lives. Drills like the 'Drop, Cover, and Hold On' protocol help people react instinctively during shaking. Emergency kits with food, water, and medical supplies, along with family communication plans, ensure resilience after the quake. Public education campaigns and building code enforcement are the most effective long-term strategies.