The fire took hold at the old Polestar Petty premises on Whitehall Road at about 12.45pm today.
Thick clouds of smoke could be seen billowing from the roof of the building.
A section of the roof was also well alight and a number of loud bangs were heard.
Leeds Festival road closures: Aberford village will be closed to festival traffic after being used as a 'rat run'
Man dead after a paragliding accident near to Leeds
'Highly organised' Leeds thieves caught by own technology after tracking movement of business owners
Leeds United supporters issued warning not to walk on M621 after minibus drops fans off on motorway slip road
Leeds drug farmer locked up after being handed 'lenient' sentence
The worst of the blaze appeared to be over by around 2pm although half-an-hour later firefighters were continuing to hose the building’s roof with the help of two aerial ladders.
The section of Whitehall Road nearest the site was closed to traffic.
The factory shut at the end of 2014, nearly 150 years after Petty & Sons first began operating in Whitehall Road.