We have examined the mechanical behaviour of different types of pectin at high concentrations (>30% w/w), relevant to the behaviour of pectin in the plant cell wall, and as a film-forming agent. Mechanical properties were examined as a function of counterion type (K+, Ca2+, Mg2+), concentration and extent of hydration. Hydration was controlled in an osmotic stress experiment where pectin films were exposed to concentrated polyethylene glycol [PEG] solutions of known osmotic pressure. We investigated the mechanical behaviour under simple extension. The results show that the swelling and stiffness of the films are strongly dependent on pectin source and ionic environment. At a fixed osmotic stress, both Ca2+ or Mg2+ counterions reduce swelling and increase the stiffness of the film. (C) 2004 Elsevier Ltd. All rights reserved.