The Sand fire was 98 percent contained Monday after growing slightly over the weekend to 41,432 acres, the Los Angeles County Fire Department and U.S. Forest Service said Monday.
Still, 783 fire personnel, 30 engines and three helicopters remained devoted to snuffing the fire out completely.
All public roads have been reopened, but intermittent road closures are possible early this week as Southern California Edison uses helicopters to replace damaged power poles.
Fire officials said the fire area will continue to produce light smoke. Fire managers do not expect the fire to spread, but there are still scattered pockets of burning vegetation.
Air quality is expected to remain good or moderate in areas adjacent to the fire.
Los Angeles County firefighters say the smoke that cast a pall over the Santa Clarita Valley on Saturday was due not to the Sand fire but to a fire near Monterey whose smoke was drifting southward.
The Sand fire began July 22 near Highway 14 and Sand Canyon Road, spread to more than 40,000 acres, burned 18 structures and caused one death.

