We investigate the effect of magnetic field on the process of overcharging magnetized Reissner–Nordström black hole. It is well known that a four dimensional charged black hole could be overcharged. Contrary to this, we show that a magnetized charged black hole could not be overcharged beyond threshold value of the magnetic field. This occurs because the magnetic field does not allow for particle to reach black hole horizon. Thus magnetic field beyond its threshold value could restore the cosmic censorship conjecture.