Under the action of dynamic loadings such as earthquakes and volcanic activities, the mechanical properties of gas-hydrate-bearing sediments will deteriorate, leading to a decrease in the stability of hydrate reservoirs and even inducing geological disasters such as submarine landslides. In order to study the effect of dynamic loading on the mechanical properties of hydrate sediments, triaxial compression tests of numerical specimens were carried out by using particle flow code (PFC2D), and the macro-meso mechanical behaviors of specimens were investigated. The results show that the loading frequency has a small effect on the stiffness of the hydrate sediment, while it has a large effect on the peak strength. The peak strength increases and then decreases with the increase in loading frequency. Under the same loading frequency, the peak strength of the hydrate sediment increases with the increase in loading amplitude, and the stiffness of the specimen decreases with the increase in loading amplitude. The maximum shear expansion of the specimen changes with the movement of the phase change point and the rearrangement of the particles. The maximum shear expansion of the specimen changes with the movement of the phase change point and the change of the bearing capacity of the particles after the rearrangement, and the more forward the phase change point is, the stronger the bearing capacity of the specimen in the plastic stage. The shear dilatancy angle and the shear dilatancy amount both increase linearly with the increase in loading amplitude. The influence of loading frequency and amplitude on the contact force chain, displacement, crack expansion, and the number of cementation damage inside the sediment is mainly related to the average axial stress to which the specimen is subjected, and the number of cracks and cementation damage of the sediment specimen increases with the increase in the average axial stress to which the sediment specimen is subjected. As the rate of cementation damage increases, the distribution of shear zones becomes more obvious.