At least 120 firefighters were dispatched to battle the flames. The San Francisco Fire Department says two injuries were reported. Firefighters expect the larger building's roof to collapse.
A nearby school, which is closed for winter break, was also impacted by the fire.
The cause is under investigation.