A novel electrochemical sensor has been introduced in the present work. The proposed sensor is a nanocomposite of imidazole zeolites and gold metal nanoparticles that was easily designed and synthesized (core-shell ZIF-8@ZIF-67/Au NPs). This sensor was used to determine nitrite using the differential pulse voltammetry (DPV) technique. Nanocomposites have been characterized using transmission electron microscopy (TEM), Fourier transform (FT-IR), field emission scanning electron microscopy (FESEM), X-ray diffraction (XRD), ultraviolet spectroscopy, scattered X-ray spectroscopy Energy (EDX) and electrochemical element maps and electrochemical techniques. After the plotted the calibration diagram with the differential pulse voltammetry technique, the detection limit was 2 nM and the linear range was obtained 0.64×10−8-22.14×10−3 M for nitrite oxidation. Therefore the method is simple, sensitive, and specific, with a short analysis time, and the main advantages of this purpose sensor are the easy synthesis method, low limit of detection, and good selectivity, excellent stability, reproducibility, and good repeatability in nitrite determination. One of the successes of this sensor is in determining nitrite in water, sausage, and deli meat samples.