San Diego County, officially the County of San Diego, is a county in the southwest corner of the U.S. state of California, north to its border with Mexico.