An industrial waste warehouse caught fire in northeastern France on Sunday, spewing foul smoke that gave residents headaches and caused authorities to briefly urge some 30,000 people to remain indoors.

The fire broke out in the northeastern village of Gandrange on Sunday morning, but was under control by the afternoon, local civil defence spokeswoman Geraldine Chambeaudie said.

The cause of the fire was not immediately clear.

Local media reported that the smoke was visible some 15 kilometres away in the city of Metz.

Amandine Vecchio, 34, said she was taken aback by the smoke when she left a cinema in the nearby town of Amneville.