A technique for insertion of electrolytes in water has been implemented in this work, based on non-equilibrium candidate Monte Carlo moves as proposed in the previous work of Ross and co-workers. At constant number of particles in the system, water molecules and electrolytes are exchanged at a given chemical potential, so that MC steps that insert or delete ions define an osmostat in contact with the system.