A magnitude 6 earthquake struck in the sea off the northeast coast of Taiwan on Wednesday, the island's weather administration said, with no immediate reports of damage.
The quake briefly shook buildings in the capital, Taipei. The quake, some 20 km (12.4 miles) offshore from Yilan county, had a depth of 112 km (70 miles), the weather administration said.
Taiwan lies near the junction of two tectonic plates and is prone to earthquakes.
More than 100 people were killed in a quake in southern Taiwan in 2016, while a 7.3 magnitude quake killed more than 2,000 people in 1999.

US strikes Iran in response to attack on cargo ship in Strait of Hormuz
Venezuela quake toll tops 900, search intensifies for hundreds trapped
Germany hit by record temperatures as heatwave moves east
Israel, Lebanon sign framework peace deal after US-mediated talks
Rescuers comb Venezuelan quake rubble, thousands reported missing
