There are two international airports in Costa Rica and frequent flights connect it to major countries. From the neighbouring countries, you can easily enter Costa Rica via buses or your own vehicle if you have all valid documents and passport. However, no railway network or ferrying services are available on these routes.
There are two international airports in Costa Rica- Juan Santamaria (SJO) in San Jose and Daniel Oduber (LIR) in Liberia. There are regular flights which commute between these airports and major countries. Some of the international airlines are American Airlines, British Airways, Jet Airways and Virgin Atlantic.
Costa Rica shares its borders with Nicaragua and Panama. There are regular buses commuting between Nicaragua and Costa Rica. You can easily book a bus which will pay the border fees for you and you can pass the border comfortably. Frequent comfortable buses from Panama to San Jose operate thus, connecting Costa Rica to Panama.
There are no trains from Costa Rica to neighbouring countries.
Land crossing is available between Costa Rica and the neighbouring countries. It is better that you take your own car while crossing the borders. Take all the original documents related to your vehicle to cross the border with out any hassles. Also, if you are fluent in Spanish, it is advisable to hire a guide to take you through the process. After your passport is stamped and your car is checked at the immigration office, you will be allowed to enter Costa Rica.
There are no ferrying services between Costa Rica and neighbouring countries, Nicaragua and Panama.