A strongly felt shook Panama and parts of Costa Rica on Wednesday, but there were no immediate reports of injuries or major damage.
The quake hit at 11:24 p.m. local time (1724 GMT, 1:24 p.m. EDT), sending panicked people running out of buildings in the Costa Rica port city of Golfito and knocking items from shelves in several southern towns.
The magnitude 5.7 quake was centered 58 miles (94 kilometers) west of David, Panama, more than 200 miles (300 kilometers) from San Jose, the Costa Rican capital, said the U.S. Geological Survey.
"It was pretty strong and caused a scare but so far we've only had calls to report minor damage from items falling," said Luis Madrigal of the Red Cross in the Costa Rican city of San Vito de Coto Brus, near the epicenter.
A magnitude 6.1 earthquake in January left 23 dead in Costa Rica.