The stress gradient of gold micro-cantilever beams induced during dry-release in oxygen plasma is quantitatively studied, and the relaxation of the stress gradient by He and N2 ion implantation is investigated. An analytic model considering the finite anchor stiffness of a step-up anchor and the geometry of the beam cross-section is constructed to evaluate the induced stress gradient. Various measurements are carried out to verify the effectiveness of ion implantation in relaxing the stress gradient.