Hypersensitivity pneumonitis is a lung disease triggered by repeated inhalation of specific substances that provoke an overblown immune response in the lung tissue. Unlike a simple allergy that causes sneezing or watery eyes, this condition inflames the tiny air sacs deep in the lungs, and if exposure continues, it can scar those tissues permanently. The causes range from mold spores in hay to proteins shed by pet birds, and the symptoms can mimic everything from the flu to more serious fibrotic lung diseases, which is why it often goes unrecognized for months or years.
What Triggers It
The underlying cause is always some inhaled substance, called an antigen, that the immune system learns to overreact to. Hundreds of antigens have been linked to hypersensitivity pneumonitis, but in practice, a handful of exposure scenarios account for most diagnosed cases.
One of the best-known forms is farmer’s lung, caused by breathing in mold spores from damp or poorly stored hay. Studies of the microorganisms in problem hay have found significantly elevated levels of specific fungi and thermophilic bacteria compared to hay that does not cause illness.1PubMed. Farmer’s lung disease and microbiological composition of hay: a case-control study The disease has been recognized for decades and remains common in farming communities where hay is handled regularly.2PubMed Central. Farmer’s Lung Disease
Bird fancier’s lung is equally well established. People who keep pigeons, parrots, budgerigars, or even backyard chickens can inhale fine particles of avian protein found in feather dust and droppings. This is considered one of the most common forms of hypersensitivity pneumonitis worldwide.3PubMed. Bird fancier’s lung: a state-of-the-art review The tricky part is that exposure can be indirect: feather-filled pillows and duvets have been implicated, so someone who has never owned a bird can still develop the disease.4PubMed Central. Bird Fancier’s lung: An underdiagnosed etiology of dyspnea
A more recently recognized cause is exposure to metalworking fluids, the coolants and lubricants used in machining operations. These fluids can harbor bacteria and mycobacteria, and aerosolized droplets in poorly ventilated workshops reach the deep lung easily. In fact, metalworking fluid exposure has become the most commonly recognized cause of occupational hypersensitivity pneumonitis, having been rare before the year 2000.5PubMed. Hypersensitivity Pneumonitis Due to Metalworking Fluid Aerosols One well-documented case involved a machine operator in an automotive factory whose illness was traced to reservoirs of cutting oil contaminated with mycobacteria; his lung function declined further each time he was re-exposed.6PubMed Central. Hypersensitivity pneumonitis associated with environmental mycobacteria
Beyond these major categories, the list of potential culprits is long: mold from water-damaged buildings, certain chemical compounds used in manufacturing, even bacteria growing in contaminated hot tubs or humidifiers. The common thread is that the antigen must be small enough to travel deep into the lungs and that the person must be exposed repeatedly.
What Happens Inside the Lungs
Hypersensitivity pneumonitis is not a simple allergic reaction. The immune response unfolds in overlapping phases. In the first hours after inhaling the antigen, the body mounts an immune-complex-driven reaction: fluid and inflammatory cells flood into the air sacs, causing swelling and inflammation of the tiny blood vessels in the lung walls.7European Respiratory Journal. The alveolitis of hypersensitivity pneumonitis Over the next day or so, the response shifts toward a cell-driven reaction, where immune cells that are normally tasked with killing infected cells accumulate in the lung tissue. If exposure continues over weeks and months, a delayed-type reaction can take hold, producing clusters of immune cells called granulomas that form around the inhaled material.7European Respiratory Journal. The alveolitis of hypersensitivity pneumonitis Understanding that the disease involves multiple arms of the immune system, rather than a single allergic pathway, helps explain why it behaves so differently from asthma or hay fever.8PubMed. Hypersensitivity pneumonitis
Recognizing the Symptoms
The symptoms depend heavily on how intense and how prolonged the exposure has been. In the acute form, which develops within hours of a heavy exposure, you can feel like you have a sudden, severe flu. Chills, fever, sweating, muscle aches, and headache hit first, followed by cough, chest tightness, and shortness of breath.9PubMed Central. Hypersensitivity pneumonitis: an overlooked cause of cough and dyspnea These episodes typically resolve within a day or two if you stop breathing in the offending substance, which is part of the reason they are so easy to mistake for a viral illness. People who experience this pattern over and over, feeling terrible after cleaning out a barn or spending time in a bird loft and then recovering, may never connect their symptoms to the environment.
With ongoing low-level exposure, a more insidious picture emerges. Cough and breathlessness develop gradually over weeks or months, often with fatigue and weight loss. A doctor listening to the chest may hear fine crackling sounds during inhalation, sometimes described as “Velcro” crackles because they sound like hook-and-loop tape being pulled apart.3PubMed. Bird fancier’s lung: a state-of-the-art review Because these symptoms creep in slowly and overlap with many other respiratory conditions, it is not unusual for the correct diagnosis to be delayed for months or longer.
Fibrotic Versus Nonfibrotic Disease
Doctors used to classify hypersensitivity pneumonitis on a timeline: acute, subacute, and chronic. That framework is being replaced. Major guidelines now recommend splitting the disease into fibrotic and nonfibrotic categories instead, because the presence or absence of scarring (fibrosis) in the lungs is what actually predicts how someone will do over time.10CHEST. Diagnosis and Evaluation of Hypersensitivity Pneumonitis: CHEST Guideline and Expert Panel Report The international guideline from the American Thoracic Society and partner organizations adopted this same two-category system, because chronic disease does not always follow an earlier acute episode, and only a subset of people with long-standing disease will develop fibrosis.11American Journal of Respiratory and Critical Care Medicine. Diagnosis of Hypersensitivity Pneumonitis in Adults: An Official ATS/JRS/ALAT Clinical Practice Guideline
Nonfibrotic hypersensitivity pneumonitis is the more treatable form. The lung inflammation has not yet become permanent scarring, so removing the antigen and, if needed, a course of medication can lead to substantial improvement. Fibrotic disease is more concerning: the scarring is irreversible, lung function tends to worsen over time, and outcomes begin to resemble other serious fibrotic lung conditions. In one study, patients with a high degree of fibrosis on imaging had a mean survival time of roughly five years, compared with more than twelve years for those with lower fibrosis scores.12PubMed Central. Fibrosis score predicts mortality in patients with fibrotic hypersensitivity pneumonitis
How It Is Diagnosed
There is no single test that confirms hypersensitivity pneumonitis. Diagnosis relies on fitting together a set of clues: the exposure history, the symptoms, imaging findings, sometimes blood tests, and occasionally a lung biopsy.
High-resolution CT scanning of the chest is usually the most informative early step. In nonfibrotic disease, the scan typically shows hazy patches of ground-glass opacity, small poorly defined nodules centered on the airways, and a patchwork pattern called mosaic attenuation, where some areas of the lung appear lighter because of trapped air.13PubMed. Hypersensitivity pneumonitis: spectrum of high-resolution CT and pathologic findings In fibrotic disease, those findings are overlaid with signs of scarring such as reticular lines, traction on the airways, or honeycomb-like cysts.10CHEST. Diagnosis and Evaluation of Hypersensitivity Pneumonitis: CHEST Guideline and Expert Panel Report
Blood tests for specific antibodies against suspected antigens can be helpful but have real limitations. For bird-related disease, modern tests show reasonable accuracy, with sensitivity ranging from about 68% to 100% and specificity from 72% to 100% depending on the method used. Farmer’s lung antibody tests perform a bit less well, and testing for fungal antigens like Aspergillus is even less reliable.14PubMed. Diagnostic accuracy of serological tests and biomarkers for hypersensitivity pneumonitis: A systematic review One study found that standard antibody panels often did not match the actual antigen in a patient’s home or workplace, raising questions about how useful off-the-shelf panels really are.15PubMed. Hypersensitivity pneumonitis and antigen identification–An alternate approach A positive antibody test confirms that you have been exposed and sensitized to a particular substance, but it does not prove that substance is causing lung disease, since plenty of exposed people produce antibodies without getting sick.
Bronchoalveolar lavage, a procedure where fluid is washed into a section of lung and collected for analysis, is sometimes performed during a bronchoscopy. Hypersensitivity pneumonitis typically produces a high proportion of lymphocytes in that fluid, often with a characteristic shift in immune cell subtypes.16PubMed. Bronchoalveolar lavage in hypersensitivity pneumonitis: a series of 139 patients However, in fibrotic disease, the lymphocyte count is frequently lower and many patients do not reach the diagnostic threshold of 30% or more.17PubMed Central. Bronchoalveolar lavage lymphocytosis in hypersensitivity pneumonitis: a retrospective cohort analysis with elimination of incorporation bias
Lung biopsy is reserved for cases where other tests have not settled the diagnosis. The classic biopsy pattern includes airway-centered inflammation, small poorly formed granulomas, and a general interstitial pneumonia. In about three-quarters of biopsied cases, all three features appear together.18PubMed. Granulomas and giant cells in hypersensitivity pneumonitis In advanced fibrotic disease, the biopsy can look nearly identical to other fibrotic lung conditions, making it difficult even for experienced pathologists to distinguish hypersensitivity pneumonitis from other diagnoses.19PubMed. Hypersensitivity pneumonia: the role of lung biopsy in diagnosis and management
Why It Gets Mistaken for Other Conditions
Fibrotic hypersensitivity pneumonitis is one of the great mimics in pulmonary medicine. On imaging and under the microscope, it can look remarkably similar to idiopathic pulmonary fibrosis (IPF), a more common condition that carries a worse prognosis and is treated differently. Distinguishing these two can be genuinely challenging.20European Respiratory Journal. A Comparative Study of outcomes between Idiopathic Pulmonary Fibrosis and Fibrotic Hypersensitivity Pneumonitis One imaging clue that helps is the “headcheese sign,” a specific patchwork pattern on CT where areas of different lung density sit side by side. This sign is highly specific for fibrotic hypersensitivity pneumonitis, meaning it rarely appears in IPF, though it is only moderately sensitive, appearing in about half of confirmed cases.21European Respiratory Journal. Variable utility of mosaic attenuation to distinguish fibrotic hypersensitivity pneumonitis from idiopathic pulmonary fibrosis
Getting the distinction right matters because the treatment strategies differ. Hypersensitivity pneumonitis responds to antigen avoidance and anti-inflammatory therapy, while IPF does not respond to immunosuppression and is managed with antifibrotic drugs alone. A person misdiagnosed with IPF when they actually have hypersensitivity pneumonitis could miss the chance to identify and remove the offending exposure, which is by far the most effective intervention available.
Treatment Starts with Removing the Cause
The single most important step in managing hypersensitivity pneumonitis is figuring out what is causing it and stopping the exposure. That sounds straightforward, but in practice it is often the hardest part. The antigen might be a beloved pet, a person’s entire livelihood, or hidden mold in a home that is not obvious to the occupant. An environmental hygienist may be needed to assess indoor spaces and identify subtle sources of exposure.22European Respiratory Review. Diagnosis, course and management of hypersensitivity pneumonitis
The payoff of successful antigen removal is substantial. In nonfibrotic disease, more than half of patients who identified and removed the antigen showed a meaningful improvement in lung function. Even in fibrotic disease, about one in six patients improved, and those who removed the antigen had better transplant-free survival than those who could not identify or remove the cause.23PubMed Central. Effect of antigen removal in hypersensitivity pneumonitis
When antigen avoidance alone is not enough, corticosteroids are the next line of defense. They suppress the immune-driven inflammation and can slow fibrotic progression, particularly in patients whose scarring has not yet become extensive.24PubMed Central. Efficacy of treatment with corticosteroids for fibrotic hypersensitivity pneumonitis: a propensity score-matched cohort analysis For patients with progressive fibrotic disease, antifibrotic medications originally developed for IPF are now being used. Nintedanib has been approved for progressive fibrotic interstitial lung diseases, and early case series suggest that adding it to immunosuppressive therapy may reduce the rate of lung function decline beyond what either approach achieves alone.25PubMed Central. Addition of antifibrotic therapy to immunosuppression in hypersensitivity pneumonitis: A case series In the most advanced cases, lung transplantation becomes the final option.
Not Just an Occupational Disease
Because so many of the classic triggers are workplace exposures, hypersensitivity pneumonitis has historically been thought of as an adult occupational disease. That framing misses a significant portion of cases. Home environments are full of potential antigens: pet birds, indoor mold from water damage, feather bedding, even contaminated humidifiers or hot tubs. And the disease is not limited to adults.
Children can develop hypersensitivity pneumonitis, though it is rare enough that it often goes undiagnosed for a long time. In children, the most common triggers are bird antigens and household mold.26Annals of Agricultural and Environmental Medicine. Hypersensitivity pneumonitis in children The clinical picture tends to be subtler than in adults, often presenting as a gradual onset of cough and breathlessness with exercise rather than the dramatic flu-like episodes seen in adult acute cases.27PubMed Central. Pediatric hypersensitivity pneumonitis: literature update and proposal of a diagnostic algorithm Because doctors do not always consider hypersensitivity pneumonitis in children, and because a child’s respiratory complaints are easily attributed to asthma or recurrent infections, the diagnosis can be delayed long enough for real lung damage to accumulate.
Why Some Exposed People Get Sick and Others Do Not
One of the puzzling features of hypersensitivity pneumonitis is that only a minority of people exposed to a given antigen actually develop the disease. A barn full of farmworkers breathes the same moldy hay, but only a few get farmer’s lung. A household shares the same pet bird, but only one family member becomes ill. This unevenness points to host factors, particularly genetics, playing a significant role.
Research on families where multiple members developed the disease has identified certain immune-system genes that appear more frequently in affected individuals. In one study of familial cases among Mexican patients, specific gene variants in the major histocompatibility complex, the region of the genome that shapes how the immune system recognizes foreign substances, were significantly more common in affected family members than in healthy controls. One particular combination of gene variants carried roughly a sevenfold increase in susceptibility.28PubMed. Genetic susceptibility to multicase hypersensitivity pneumonitis is associated with the TNF-238 GG genotype of the promoter region and HLA-DRB1*04 bearing HLA haplotypes Smoking status also plays a counterintuitive role: nonsmokers are actually more likely to develop hypersensitivity pneumonitis than smokers who face the same antigen exposure. The reasons are not fully understood, but it may relate to how smoking suppresses certain immune responses in the lung.
Pulmonary Rehabilitation in Advanced Disease
For people living with advanced fibrotic hypersensitivity pneumonitis, medications and antigen avoidance can only do so much. Pulmonary rehabilitation, a structured program of supervised exercise, breathing techniques, and education, has become a key part of managing the daily reality of the disease. The goal is not to reverse the scarring but to improve exercise tolerance, reduce breathlessness during everyday activities, and maintain quality of life for as long as possible. In patients with very low oxygen levels, high-flow nasal cannula therapy can be used at home to make rehabilitation sessions safer and more tolerable, allowing people to exercise at higher intensities than they otherwise could.29International Journal of Rehabilitation Research. DOMICILIARY HFNC-SUPPORTED PULMONARY REHABILITATION IN ADVANCED FIBROTIC HYPERSENSITIVITY PNEUMONITIS: A CASE REPORT This kind of supportive care does not change the underlying disease trajectory, but for someone struggling with the breathlessness and fatigue of progressive fibrosis, even modest gains in functional capacity can make a meaningful difference in daily life.