According to the U.S. Geological Survey, a 7.4 magnitude earthquake hit in the Pacific Ocean about 78 miles off the coast of El Salvador late Sunday night.
The earthquake struck 74 miles south of Usulutan, El Salvador, at a depth of 33 miles.
A tsunami warning was in effect for Costa Rica, Nicaragua, El Salvador, Honduras, Guatemala, Panama and Mexico.
But the Pacific Tsunami Warning Center said there is no tsunami threat to Hawaii.
There were no immediate reports of damage to coastal areas or to shipping.