San Fernando is a city in the San Fernando Valley, in the northwestern region of Los Angeles County, California in the Los Angeles metropolitan area. It is an enclave of the city of Los Angeles. As of the 2010 census the population of San Fernando was 23,645.