By
The earthquake struck at around 4:47 pm (2247 GMT), 25 kilometers (16 miles) northwest of San Jose, the USGS said.
Local media reported that it was felt along the country's Pacific coast, and less strongly on the Caribbean side of the country.