The quake’s epicenter was in western Costa Rica about 140 km (87 miles) from San Jose, the U.S. Geological Survey (USGS) said, and it was felt as far away as Managua, the capital of neighboring Nicaragua.
The Pacific Tsunami Warning Center issued a warning for Pacific coastlines from Mexico to Chile.