Airborne pathogens commonly trigger severe respiratory failure or death in smokers with lung disease. Cigarette smoking compromises the effectiveness of innate immunity against infections but the underlying mechanisms responsible for defective acquired immune responses in smokers remains less clear. We found that mice exposed to chronic cigarette smoke recovered poorly from primary Influenza A pneumonia with reduced type I and II interferons (IFNs) and viral-specific immunoglobulins, but recruited γδ T cells to the lungs that predominantly expressed interleukin 17A (IL-17A). Il-17a-/- mice exposed to smoke and infected with Influenza A also recruited γδ T cells to the lungs, but in contrast to wild-type mice, expressed increased IFNs, made protective influenza-specific antibodies, and recovered from infection. Depletion of IL-17A with blocking antibodies significantly increased T-bet expression in γδ T cells and improved recovery from acute Influenza A infection in air, but not smoke-exposed mice. In contrast, when exposed to smoke, γδ T cell deficient mice failed to mount an effective immune response to Influenza A and showed increased mortality. Our findings demonstrate a protective role for γδ T cells in smokers and suggest that smoke-induced increase in IL-17A inhibits the transcriptional programs required for their optimal anti-viral responses. Cigarette smoke induces IL-17A expression in the lungs and inhibits γδ T-cell-mediated protective anti-viral immune responses.