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 adds seven countries to full travel ban list
Indian parliament votes to allow private firms in nuclear power sector
Doctors in England start five-day walkout during flu surge
Israeli settler kills 16-year-old Palestinian in West Bank, mayor says
Paris' Louvre reopens partially but staff vote to extend strike