The quake struck at 1:40 p.m. local time, with its center about 20 miles south of the capital, Lima. It registered 5.1 on the Richter scale, Peruvian media reported, but the U.S. Geological Survey said it registered at 4.6.
As the earthquake struck, people fled into the streets in panic, but there were no immediate reports of injuries or damage. On Monday, a magnitude 4.0 tremor hit at nearly the same location, and a 4.1 earthquake hit northern Peru Tuesday morning.
Peru is part of the so-called "Ring of Fire," which surrounds the Pacific, where as much as 85 percent of the world's seismic activity occurs.