Urethral repair can be carried out using hydrogels, but the harsh microenvironment hinders the repair. Here, the authors report the development of a 4D hydrogel dressing that can provide an early-vascularised and later-antifibrogenic microenvironment to assist in scarless reconstruction.