This paper is concerned with integral control of systems with hysteresis. Using an input-output approach, it is shown that application of integral control to the series interconnection ofeither (a) a hysteretic input nonlinearity, an L 2-stable, time-invariant linear system and a non-decreasing globally Lipschitz static output nonlinearity, or (b) an L 2-stable, time-invariantlinear system and a hysteretic output nonlinearity, guarantees, under certain assumptions, tracking of constant reference signals, provided the positive integrator gain is smaller than a certainconstant determined by a positivity condition in the frequency domain. The input-output results are applied in a general state-space setting wherein the linear component of the interconnection is a well-posed infinite-dimensional system.