Serologic studies can provide important insights into the epidemiology and transmission of Pneumocystis jirovecii. Exposure to P. jirovecii can be assessed by serum antibody responses to recombinant antigens from the major surface glycoprotein (MsgC), although factors that influence the magnitude of the antibody response are incompletely understood. We determined the magnitudes of antibody responses to P. jirovecii in comparison to adenovirus and respiratory syncytial virus (RSV) in HIV-infected and uninfected patients and identified predictors associated with the magnitude of the response. We performed a cross-sectional analysis using serum samples and data from 153 HIV-positive and 92 HIV-negative subjects enrolled in a feasibility study of the Veterans Aging Cohort 5 Site Study (VACS 5). Antibodies were measured using an enzyme-linked immunosorbent assay (ELISA). Independent predictors of antibody responses were determined using multivariate Tobit regression models. The results showed that serum antibody responses to P. jirovecii MsgC fragments were significantly and independently decreased in current smokers. Antibodies to P. jirovecii also tended to be lower with chronic obstructive pulmonary disease (COPD), hazardous alcohol use, injection drug use, and HIV infection, although these results were not statistically significant. These results were specific to P. jirovecii and did not correlate with adenovirus. Antibody responses to RSV were in the inverse direction. Thus, current smoking was independently associated with decreased P. jirovecii antibody responses. Whether smoking exerts an immunosuppressive effect that affects the P. jirovecii antibody response, colonization, or subsequent risk for disease is unclear; prospective, longitudinal studies are needed to evaluate these findings further.