It broke out before 8:00 p.m. Monday at the Timet plant on Hemlock Road in Morgantown.
The fire went to three alarms at the factory, which manufactures titanium products.
Firefighters were also dealing with a leak of argon gas.
The plant was evacuated but there are no reports of injuries.