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
Manhunt in Basingstoke As Police Urge Public Not To Approach Dangerous Wanted Suspect
CCTV image released as part of Lymington shoplifting investigation
Portsmouth man jailed for controlling coercive behaviour
Can you help police find wanted Lee Anthony Graham, 52, from Portsmouth