A DNA-based surface plasmon resonance biosensor for enrofloxacin was developed. Heating denatured DNA immobilized on the gold-coated glass surface was exploited. The immobilization was performed by a layer-by-layer co-deposition with a cationic polymer. The sensor performance was tested with real biological probes. Direct and simple determination of enrofloxacin in milk samples was demonstrated. The sensor response obeys Langmuir binding isotherm being almost linear until about 20 microg mL(-1). The detection limit in milk samples was estimated to be 3 microg mL(-1).