The rheumatoid arthritis (RA) microenvironment is often followed by a vicious circle of high inflammation, endogenous gas levels imbalance, and poor treatment. To break the circle, we develop a dual-gas-mediated injectable hydrogel for modulating the immune microenvironment of RA and simultaneously releasing therapeutic drugs. The hydrogel (DNRS gel) could be broken down on-demand by consuming excessive nitric oxide (NO) and releasing therapeutic hydrogen sulfide (H