Stanford is a census-designated place in the northwest corner of Santa Clara County, California, United States. It is the home of Stanford University, after which it was named. The CDP's population was 21,150 at the 2020 census. Stanford is adjacent to the city of Palo Alto, which borders it to the east, but the CDP itself remains unincorporated.