Crews from Basingstoke, Fleet, Rushmoor, Whitchurch and Winchester along with specialist vehicles from Eastleigh, Alton and Andover were called to the scene shortly after 6pm yesterday evening
A large smoke plume was visible as crews approached the scene.
There were no casualties involved and nearby farm animals were removed from the vicinity of the blaze.
The fire inside the large agricultural building was tackled using eight jets and four hose reels as the farmer assisted firefighting operations using equipment to remove debris.
Environment Agency equipment was used to prevent contaminated water run-off entering a nearby river.
Crews worked to remove a number acetylene cylinders from the fire before they were cooled and made safe.
Relief crews from Havant, Cosham, Hartley Wintney, Hightown and Bordon attended the incident throughout the night, allowing the firefighters who were first on scene to return to station.
The stop message came in more than 12 hours after the first call, at 6:23, before HIWFRS left the scene.
A crew will return this morning to inspect the scene, checking for remaining hotspots, and fire investigation officers will also attend the incident ground to ascertain the cause.
More Stories
Police officer under investigation after video emerges showing a violent attack on male who had been detained
Man, 44, jailed for shoplifting, criminal damage and assault
Known gang member jailed for more than two years after he was spotted on CCTV with a machete in Southsea
Further concerns raised over Hampshire and Isle of Wight Constabulary following ex police inspector accused of sex offences