Physiological barriers and immunosuppressive microenvironments of solid tumors present considerable hurdles to Chimeric antigen receptor T (CAR-T) cell therapy. Herein, we discovered that metformin, a prescribed drug for type 2 diabetes, could up-regulate the oxidative phosphorylation of CAR-T cells, increase their energy metabolism, and further promote their proliferation. Inspired by this finding, we designed a hydrogel scaffold to co-deliver metformin and CAR-T cells by adding CAR-T cells into a lyophilized alginate hydrogel containing metformin. The obtained hydrogel scaffold after being implanted into the tumor resection cavity could act as a cell reservoir to sustainably release both CAR-T cells and metformin. While the released metformin could suppress oxidative and glycolytic metabolism of cancer cells and lead to decreased tumor hypoxia, CAR-T cells would respond to metformin by markedly up-regulating oxidative metabolism and adopting a long-lived, highly activated phenotype, contributing to elevated antitumor responses. As demonstrated in several post-surgical tumor models, the proliferation and tumor-infiltration of CAR-T cells were significantly enhanced and the treatment efficacy of CAR-T cells was augmented, against both local tumors and distant abscopal tumors, while showing reduced systemic immune-related adverse effects. Our work presents a new strategy to achieve effective yet safe CAR-T therapy against solid tumors using a cell-delivery scaffold based on clinically validated drugs and biomaterials.