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.


Spain dismantles one of Mediterranean's largest human smuggling networks
Thai teen kills 7 in rampage at home and school before shooting himself
Syria says bomb on minibus near Damascus wounded 14, deaths reported mistakenly
Spain hopes to transfer migrant minors to mainland within weeks
Morocco to cooperate on return of minors from Spain after Ceuta crossing
