Activation of various inflammasomes converges on the cleavage of gasdermin D (GSDMD) by pro-inflammatory caspases, followed by oligomerization of the N-terminal domain (GSDMDNT) and the assembly of pores penetrating target membranes. Yet, it remained unclear what triggers the conformational changes that allow membrane insertion, as methods to study pore formation in living cells were limited. We raised nanobodies specific for human GSDMD and found two nanobodies that prevent pyroptosis and IL-1β release when expressed in the cytosol of human macrophages. Nanobody binding to GSDMDNTblocked its oligomerization, while inflammasome assembly and GSDMD processing itself were not affected. The nanobody-stabilized monomers of GSDMDNTpartitioned into the plasma membrane, suggesting that pore formation is initiated by insertion of monomers, followed by oligomerization in the target membrane. When GSDMD pore formation was inhibited, cells still underwent caspase-1-dependent apoptosis, likely due to the substantially augmented caspase-1 activity. This hints at a novel layer of regulation of caspase-1 activity by GSDMD pores. Moreover, we revealed the unexpected therapeutic potential of antagonistic GSDMD nanobodies, as recombinant nanobodies added to the medium prevented cell death by pyroptosis, likely by entering through GSDMD pores and curtailing the assembly of additional pores. GSDMD nanobodies may thus be suitable to treat the ever-growing list of diseases caused by activation of the (non-) canonical inflammasomes.