San Diego Bay is a natural harbor and deepwater port in San Diego County, California, near the Mexico–United States border. The bay, which is 12 miles (19 km) long and 1 to 3 miles (1.6 to 4.8 km) wide, is the third largest of the three large, protected natural bays on California's 840 miles (1,350 km) of coastline, after San Francisco Bay and Humboldt Bay.