A 20m high bale of hay stacked in a barn caught fire last night (Wednesday).
Firefighters from Pontefract, South Kirkby and Featherstone were called to a farm just off Mill Lane, Ackworth at around 6.30pm.
A fire service spokesman said crews managed to stop the blaze spreading to a nearby property.
He said nobody was injured in the incident and the fire is being allowed to burn out.
Fire crews are now investigating the cause of the blaze.