The Costa Rica–Nicaragua border is the 309 kilometers long international border, extending east–west, between the Caribbean Sea (E) and the Pacific Ocean (W) it separates the northern part of Costa Rica from the Southern part of Nicaragua.