In this report, Azithromycin (Azi) antibiotic was measured by carbon paste electrode (CPE) improved by graphene nanoribbon–CoFe
2
O
4
@NiO nanocomposite and 1-hexyl-3 methylimidazolium hexafluorophosphate (HMIM PF
6
) as an ionic liquid binder. The electrochemical behavior of Azi on the graphene nanoribbon–CoFe
2
O
4
@NiO/HMIM PF
6
/CPE is investigated by voltammetric methods, and the results showed that the modifiers improve the conductivity and electrochemical activity of the CPE. According to obtained data, the electrochemical behavior of Azi is related to pH. under optimum conditions, the sensor has linear ranges from 10 µM to 2 mM with a LOD of 0.66 µM. The effect of scan rate and chronoamperometry were studied, which showed that the Azi electro-oxidation is diffusion controlled with the diffusion coefficient of 9.22 × 10
–6
cm
2
/s. The reproducibility (3.15%), repeatability (2.5%), selectivity, and stability (for 30 days) tests were investigated, which results were acceptable. The actual sample analysis confirmed that the proposed sensor is an appropriate electrochemical tool for Azi determination in urine and Azi capsule.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.