Plants, as sessile organisms, uptake nutrients from the soil. Throughout their whole life cycle, they confront various external biotic and abiotic threats, encompassing harmful element toxicity, pathogen infection, and herbivore attack, posing risks to plant growth and production. Plants have evolved multifaceted mechanisms to cope with exogenous stress. The element defense hypothesis (EDH) theory elucidates that plants employ elements within their tissues to withstand various natural enemies. Notably, essential and non-essential trace metals and metalloids have been identified as active participants in plant defense mechanisms, especially in nanoparticle form. In this review, we compiled and synthetized recent advancements and robust evidence regarding the involvement of trace metals and metalloids in plant element defense against external stresses that include biotic stressors (such as drought, salinity, and heavy metal toxicity) and abiotic environmental stressors (such as pathogen invasion and herbivore attack). We discuss the mechanisms underlying the metals and metalloids involved in plant defense enhancement from physiological, biochemical, and molecular perspectives. By consolidating this information, this review enhances our understanding of how metals and metalloids contribute to plant element defense. Drawing on the current advances in plant elemental defense, we propose an application prospect of metals and metalloids in agricultural products to solve current issues, including soil pollution and production, for the sustainable development of agriculture. Although the studies focused on plant elemental defense have advanced, the precise mechanism under the plant defense response still needs further investigation.