In this paper, a new nanocomposite AuNPs/MXene/ERGO was prepared for sensitive electrochemical detection of nitrite. The nanocomposite was prepared by a facile one-step electrodeposition, HAuCl4, GO and MXene mixed in PBS solution with the applied potential of –1.4 V for 600 s. The modified material was characterized by scanning electron microscopy (SEM), energy-dispersive X-ray spectroscopy (EDS), X-ray diffraction (XRD) and cyclic voltammetry (CV). The electrochemical behavior of nitrite at the modified electrode was performed by CV and chronoamperometry. The AuNPs/MXene/ERGO/GCE showed a well-defined oxidation peak for nitrite at +0.83 V (Vs. Ag/AgCl) in 0.1 M phosphate buffer solution (pH 7). The amperometric responses indicated the sensor had linear ranges of 0.5 to 80 μM and 80 to 780 μM with the LOD (0.15 μM and 0.015 μM) and sensitivity (340.14 and 977.89 μA mM–1 cm–2), respectively. Moreover, the fabricated sensor also showed good selectivity, repeatability, and long-term stability with satisfactory recoveries for a real sample. We also propose the work that needs to be done in the future for material improvements in the conclusion.