The freight train derailed on Friday morning in the Landes region.
A spokesman for the Prefecture of Landes said that of the 10 carriages, three contained toxic substances.
(Three of the train's 10 carriages were carrying toxic substances. Photo: Préfet de Landes)
The first contained 32 tonnes of ammonia, while the other two were carrying around 66 tonnes of caustic soda.
Firefighters in full hazmat kits were spotted at the scene in the commune of Bégaar, but officials said all toxic material was contained and did not pose a threat to the public.
(The cause of the derailment is now under investigation. Photo: Préfet de Landes)
The derailment is not believed to have affected passenger services in the region.