Early-warning systems detect a quake that has already started and alert people seconds ahead of the shaking
This is detection, not prediction. Sensors near a fault catch the fast, harmless P-waves the instant a rupture begins, then send an alert that outruns the slower, damaging shaking. Systems like Japan's and California's ShakeAlert can buy seconds to minutes โ enough to stop trains, halt surgeries, and take cover.