A reduction in the relative permeability to oil or gas due to the increase in water saturation near the borehole caused by the invasion of water from a water-base mud.