Fluoroquinolone ciprofloxacin (Cip) is an antibiotic used to treat some bacterial infections such as bone, joint, respiratory tract, skin, typhoid fever and urinary tract infections. Cip can also cause severe allergic reactions. So, clinical and pharmaceutical analysis of Cip is very important. Herein nitrogen doped porous reduced graphene oxide (N-prGO) as active material in electrochemical sensors was synthesized in ammonia media. The results indicated that presence of heteroatoms in the N-prGO increases the active sites and enhances the electrical conductivity. A new electrochemical sensor was developed based on the use of N‑prGO on carbon paste electrode (CPE) for the detection of Cip. The introduction of N-prGO porous support can provide high surface area, facilitate the diffusion and mass transport of reactants, and makes the sensor more sensitive and accurate for the detection of Cip. The N-prGO-based CPE presented a linear response for Cip concentration range of 0.1 to 10 µM, sensitivity of 820 µA mM–1and detection limit of 39 nM by differential pulse voltammetry. The developed method was successfully applied for detection of Cip in human serum and pharmaceutical samples.