There were no reports of injuries related to the shaking.
The 6.3 magnitude quake was centered about 30 miles south-southwest of the town of Piura at a depth of 6 miles, according to the U.S. Geological Survey.
Regional police officials said the cupola of one of the two bell towers of the Sechura Cathedral collapsed.
They added that there were also reports of landslides in nearby hills.
The quake was also felt in parts of neighboring Ecuador, according to Peruvian daily El Comercio.
Seismologists said the temblor was not related to northern Chile’s 6.7 magnitude quake, which jolted southern parts of Peru earlier in the day.