The blaze was reported at about 11:42 a.m. on Saturday. As of 2 p.m., the fire was 80 percent contained at 33 acres near the San Bernardino County line.
California Highway Patrol officers and sheriff's deputies evacuated scattered ranches and homes on the foothills of the San Gabriel Mountains, northwest of Wrightwood.
Area roads were shut down during the fire fight.
City News Service contributed to this report.