According to seismologists, tremors were recorded at 19:24 UTC (22:24 Moscow time).
The epicenter was located 49.2 km east-southeast of the Panamanian city of David.
The outbreak lies at a depth of 19 km.
Earlier it was reported that an earthquake of magnitude 5.7 occurred off the coast of New Zealand in the Kermadec archipelago.