Altered microenvironmental stiffness is a hallmark of inflammation. It is sensed by the mechanically activated cation channel Piezo1 in macrophages to induce subsequent immune responses. However, the mechanism by which the mechanosensitive signals shape the metabolic status of macrophages and tune immune responses remains unclear. We revealed that Piezo1-deficient macrophages exhibit reduced aerobic glycolysis in resting or liposaccharide (LPS)-stimulated macrophages with impaired LPS-induced secretion of inflammatory cytokines in vitro. Additionally, pretreatment with the Piezo1 agonist, Yoda1, or cyclical hydrostatic pressure (CHP) upregulated glycolytic activity and enhanced LPS-induced secretion of inflammatory cytokines. Piezo1-deficient mice were less susceptible to dextran sulfate sodium (DSS)-induced colitis, whereas Yoda1 treatment aggravated colitis. Mechanistically, we found that Piezo1 activation promotes aerobic glycolysis through the Ca 2+-induced CaMKII-HIF1α axis. Therefore, our study revealed that Piezo1-mediated mechanosensitive signals Piezo1 can enhance aerobic glycolysis and promote the LPS-induced immune response in macrophages.