A 6.0 magnitude earthquake shook Costa Rica, the US Geological Survey reported. The quake alarmed residents, but there were no immediate reports of victims or damage.
It struck at around 4.47pm (local time) yesterday, 25 km 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.
The quake, which was recorded at a depth of 70 km, was felt strongest in the residential neighbourhoods of Escazu and Santa Ana near the capital.
Residents in the area around the San Jose International Airport reported power outages that impacted traffic lights during the daily rush hour.
The last major earthquake to hit the Central American country was a 6.2-magnitude quake in January last year that killed 23 people and caused more than 100 million dollars in damage.
That quake was the strongest to hit the popular ecotourism and beach holiday destination in 150 years and collapsed homes in and around the capital.