Bleeding and altered iron distribution occur in multiple gastrointestinal diseases, but the importance and regulation of these changes remain unclear. We found that hepcidin, the master regulator of systemic iron homeostasis, is required for tissue repair in the mouse intestine after experimental damage. This effect was independent of hepatocyte-derived hepcidin or systemic iron levels. Rather, we identified conventional dendritic cells (cDCs) as a source of hepcidin that is induced by microbial stimulation in mice, prominent in the inflamed intestine of humans, and essential for tissue repair. cDC-derived hepcidin acted on ferroportin-expressing phagocytes to promote local iron sequestration, which regulated the microbiota and consequently facilitated intestinal repair. Collectively, these results identify a pathway whereby cDC-derived hepcidin promotes mucosal healing in the intestine through means of nutritional immunity.