Bryophytes were among the first plants that colonized earth and they evolved key defense mechanisms to counteract microbial pathogens present in the new environment. Although great advances have been made on pathogen perception and subsequent defense activation in angiosperms, limited information is available in early divergent land plants. In this study, a transcriptomic approach uncovered the molecular mechanisms underlying the defense response of the bryophyte Physcomitrium patens against the important plant pathogen Botrytis cinerea. A total of 3.072 differentially expressed genes were significantly affected during B. cinerea infection, including genes encoding proteins with known function in angiosperm immunity and involved in pathogen perception, signaling, transcription, hormonal signaling, metabolic pathways such as shikimate and phenylpropanoid, and proteins with diverse role in defense against biotic stress. Similarly as in other plants, B. cinerea infection leads to downregulation of genes involved in photosynthesis and cell cycle progression. These results highlight the existence of evolutionary conserved defense responses to pathogens throughout the green plant lineage, suggesting that they were probably present in the common ancestors of land plants. Moreover, several genes acquired by horizontal transfer from prokaryotes and fungi, and a high number of P. patens-specific orphan genes were differentially expressed during B. cinerea infection, indicating that they are part of the moss immune response and probably played an ancestral role related to effective adaptation mechanisms to cope with pathogen invasion during the conquest of land.