The border between Costa Rica and Panama is 348 km (216 mi) long. The border in its present state is demarcated by the Echandi-Fernandez Treaty of 1941.
The border between the two countries runs between the Pacific and Caribbean coasts, through the Cordillera Central. The Echandi-Fernandez Treaty defined the current border as follows: