Our Services
Medical Information
Helpful Resources
Published on: 3/7/2026
Persistent cough after time in the Southwest or other endemic areas may be from valley fever, a fungal lung infection that can keep airways inflamed and sensitive even after the initial illness improves.
There are several factors to consider, including who is at higher risk, which tests confirm it, when antifungals or inhalers are needed, and urgent warning signs; see complete details below to choose the right next steps with your clinician.
A persistent cough can be frustrating, exhausting, and sometimes frightening—especially if you live in or have traveled to the Southwest United States. One possible cause is valley fever, a lung infection that can linger and irritate your airways long after the initial illness.
Understanding why valley fever affects your lungs the way it does—and what to do next—can help you take practical, informed steps without unnecessary worry.
Valley fever, also known as coccidioidomycosis, is a fungal infection caused by Coccidioides organisms. These fungi live in dry soil in certain regions, particularly:
When soil is disturbed—by wind, construction, or farming—the microscopic fungal spores can become airborne. If inhaled, they settle in the lungs and can trigger infection.
Most people who inhale the spores either have no symptoms or develop mild, flu-like illness. However, some experience persistent respiratory symptoms, including a cough that lasts weeks or even months.
Your lungs are highly sensitive to inflammation. When the valley fever fungus enters the lungs, your immune system reacts quickly. This immune response is what causes most of the symptoms.
Here's what's happening inside your lungs:
The immune system recognizes the fungal spores as foreign invaders and launches an inflammatory response. This can cause:
Even after the infection starts to improve, inflammation may linger.
In some cases, the body forms small, organized clusters of immune cells (called granulomas) around the fungus. These can appear as lung nodules on imaging and may contribute to:
After a lung infection like valley fever, some people develop heightened airway sensitivity. This means:
If your cough continues weeks after recovering from valley fever, understanding whether you're experiencing Post-Infectious Airway Hypersensitivity could be an important next step—this free AI-powered symptom checker can help you identify whether your lingering symptoms match this common post-infection condition.
Valley fever often resembles the flu or pneumonia. Symptoms typically appear 1–3 weeks after exposure and may include:
In most otherwise healthy adults, symptoms improve over weeks to months. However, fatigue and cough can last longer.
While many cases are mild, valley fever can be more serious in some individuals. Higher-risk groups include:
In rare cases, the infection can spread beyond the lungs (disseminated disease), affecting:
This is uncommon but serious, which is why medical follow-up matters if symptoms persist or worsen.
If you have a persistent cough and possible exposure to dusty desert environments, your doctor may consider valley fever. Diagnosis often involves:
Valley fever is sometimes mistaken for bacterial pneumonia. If antibiotics did not help your symptoms, that may be a clue that a fungal infection is involved.
Treatment depends on severity.
Many healthy people with mild valley fever improve without antifungal medication. Doctors may recommend:
If symptoms are significant or prolonged, antifungal medications such as fluconazole may be prescribed. Treatment can last:
It's important not to stop antifungal medication without speaking to your doctor.
Even after the infection itself is under control, coughing can continue. Common reasons include:
In some cases, inhalers or anti-inflammatory medications may help calm irritated airways.
A lingering cough does not automatically mean the infection is worsening—but it does deserve medical attention if it is not improving.
While most cases of valley fever are manageable, seek medical care promptly if you experience:
These could signal complications or another serious condition. If symptoms feel severe or life-threatening, seek emergency care immediately.
If your cough has lasted more than 3 weeks and you live in or traveled to a valley fever region, consider:
If you've already been diagnosed with valley fever but still have symptoms, follow-up testing may be needed to confirm improvement.
Complete prevention isn't always possible in endemic areas, but you can reduce risk by:
For most people, everyday outdoor activity does not need to stop—but awareness helps.
Valley fever is a fungal lung infection that can cause a persistent cough due to inflammation and immune response in the lungs. While many cases are mild, some require antifungal treatment and close monitoring.
If your cough lingers after infection, post-infectious airway hypersensitivity may be contributing. A free, online symptom check for Post-Infectious Airway Hypersensitivity can offer helpful insight into ongoing airway irritation.
Most importantly:
A persistent cough deserves attention—but with proper evaluation and care, most people recover and return to normal activities. If you have any symptoms that could be serious or life-threatening, seek medical care right away.
(References)
* Wang Y, Jin B, Zhao S, Zhou M, Wang Y. Pulmonary Coccidioidomycosis: A Comprehensive Review. Front Med (Lausanne). 2023 Nov 21;10:1288052. PMID: 38069502.
* Komatsu T, Nakamura S, Okubo A, Kitagawa M, Yamasaki M, Yamada T, Kawano N, Ishihara S, Kinjo T, Konishi H. Current aspects of pulmonary coccidioidomycosis. J Fungi (Basel). 2023 Feb 15;9(2):247. PMID: 36836230.
* Shah A, Rivas-Perea S, Garcia-Mendoza L, Thompson GR 3rd. Advances in the Diagnosis and Treatment of Coccidioidomycosis. J Fungi (Basel). 2023 May 16;9(5):577. PMID: 37233866.
* Ampel NM, Frelinger JA, Galgiani JN. Coccidioidomycosis: An Update for Clinicians. Clin Infect Dis. 2021 Dec 6;73(11):e3871-e3878. PMID: 33458763.
* Galgiani JN, Ampel NM, Blair JD, Catanzaro A, Johnson RH, Mirels HL, Perlman AM, Richardson MD, Ostrosky-Zeichner L, Walsh TJ, Smith JA; Infectious Diseases Society of America. Coccidioidomycosis: 2016 Clinical Practice Guidelines by the Infectious Diseases Society of America (IDSA). Clin Infect Dis. 2016 Sep 15;63(7):e1-e57. PMID: 27150244.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.