Abstract:On the basis of the theory of elasticity and hydrokinetics,effect of tide-generation force on dynamics of oil wells is studied refering to the theory of earth tide and by using model of horizontal layered oil-bearing formation.A method inverting stress in oil-bearing formation by tidegeneration force is given.The stress drops of two earthquakes are calculated by the method.The results by the method approach results by other methods.