Abstract. We develop a general model and the associated numerical algorithm to compute the swelling dynamics of chemo-responsive polyelectrolyte gels immersed in a reactive ionic solution kept at a nonequilibrium stationary state by a permanent feed of fresh reactants. Using an autocatalytic bistable but non-oscillatory reaction, namely, the bromate-sulfite reaction, we predict that a piece of hydrogel that swells/shrinks as a function of pH, can exhibit spontaneous mechanical and chemical oscillations. This constitutes the extension to realistic and experimentally feasible conditions of results previously obtained on a toy model with artificial swelling conditions.