From north to south, san diego<span> county extends from the southern borders of orange county and riverside county to the mexico–United States border and Baja </span>California<span>. From west to east, </span>San Diego<span> County stretches from the Pacific Ocean to its boundary with Imperial County. </span>