A biosensor for the determination of heavy metal cations based on glucose oxidase enzymatic inhibition has been developed. The biosensor was assembled on carbon film electrode supports with glucose oxidase immobilised by cross-linking with glutaraldehyde on top of a film of poly(neutral red) as redox mediator, prepared by electropolymerisation. The biosensor was used to determine the metallic cations, cadmium, copper, lead and zinc in the presence of chosen amounts of glucose. The detection limits were found to be 1 μg L −1 for cadmium, 6 μg L −1 for copper, 3 μg L −1 for lead and 9 μg L −1 for zinc. Inhibition constants were determined by using the Dixon plot, and the type of inhibition induced by the metallic cations was evaluated from Cornish-Bowden plots plus Dixon plots, it being found that the inhibition is reversible and competitive for cadmium, mixed for copper and lead and uncompetitive for zinc. Copper-inhibited glucose oxidase to a greater extent followed by cadmium, lead and zinc. Regeneration of the glucose oxidase response was studied by using Ethylene diamine tetracetic acid metal-chelating agent and the nonionic surfactant Triton X-100. The suitability of the biosensor for determination in foodstuffs or beverages which contain trace concentrations of metals was investigated by performing recovery tests in commercial milk samples.