The lung immune response consists of various cells involved in both innate and adaptive immune processes. Innate immunity participates in immune resistance in a nonspecific manner, whereas adaptive immunity effectively eliminates pathogens through specific recognition. It was previously believed that adaptive immune memory plays a leading role during secondary infections; however, innate immunity is also involved in immune memory. Trained immunity refers to the long-term functional reprogramming of innate immune cells caused by the first infection, which alters the immune response during the second challenge. Tissue resilience limits the tissue damage caused by infection by controlling excessive inflammation and promoting tissue repair. In this review, we summarize the impact of host immunity on the pathophysiological processes of pulmonary infections and discuss the latest progress in this regard. In addition to the factors influencing pathogenic microorganisms, we emphasize the importance of the host response. K E Y W O R D S adaptive immunity, innate immunity, lung infection, trained immunity Highlights • Innate and adaptive immune responses constitute the basic mechanism of lung anti-infection immunity. • The classical adaptive immune response confers long-term and pathogenspecific protection. • Trained immunity enhances inflammatory and antimicrobial properties in a nonspecific manner.