improved methods and compositions for stabilizing a subterranean formation containing water sensitive minerals are provided . the formation is contacted with a water soluble stabilizing compound that dissolves to form a divalent organic cation . the stabilizing compound inhibits the swelling and migration of clays and fines , thereby alleviating loss in permeability of the formation .