Biologics have been widely used as injectables in the treatment of inflammatory bowel disease (IBD). Different local treatment attempts have been developed in recent years. However, maintaining systemic levels of biologics is still crucial for achieving colitis remission. An equilibrium between systemic and local concentrations of biologics is therefore essential for treatment of colitis. Current formulations struggle to create optimal balance between drug concentrations in plasma and the colonic wall. Addressing this challenge, we developed a rectally delivered in situ foam that generates CO