In a nutshell, the countries that border Costa Rica are Nicaragua and Panama.
To the north of Costa Rica, the country of Nicaragua borders the entire length from the Atlantic Ocean to the Pacific Ocean. Many say the east side of the country is the Caribbean but only because of the cultural influences.
To the south, the country that borders Costa Rica is the Republic of Panama. The Panama border runs the entire length of Costa Rica from the Atlantic to the Pacific Ocean.
If you have any other questions about Costa Rica please add a comment and we will answer it if we can.