This study investigates how extracellular polymeric substances (EPS) synthesized by dark septate endophytic (DSE) improve alfalfa's drought resistance. Drought stress was simulated in hydroponic culture, and roots were treated with different EPS concentrations to determine their effects on drought tolerance and applicable concentrations. Hydroponic solutions with 0.25 and 0.50% EPS concentrations alleviated leaf wilting and increased total plant fresh weight by 35.8 and 57.7%, respectively. SEM shows that EPS attached to the roots and may have served to protect the root system. EPS treatment significantly depressed the MDA contents of the roots, stems, and leaves. Roots responded to drought stress by increasing soluble sugar contents and antioxidant enzyme activities, while mitigating stem and leaf stress by synthesizing lipid compounds, amino acids, and organic acid metabolites. Five metabolites in the stem have been reported to be associated with plant stress tolerance and growth, namely 3-O-methyl 5-O-(2methyl propyl) (4S)-2,6-dimethyl-4-(2-nitrophenyl)-3,4-dihydropyridine-3,5-dicarboxylate, malic acid, PA (20:1(11Z)/15:0), Nmethyl-4,6,7-trihydroxy-1,2,3,4-tetrahydroisoquinoline, and 2-(S-glutathionyl) acetyl glutathione. In summary, EPS treatment induced oxidative stress and altered plant metabolism, and this in turn increased plant antioxidant capacity. The results provide a theoretical basis for the application of EPS in commercial products that increase plant resistance and ecological restoration.