The tremor was registered at 04:12 GMT with the epicenter located 64 kilometers (40 miles) to the south-east of Contamana city at the depth of 150.4 kilometers.
There are no reports about any victims or damages caused by the earthquake. The tsunami threat has not been issued.
Earlier this year, on August 24, Peru was hit by a 7.1 magnitute-earthquake; the tremor occurred near the country's border with Brazil.
More about: earthquake Peru