Officials, however, feared the death toll could be much higher as rescue work peaks tomorrow morning.
Citing a statement issued by the China Earthquake Networks Centre (CENC), the state-run Xinhua news agency reported that the quake occurred around 9.19 PM (local time) and struck at a depth of 20 kilometres.
State-run television confirmed that five people were killed and more than 60 injured in the quake.
All the dead were tourists, it said.
More From This Section
At least 106 aftershocks were recorded as of 11 PM (local time), according to the CENC.
A total of 610 fire officers and soldiers, and eight sniffer dogs were dispatched to the scene after the quake, Xinhua reported.
The China Earthquake Administration has activated level-I emergency response procedures following the earthquake.
China has a four-level earthquake emergency response system, with level-I being the top.
Work teams have been sent to the affected area to carry out emergency operations, the local administration said.
An employee at the Jiuzhaigou National Park said homes had collapsed in one of the valleys, and buildings were being evacuated, according to a report.
Jiuzhaigou, or Jiuzhai Valley, is a national park known for spectacular waterfalls and karst formations. More than 34,000 people visited the tourist attraction today.
Photos posted on social media showed shattered windows, damaged walls and people standing out on streets.
Sangey, a staff worker with the popular Jiuzhaigou tourist site, told Xinhua over telephone that some houses in the scenic spot collapsed and authorities are organising young people to help evacuate residents.
Li Changyong, head of the Jiuzhaigou county health and family planning bureau, said the quake was strongly felt in the county seat, 35 km from the epicentre, and many residents rushed outside their buildings.
Yu said the power was cut off in her neighbourhood and quake disrupted telephone service linking the scenic area where some of her colleagues worked and lived.
The quake was also strongly felt in the provincial capital Chengdu, about 300 km south of the epicentre.
The quake also disrupted railway services. The Sichuan railway bureau suspended 14 trains.