The quake knocked down about 50 homes and cut off roads and power in the southern Arequipa region.
The governor of Arequipa, Yamila Osorio said on the radio that three people were reported killed in Achoma and six in another village, Yanque.
"It was tragic. They got wounded people out as best they could," said Yanque resident John Rivera on RPP radio.
"There were no lights, no beds. The electricity has got cut off. We still have water but we don't know what will happen next."
More From This Section
The epicenter was 10 kilometers from the city of Chivay, capital of Caylloma province, according to the Geophysical Institute of Peru.
Two aftershocks hit this morning.
The quake caused damage throughout an area of Arequipa called the Colca Valley, and several villages have been cut off.
"We felt a very strong tremor. It has caused devastation in the whole Colca valley," the mayor of Caylloma, Romulo Tinta, told RPP radio.
"We have no communication links between the surrounding villages," he added. "We are asking for heavy machinery to gain access."
"We are taking aid to Caylloma and the other districts affected by the earthquake," Peru's President Pedro Pablo Kuczynski said in a message on Twitter.