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.

Trump backs down on strikes on Iran's power network
ICE agents begin deploying at some US airports
Pilot, co-pilot killed after passenger jet hits fire truck at LaGuardia airport
Kuwait launches probe into espionage, state security cases
Trump, Iran threaten to escalate conflict with attacks on energy and water facilities
Fuel reservoir in Russia's Primorsk port on fire after drone attack, governor says
Ambulances from Jewish community organisation torched, UK police say
Israeli airstrikes kill four in Gaza, Palestinian officials say
