San Fernando is a general-law city in the San Fernando Valley region of Los Angeles County, California, in the Los Angeles metropolitan area. It is an enclave in the City of Los Angeles. As of the 2020 census the population of San Fernando was 23,946.