The present study involves detecting and determining CIP by a new electrochemical sensor based on graphene (Gr) in the presence of sodium dodecyl sulfate (SDS) employing voltammetric techniques. Surface morphology studies of the sensing material were analyzed using a scanning electron microscope (SEM) and atomic force microscope (AFM). In the electroanalysis of CIP at the developed electrode, an enhanced anodic peak response was recorded, suggesting the electro-oxidation of CIP at the electrode surface. Furthermore, we evaluated the impact of the electrolytic solution, scan rate, accumulation time, and concentration variation on the electrochemical behavior of CIP. The possible electrode mechanism was proposed based on the acquired experimental information. A concentration variation study was performed using differential pulse voltammetry (DPV) in the lower concentration range, and the fabricated electrode achieved a detection limit of 2.9 × 10−8 M. The proposed sensor detected CIP in pharmaceutical and biological samples. The findings displayed good recovery, with 93.8% for tablet analysis and 93.3% to 98.7% for urine analysis. The stability of a developed electrode was tested by inter- and intraday analysis.