This paper deals with an electrochemical method for the determination of methylene blue (MB) by fabrication of an electrode based on a carbon paste modified with nano-nickel oxide and nitrogen carbon quantum dots (NiO-NCQD), graphene-carbon nitride (g-C3N4), reduced graphene oxide (rGO), and graphite powder and paraffin oil are as a plasticizer. This electrode is used as a working electrode. The analytical method used is cyclic voltammetry (CV), The oxidation-reduction curve of methylene blue was shown using this electrode. It is a quasi-reversible curve, and it works at (pH =1) and the best acid used is HCl a concentration of (0.1M). It was also found that the linear range is within the range of (7.99-31.98 mg L-1). The standard deviation (SD) and relative standard deviation (RSD%) were obtained at (0.361 mg L-1 and 0.294 mg L-1) and (4.52% and 3.68%) for both oxidation and reduction respectively. Retrospective, the limit of quantitative (LOQ) and limit of detection (LOD) were achieved at (99.65%; 99.70%), (0.24 mg L-1; 0.13 mg L-1), and (0.071 mg L-1; 0.039 mg L-1) for both oxidation and reduction respectively. Methylene blue was analyzed by UV-Vis spectrophotometry at (663 nm).