The valley of the Río San Juan forms a natural passageway close to sea level across the Nicaraguan isthmus from the Caribbean Sea to Lago de Nicaragua and the rift. From the southwest edge of Lago de Nicaragua, it is only nineteen kilometers to the Pacific Ocean. This route was considered as a possible alternative to the Panama Canal at various times in the past.