In this paper, changes in entropy generation, entropy flow and damage are discussed under cyclic loading for AZ31 magnesium alloy. Results show that the entropy generation increases sharply at the beginning of the cycle, decreases to a certain extent and remains stable. The evolution law of entropy flow is similar to that of temperature in the magnesium alloy fatigue process. Fatigue damage rises exponentially and increases rapidly after the damage reaches 0.3. The relationship between the fatigue fracture entropy model and cycle times, which can predict the fatigue life well, is established. The relationship between the stable value of entropy generation and cyclic loading is also established. The fatigue limit is 102.25 MPa, and the error is 6.8%.