The antitumor active compound 5-fluorouracil (5-FU) was used as a target molecule and 5-FU-imprinted polymers were synthesized using 2,6-bis(acrylamido)pyridine and/or 2-(trifluoromethyl)acrylic acid as functional monomers. The 5-FU-imprinted polymers showed a higher affinity for 5-FU than that for 5-FU derivatives. By using both functional monomers simultaneously, the affinity and separation for 5-FU were improved.