Costa Rica, officially the Republic of Costa Rica, is a country in the Central American region of North America. It borders Nicaragua to the north, the Caribbean Sea to the northeast, Panama to the southeast, and the Pacific Ocean to the southwest, as well as maritime border with Ecuador to the south of Cocos Island.