Mixing oppositely charged polyelectrolytes in aqueous solutions leads to the spontaneous formation of polyelectrolyte complexes. Here, we characterize the interaction between xanthan of two different chain lengths, a tri‐glucosamine and a chitosan polymer by isothermal titration calorimetry (ITC). Analysis of the experimental thermodynamic data assuming a single set of identical sites indicated both enthalpic and entropic contributions to the overall interaction in the interaction between xanthan and tri‐glucosamine. The relative contribution of entropy compared to enthalpy was found to be largest for the shortest chain length of xanthan. Using a chitosan polymer instead of tri‐glucosamine gave rise to two different stages in the interaction process. A model where the first stage of the ITC curve represent an initial polyelectrolyte complexation stage followed by aggregation on further titration of chitosan to the xanthan is suggested. Ultrastructure images by applying atomic force microscopy at some selected extents of titration are consistent with the two‐stage interpretation of the thermodynamic data. © 2011 Wiley Periodicals, Inc. Biopolymers 97: 1–10, 2012.