In this study, we explored the B cell transcriptome profiles and BCR repertoires in mouse lungs before and after Pneumocystis infection to investigate the immune mechanisms underlying the responsiveness to the pathogen. Here, BCR is linked to Pneumocystis infectious disease.