The death of two people by drowning occurred on Saturday on a beach located in the Lambayeque region, Peru's National Institute of Civil Defense (Indeci) said in a statement.
The underwater volcano off Tonga erupted on Saturday, prompting tsunami warnings and evacuation orders in Japan and causing huge waves on several South Pacific islands, where images on social media show waves crashing against homes on the shores.
More than 20 Peruvian ports were temporarily closed as a precautionary measure amid warnings that the volcano was causing abnormally high waves, Indeci said.
The Peruvian police said on Twitter that the two victims were found dead by officers from a Naylamp beach police station. The tweet said "the waves were abnormal" in the area and that it had been declared unsuitable for bathers.
TV images showed several homes and businesses flooded by seawater in coastal areas in northern and central Peru.
The Peruvian Navy had reported that a tsunami alert was ruled out for the Pacific Coast country.
In Japan, hundreds of thousands of people were advised to evacuate on Sunday as waves of more than a meter hit coastal areas, public broadcaster NHK reported.
The footage on social media showed large waves crashing into coastal homes in several South Pacific islands.