The fire was reported shortly before 5 a.m. in the 3800 block of San Pablo, where a building is under construction, according to Alameda County Fire Department officials.
Multiple agencies were helping battle the blaze, where flames were seen shooting high into the air. Ladder trucks were spraying water on the fire for well over an hour.
Residents in nearby buildings were evacuated as crews engaged in the fire fight.
Alameda County fire officials said the blaze was contained at 7:30 a.m. There were no reports of any injuries.
The cause of the fire was under investigation.