Lipocalin 2 (LCN2) is a secreted glycoprotein with roles in multiple biological processes. It contributes to host defense by interference with bacterial iron uptake and exerts immunomodulatory functions in various diseases. Here, we aimed to characterize the function of LCN2 in lung macrophages and dendritic cells (DCs) using Lcn2-/- mice. Transcriptome analysis revealed strong LCN2-related effects in CD103+ DCs during homeostasis, with differential regulation of antigen processing and presentation and antiviral immunity pathways. We next validated the relevance of LCN2 in a mouse model of influenza infection, wherein LCN2 protected from excessive weight loss and improved survival. LCN2-deficiency was associated with enlarged mediastinal lymph nodes and increased lung T cell numbers, indicating a dysregulated immune response to influenza infection. Depletion of CD8+ T cells equalized weight loss between WT and Lcn2-/- mice, proving that LCN2 protects from excessive disease morbidity by dampening CD8+ T cell responses. In vivo T cell chimerism and in vitro T cell proliferation assays indicated that improved antigen processing by CD103+ DCs, rather than T cell intrinsic effects of LCN2, contribute to the exacerbated T cell response. Considering the antibacterial potential of LCN2 and that commensal microbes can modulate antiviral immune responses, we speculated that LCN2 might cause the observed influenza phenotype via the microbiome. Comparing the lung and gut microbiome of WT and Lcn2-/- mice by 16S rRNA gene sequencing, we observed profound effects of LCN2 on gut microbial composition. Interestingly, antibiotic treatment or co-housing of WT and Lcn2-/- mice prior to influenza infection equalized lung CD8+ T cell counts, suggesting that the LCN2-related effects are mediated by the microbiome. In summary, our results highlight a novel regulatory function of LCN2 in the modulation of antiviral immunity.