A fire ripped through the building in Sandpiper Drive at about 9.30pm on Thursday night which led to a mass evacuation of staff who were working in the warehouse at the time.
Pictures of the scene show smoke rising from the Fife commercial property as well as many members of evacuated staff in tin foil blankets for the cold.
Fire crews extinguished the flames by about 12.45am and no casualties were reported in the incident.
A Scottish Fire and Rescue spokeswoman said: “We were alerted at 9.31am on Thursday 12 November to reports of a fire that had taken control in a commercial building in Dunfermline.
"The crews extinguished the fire. There were no casualties to report.
"We left the scene at about 12.45am when the flames were out.”
Appliances attended from Dunfermline, Lochgelly and Kirkcaldy.