Sumatriptan is an organic chemical compound from the tryptamine group. It is used as a medicine for migraine attacks and in the treatment of cluster headaches. In this work, a new voltammetric method is proposed for highly sensitive SUM determination, using glassy carbon electrodes modified with carbon black and titanium dioxide suspension. The novelty of the presented work is the usage of the mixture of carbon black and TiO2as glassy carbon electrode modifier for the first time for SUM determination. The mentioned sensor was characterized by great repeatability and sensitivity of measurements, which resulted in the obtention of a wide range of linearity and a low detection limit. The electrochemical properties of the CB-TiO2/GC sensor was characterized using the LSV and EIS method. The effect of different factors on the SUM peak, such as supporting electrolyte type, preconcentration time and potential, or influence of interferents, were tested using the square wave voltammetry technique. The linear voltammetric response for the analyte was obtained in the concentration range of 5 nmol L−1to 150 μmol L−1with a detection limit of 2.9 nmol L−1for a preconcentration time of 150 s in the 0.1 mol L−1phosphate buffer pH 6.0. The proposed method was successfully applied for highly sensitive sumatriptan determination in complex matrices, such as tablets, urine, and plasma, with a good recovery parameter (94–105%). The presented CB-TiO2/GC electrode is characterized by great stability, it was used for 6 weeks without significant changes in the SUM peak current. Amperometric and voltammetric measurements of SUM under the flow injection conditions were also performed to indicate the possibility of its fast and accurate determination with a time of single analysis of approx. 30 s.