This paper describes the development of a novel on-line biosensor based on a fluorescently labeled human calmodulin (CaM), hCaM M124C-mBBr, immobilized on controlled-pore glass (CPG), for the analysis of trifluoroperazine (TFP); a phenothiazine drug in human urine samples. The device was automated by packing hCaM M124C-mBBr-CPG in a continuous-flow microcell connected to a monitoring system, composed of a bifurcated optical fiber coupled to a spectrofluorometer. Operating parameters of the on-line biosensor (flow rate, sample injection volume, and carrier solution and buffer pH) were studied and optimized. Under the optimal conditions, the biosensor provides a detection and a quantification limit of 0.24 and 0.52 μg mL(-1), respectively, and a dynamic range from 0.52 to 61.05 μg mL(-1) TFP (n = 5, correlation coefficient 0.998). The response time (t(100)) was shorter than 42 s (recovery time <4.5 min) and reproducibility and repeatability of the TFP measurements, within the linear response range, were lower than 1.4 and 2.7%, respectively. The device was successfully applied to the analysis of TFP in spiked human urine samples with recoveries ranging between 97 and 101% and with RSDs lower than 5.9%.