The highly sensitive determination of ofloxacin (OFL) in human serum and urine was achieved on a novel tryptophan‐graphene oxide‐carbon nanotube (Trp‐GO‐CNT) composite modified glassy carbon electrode (Trp‐GO‐CNT/GCE). The Trp‐GO‐CNT composite was fabricated, and its morphologies and surface functional groups were characterized by field emission scanning electron microscopy (FE‐SEM) and Fourier transform infrared (FT‐IR) spectroscopy. The electrochemical properties of Trp‐GO‐CNT/GCE were investigated by cyclic voltammetry (CV) and electrochemical impedance spectroscopy (EIS). The superior electrochemical behaviors of Trp‐GO‐CNT/GCE toward OFL can be mainly assigned to the excellent electrocatalytic activity of Trp, the great conductivity and high surface area of GO and CNT, and the synergistic effect between Trp, GO and CNT. Under optimum conditions, a wide and valuable linear range (0.01–100 μM), a low detection limit (0.001 μM, S/N=3), a good linear relationship (R2>0.999), good stability and repeatability were obtained for the quantitative determination of OFL. Furthermore, the Trp‐GO‐CNT electrochemical sensor was successfully applied to the determination of OFL in human serum and urine samples, and satisfactory accuracy and recovery could be obtained.