In situ crosslinked biodegradable hydrogels loaded with IL-2 are effective tools for local IL-2 therapy.