A 6.3 magnitude earthquake struck 34 km (21 miles) off Taiwan's eastern city of Hualien on Friday, the weather administration said, with no immediate reports of damage from what was the second strong tremor to hit the island in less than a day.
The quake also shook buildings in the capital Taipei. Authorities said subway services in the city continued at lower speeds.
"It was close," said Hsieh Yu Wei, a singer who pulled his car over the moment he received a government-issued quake warning while driving on a Hualien coastal highway.
The quake had a depth of 9.7 km, the weather administration said, and followed a 5.7 magnitude earthquake that struck off Taiwan's northeastern shore on late Thursday.
Weather officials have warned of the risk of landslides in mountainous areas following days of rain.
Taiwan lies near the junction of two tectonic plates and is prone to earthquakes.
In April, Hualien was hit by the biggest earthquake to affect Taiwan in at least 25 years. Nine people were killed and more than 900 injured.
President Donald Trump said on Sunday the US Navy would immediately start blockading the Strait of Hormuz, raising the stakes after marathon talks with Iran failed to reach a deal to end the war, jeopardising a fragile two-week ceasefire.
Russia and Ukraine accused each other on Sunday of breaching the 32-hour ceasefire in their four-year war, reporting more than a thousand drone and shelling attacks just hours after the truce began on Saturday to mark Orthodox Easter.
At least 30 people were killed on Saturday in a stampede at the Laferriere Citadel in the northern countryside of Haiti, authorities said, warning that the death toll could rise.
A cyclone battered New Zealand's North Island on Sunday, cutting power to thousands of residents and forcing hundreds to evacuate, as officials warned conditions would worsen through the day.
Negotiations between the United States and Iran appeared to have concluded for now, Iran's government has announced early on Sunday, after a series of talks in Pakistan to end the six-week war between Washington and Tehran.