The USGS raised an earlier magnitude rating soon after the tremor struck 8.8 kilometers (5.5 miles) from Atiquipa district.
The Pacific Tsunami Warning Centre, which initially said there was no threat, later warned that waves of up to three metres were «possible along some coasts».
Want a Loan? Get cash against your Mutual Funds in 4 hours