Buildings shook in Taipei on Sunday as an earthquake of magnitude 6.5 struck northeastern Taiwan, but there were no reports of damage.
It had a depth of 66.8 km and could be felt across the northern and eastern parts of Taiwan, with the epicentre in Yilan county, the weather bureau added.
The Taipei metro was briefly closed for checks, but re-opened shortly afterwards. The state-run power operator said the grid was operating as normal.
Taiwan Semiconductor Manufacturing Co Ltd (TSMC) , the world's largest contract chipmaker, said it had evacuated some workers.
"Personnel at certain TSMC fabs in north Taiwan evacuated during the earthquake as per company procedure, and all safety systems functioned normally," it said in a brief statement.


Trump urges Iran to sign a deal and discusses prolonged blockade
Seven people die in hospital wall collapse in southern India
Putin puts forward ideas on Iran in call with Trump, Kremlin says
UK police arrest man after two stabbed in London's Jewish area
UAE and Azerbaijan hold Strategic Partnership talks in Baku