The fire was reported shortly after 9:00 a.m. Thursday at the GlaxoSmithKline plant at 1250 South Collegeville Road in Collegeville, Pa.
The entire building was evacuated while firefighters brought the flames under control.
Investigators believe an electrical problem sparked the fire.
There are no reports of any injuries.