The mountain range that forms the northeastern border of Spain with France is the Pyrenees.