A biomechanical environment constructed exploiting the mechanical property of the extracellular matrix and external loading is essential for cell behaviour. Building suitable mechanical stimuli using feasible scaffold material and moderate mechanical loading is critical in bone tissue engineering for bone repair. However, the detailed mechanism of the mechanical regulation remains ambiguous. In addition, TRPV4 is involved in bone development. Therefore, this study aims to construct a viscoelastic hydrogel combined with dynamic compressive loading and investigate the effect of the dynamic mechanical environment on the osteogenic differentiation of stem cells and bone repair