Earthquake early warning systems like those in Japan and California detect the initial P-waves, which travel fast but cause little damage, and provide seconds to a few tens of seconds of warning before the destructive S-waves arrive. Seconds of warning are enough to stop trains, open firehouse doors, and protect people in vulnerable situations.