The San Gabriel Mountains are a mountain range in southern California , in the United States . They are located in both Los Angeles County and San Bernardino County . The San Gabriel Mountains are located in northern Los Angeles County and western San Bernardino County , California , United States .