Crews were called at 8.33am to the premises in Common Lane, Clifton where they were met with the sight of a column of flames leaping from a chimney at the farm, used to breed maggots.
Fire crews from Edlington, Maltby, Rotherham and Parkway stations attended the incident.
They all came away by 11:45am.
Man seriously ill in hospital as Doncaster city centre street cordoned off after assault
Family's plea after teenager with mental health issues goes missing in Doncaster
Watch: Ex-Red Arrows pilots create heart over Doncaster in surprise aerobatic display
Hosepipe ban for Doncaster as Yorkshire Water introduces drought restrictions
GP surgeries to merge and two new practices planned in Doncaster costing more than £9 million
The fire has been logged as accidental.