This paper considers the problem of windup which occurs when a controller with unstable/integrator modes is subjected to input saturation or multi-mode operation. An optimal strategy for the so-called model-based approach is proposed, based on an H ∞ optimisation framework. This has been found to give good results on numerical examples taken from the literature.