Background: The complicated hyperglycaemic and chronic inflammation of diabetic wounds in orthopaedic surgery leads to dysregulated immune cell function and potential infection risk in surgical implants. Immune interventions in diabetic wounds face a possible contradiction between simultaneous establishment of the pro-inflammatory environment in response to potential bacterial invasion and the anti-inflammatory environment required for tissue repair. To study this contradiction and accelerate diabetic-wound healing, we developed a photocurable methacryloxylated silk fibroin hydrogel (Sil-MA) system, co-encapsulated with metformin-loaded mesoporous silica microspheres (MET@MSNs) and silver nanoparticles (Ag NPs). Results: The hydrogel system (M@M–Ag–Sil-MA) enhanced diabetic-wound healing via spatiotemporal immunomodulation. Sil-MA imparts a hydrogel system with rapid in situ Ultra-Violet-photocurable capability and allows preliminary controlled release of Ag NPs, which can inhibit bacterial aggregation and create a stable, sterile microenvironment. The results confirmed the involvement of Met in the immunomodulatory effects following spatiotemporal dual-controlled release via the mesoporous silica and Sil-MA, which resulted in induction of macrophage polarisation toward the anti-inflammatory M2-phenotype. Simultaneously, the M@M–Ag–Sil-MA system inhibited the formation of neutrophil extracellular traps (NETs) and decreased the release of neutrophil elastase, myeloperoxidase, and NETs-induced pro-inflammatory factors. Additionally, the M@M–Ag–Sil-MA system promoted fibroblast migration and endothelial cell angiogenesis in vivo, with verification of enhanced diabetic-wound healing accompanied with the spatiotemporal immunoregulation of macrophages and NETs in a diabetic mouse model.Conclusions: Our findings demonstrated that the M@M–Ag–Sil-MA hydrogel system resolved the immune contradiction in diabetic wounds through spatiotemporal immunomodulation of macrophages and NETs, suggesting its potential as a promising engineered nano-dressing for the treatment of diabetic wounds in orthopaedic surgery.