In this paper an ionic liquid (IL) 1-butylpyridinium hexafluorophosphate (BPPF6) modified carbon paste electrode was constructed and further used to establish a sensitive method for the detection of 5-fluoro-1H-pyrimidine-2 (5-FU). Compared with the carbon paste electrode (CPE), a single well-defined irreversible oxidation peak of 5-FU appeared on the IL-CPE with a great improvement of the electrochemical response, which was due to the presence of a high ionic conductive ionic liquid in the electrode that exhibited accumulation and electrocatalytic ability. The electrochemical parameters of 5-FU on the IL-CPE were calculated with the electron transfer coefficient (alpha) as 0.62 and the diffusional coefficient (D) as 7.02 x 10(-5) cm(2) s(-1). Under the optimal conditions, the oxidation peak current was linear to 5-FU concentration in the range from 5.0 x 10(-7) to 8.0 x 10(-4) mol L-1 with a detection limit of 1.3 x 10(-8) mol L-1 (3 sigma). Good selectivity to 5-FU detection was observed without the interference of coexisting substances and the method was further applied to determination in injection samples with satisfactory results.