Firefighters were called to attend the scene of a chemical spillage in Bourton on Sunday.
Retained firefighters from Gillingham, Mere and Warminster Fire Stations attended an incident at 2.54pm.
Firefighters used breathing apparatus and gas tight suits to make safe the area and contain the chemical which was believed to be hydrochloric acid.
A spokesman for Dorset Fire and Rescue Service said: "Crews placed the chemical in an oversized drum which was sealed and then taken away to be emptied and disposed of safely.
"Decontamination of firefighters was also carried out at the scene.
"Colleagues from the Police, Environment Agency and Ambulance Trust also attended."
The last crew left the scene at 6.20pm.