The odor was reported at 10:30 a.m., prompting school officials to evacuate all buildings.
The school, located at 1101 Eucalyptus Drive near Lake Merced, was given the all-clear around noon after an inspection by firefighters and PG&E showed no evidence of a gas leak on school grounds, school district spokeswoman Gentle Blythe said.