The border between California and Mexico is the United States–Mexico border. The land boundary stretches 1,954 miles (3,145 km), making it the longest land border between the U.S. and any other country, and the second-longest in the Western Hemisphere after the Canada–U.S. border.