Seeds are colonized by diverse microorganisms that can improve the growth and stress resistance of host plants. Although understanding the mechanisms of plant endophyte-host plant interactions is increasing, much of this knowledge does not come from seed endophytes, particularly under environmental stress that the plant host grows to face, including biotic (
e.g.
, pathogens, herbivores and insects) and abiotic factors (
e.g.
, drought, heavy metals and salt). In this article, we first provided a framework for the assembly and function of seed endophytes and discussed the sources and assembly process of seed endophytes. Following that, we reviewed the impact of environmental factors on the assembly of seed endophytes. Lastly, we explored recent advances in the growth promotion and stress resistance enhancement of plants, functioning by seed endophytes under various biotic and abiotic stressors.