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 says US military strike killed leader of Venezuela's Tren de Aragua gang
US and Iran signal a peace deal is close
Qatar rejects media report on energy production decisions
Trump says Iran war deal close as Strait of Hormuz tensions linger
Victims' families mark Air India crash anniversary with prayers and tributes
Ebola outbreak spreads to crowded displacement camp in Congo
Fire breaks out at New Zealand's Wellington airport, disrupting flights
Ukraine and Russia trade overnight drone strikes, officials say
