[Display omitted] • Nd 2 Ti 2 O 7 ceramic nanocomposites was synthesized by a convenient green reduction method. • The fabrication of Nd 2 Ti 2 O 7 ceramic nanostructures with ferula assa foetida gum is presented as a fuel. • Nd 2 Ti 2 O 7 nanostructures were deployed to treat wastewater. One of the most important issues in the 21st century is the demand for green energy. In the current paper, the fabrication of Nd 2 Ti 2 O 7 ceramic nanostructures with ferula assa foetida gum is presented as a new and efficient fuel. Specimens made with the gum of ferula assa foetida have been explored by various techniques. The properties of Nd 2 Ti 2 O 7 were assessed by SEM, XRD, FT-IR, and TEM analysis. Our results indicated the favorable generation of the pure nanostructured Nd 2 Ti 2 O 7 in the attendance of ferula assa foetida gum. Then, Nd 2 Ti 2 O 7 nanostructures were deployed to treat wastewater containing Acid Blue 92, Methyl orange, Acid Brown 214, and Acid Black 1. Moreover, the impact of pH and containment concentration on the photocatalytic activity of Nd 2 Ti 2 O 7 nanostructure was investigated. [ABSTRACT FROM AUTHOR]