The orders were lifted shortly before 6 p.m., according to fire officials. By the evening the small blaze was 45 percent contained.
The vegetation fire, dubbed the Zermatt Fire, was reported shortly before noon near Zermatt Road and Pacific Crest Drive, according to the U.S. Forest Service.
Fire officials said the blaze was 10 acres and grew at a moderate speed.
Few nearby buildings are under threat, prompting evacuations along Pacific Crest Drive between Zermatt and Lone Pine Canyon roads, San Bernardino County sheriff's officials said.
Fire burning in Wrighwood area. Mandatory evacuations: Pacific Crest Dr. between Zermatt & Lone Pine.— Cindy Bachman (@SBCSDcbachman) June 17, 2017
An evacuation center was set up at Serrano High School, 9292 Sheep Creek Road, in Phelan. Any livestock could be taken to the Devore Animal Shelter. Both shelters closed at 6 p.m. after the evacuations were lifted.
Highway 2 was closed at Wright Mountain Road until further notice, Cindy Bachman, with the sheriff's department, said on Twitter.
The cause of the fire was unknown.