Fairview is a census-designated place (CDP) in Alameda County, California, United States. It borders on the city of Hayward and the census-designated place of Castro Valley. 11,341 people lived here at the 2020 census.