There was, however, no immediate report of any casualty or damage to property.
The temblor, which struck at 5.00 a.m (Beijing Time), had its epicentre 70 km southeast of the headquarters of Yilan (or Ilan) county authorities and a depth of about 62 km, Xinhua reported.
The Beijing-based China Earthquake Networks Centre, however, said it was a magnitude-5.9 quake, with the epicentre located at 50 km below the surface.
Photos: Shah Rukh Khan, Deepika Padukone, Alia Bhatt at an awards show
Photos: Amitabh Bachchan, Iulia Vantur at Himesh Reshammiya's album launch
Photos: Aamir Khan with 'Dangal' actresses at fashion show
Spotted: Twinkle Khanna, Shriya Saran at an event in Mumbai
Andrew Flintoff's birthday: 10 players who entered different sports