The aim of this study was to reveal the mechanism underlying the toxicity of TNT (trinitrotoluene), RDX (cyclotrimethylene trinitroamine), and HMX (cyclotetramethylene tetranitramine) explosives pollution in plants. Here, the effects of exposure to these three explosives were examined on chlorophyll fluorescence, antioxidant enzyme activity, and the metabolite spectrum in alfalfa (Medicago sativa) plants. The degradation rates for TNT, RDX, and HMX by alfalfa were 26.8%, 20.4%, and 18.4%, respectively, under hydroponic conditions. TNT caused damage to the microstructure of the plant roots and inhibited photosynthesis, whereas RDX and HMX induced only minor changes. Exposure to any of the three explosives caused disturbances in the oxidase system. Non-targeted metabolomics identified a total of 6185 metabolites. TNT exposure induced the appearance of 609 differentially expressed metabolites (189 upregulated, 420 downregulated), RDX exposure induced 197 differentially expressed metabolites (155 upregulated and 42 downregulated), and HMX induced 234 differentially expressed metabolites (132 upregulated and 102 downregulated). Of these differentially expressed metabolites, lipids and lipid-like molecules were the main metabolites induced by explosives poisoning. TNT mainly caused significant changes in the alanine, aspartate, and glutamate metabolism metabolic pathways, RDX mainly caused disorders in the arginine biosynthesis metabolic pathway, and HMX disrupted the oxidative phosphorylation metabolic pathway. Taken together, the results show that exposure to TNT, RDX, and HMX leads to imbalances in plant photosynthetic characteristics and antioxidant enzyme systems, changes the basic metabolism of plants, and has significant ecotoxicity effects.