Solvothermally synthesized cobalt sulphide/reduced graphene oxide (CoS/rGO) was used to fabricate an electrochemical sensor for detection of artemisinin. Microscopic techniques were used to characterize CoS/rGO nanocomposite. The electrochemical sensor was fabricated by modifying the surface of glassy carbon electrode with CoS/rGO nanocomposite. [Fe(CN)6]3−/4− was used as a mediator to aid oxidation of artemisinin. Differential pulse voltammetric technique was used for the detection of artemisinin. A linear range of 30–100 μM was used. Experimentally, a detection limit of 0.5 μM was obtained. Therefore, the developed sensor can be used for quality control of artemisinin.