(Adds details, comment from authorities)
SAN SALVADOR, May 16 (Reuters) - A 5.7 magnitude earthquake off the coast off Central America shook buildings in El Salvador and Nicaragua's capital Managua on Thursday, prompting people to evacuate, but there were no initial reports of major damage.
The U.S. Geological Survey (USGS) said the quake struck some 39 kilometers (24.2 miles) west-southwest of Jiquilillo, Nicaragua, at a depth of 71 kilometers.
Jorge Melendez, director of civil protection in El Salvador said there were only scattered reports of minor damage.
"There is no major damage," he said.
The epicenter was near to where the land borders of El Salvador, Honduras and Nicaragua are at their closest point, and some buildings in Honduras were also evacuated, authorities said.
Authorities in El Salvador had earlier measured the quake at a preliminary magnitude of 6.2.
(Reporting by Nelson Renteria and Ismael Lopez; Editing by Bernadette Baum)
Our Standards: The Thomson Reuters Trust Principles.