Glassy carbon electrode modified with electrodeposited nickel oxide nanoparticles (NiOxNPs) was used as electrocatalyst for oxidation of omeprazole and pentoperazole in alkaline solution. The modified electrode exhibited efficient electrocatalytic activity for the oxidation of omeprazole and pentoperazole with relatively high sensitivity, excellent stability, and long lifetime. Hydrodynamic amperometric method is used for determination of selected analytes. Under optimized condition, the linear concentration range, detection limit, and sensitivity of modified electrode toward omeprazole detection are 4.5-120 μM, 0.4 μM (at signal to noise 3), and 40.1 nA μM −1 cm −2 , respectively. For pantoperazole, hydrodynamic amperometric determination yielded calibration curve with linear range of 2.5-180 μM, detection limit of 0.2 μM, and sensitivity of 39.2 nA μM −1 cm −2 , respectively. The proposed method was successfully applied to pentoperazole and omeprazole determination in drug samples.