For general information only. This library does not replace advice, diagnosis or treatment from a qualified health professional. In an emergency, call 911.

Library / Conditions

Mycoplasma pneumonia (walking pneumonia)

A lung infection caused by the bacterium Mycoplasma pneumoniae, often mild enough that people keep up daily activities, which is why it is called walking pneumonia.

Clinician view: includes diagnostic criteria, management and safety detail.

Overview

Mycoplasma pneumonia is a lung infection caused by a tiny bacterium called Mycoplasma pneumoniae. Pneumonia means an infection of the lungs, where the small air sacs and airways become inflamed. Doctors also call it atypical pneumonia, because it often looks and feels different from the classic, sudden pneumonia caused by other germs.

Many people know it as walking pneumonia. That is because symptoms are often mild enough that you can still go to school or work, even though you feel run down and have a cough that will not go away. Most people get better fully, especially with rest and, when needed, the right antibiotic. A small number of people, including some young children, older adults and people with other health problems, can become more seriously ill.

Mycoplasma infections are common around the world. They happen all year but tend to rise in late summer and fall, and larger waves come every few years. Mycoplasma is one of the most common causes of pneumonia in school-age children, teenagers and young adults.

Symptoms

Symptoms usually start slowly, over several days, about 1 to 4 weeks after you breathe in the germ. They often begin like a cold or flu and then settle in the chest.

Common symptoms

  • A cough that is often dry (little mucus) and can last for weeks, sometimes after other symptoms have gone
  • Feeling very tired and worn out
  • Sore throat
  • Headache
  • Fever, often low-grade, and chills
  • Chest soreness, often from coughing
  • Runny or stuffy nose
  • Ear pain

In young children

Young children may have milder, cold-like symptoms, or they may wheeze, eat less, seem cranky or have trouble breathing. Mycoplasma can also trigger asthma flare-ups in children and adults who have asthma.

Symptoms outside the lungs

Less often, the infection affects other parts of the body. You may get a skin rash, joint aches or, rarely, painful sores in the mouth and eyes. These problems need a doctor's attention.

Causes and how it spreads

The bacterium Mycoplasma pneumoniae is unusual because it has no cell wall, the tough outer layer most bacteria have. This matters for treatment: some common antibiotics, such as amoxicillin and other penicillin-type medicines, work by attacking the cell wall, so they do not work against mycoplasma.

The germ spreads from person to person through droplets in the air when an infected person coughs or sneezes. Spreading usually takes close, repeated contact, so it moves easily through households, classrooms, college dorms, military barracks, camps and long-term care homes. Because the time between catching it and feeling sick is long, outbreaks can last for weeks or months.

Many people who catch mycoplasma only get a mild cold-like illness, called a chest cold or tracheobronchitis (inflammation of the windpipe and large airways). Only some develop pneumonia.

Risk factors

Anyone can get mycoplasma pneumonia, and you can get it more than once. Your chance of catching it or getting more seriously ill is higher if you:

  • Are a school-age child, teenager or young adult
  • Live or work in a crowded place, such as a school, dorm, military base or care home
  • Have recently had a respiratory illness, such as the flu
  • Have asthma or another long-term lung disease
  • Have a weakened immune system (from illness or medicines)
  • Have sickle cell disease, which can make the infection more severe

Diagnosis

A doctor or nurse practitioner will ask about your symptoms and listen to your chest with a stethoscope. Often, the diagnosis is made from your symptoms and the exam alone, especially when you are not very sick.

Tests may include:

  • Chest X-ray to look for pneumonia. With mycoplasma, the X-ray can look worse than you feel.
  • Swab test from the nose or throat, using a lab method called PCR (polymerase chain reaction), which finds the germ's genetic material. It is the most useful test for mycoplasma.
  • Blood tests to check for signs of infection, look for antibodies (proteins your immune system makes against the germ), or check for problems such as low red blood cells.
  • Oxygen level with a small clip on your finger (pulse oximeter).

Testing is more likely if you are very ill, in hospital, not getting better with treatment, or part of an outbreak.

Treatment

Many mild mycoplasma infections get better on their own. When pneumonia is diagnosed, or symptoms are more than mild, your clinician may prescribe an antibiotic. Antibiotics can shorten the illness, but the cough may still linger for a while.

Antibiotics used

  • Macrolides, such as azithromycin and clarithromycin, are the usual first choice, especially for children. They stop the bacteria from making the proteins they need to grow.
  • Tetracyclines, such as doxycycline, are another option, mainly for teens and adults. They also block the bacteria's protein-making.
  • Fluoroquinolones, such as levofloxacin or moxifloxacin, may be used in adults when other options are not suitable.

In some parts of the world, many mycoplasma germs no longer respond to macrolides (this is called antibiotic resistance). If you are not improving after a few days, your clinician may switch you to a different antibiotic. Take the full course exactly as prescribed, and do not stop early or change your medicine without talking to your clinician.

Hospital care

A small number of people need hospital care for oxygen, fluids or antibiotics given through a vein, or for treatment of complications.

Self-care and recovery

  • Rest. Fatigue can last several weeks. Ease back into school, work and exercise.
  • Drink plenty of fluids to stay hydrated and help loosen mucus.
  • Ease fever and aches with acetaminophen or ibuprofen, following the package directions or your pharmacist's advice. Do not give aspirin to children or teens.
  • Soothe your throat and cough with warm drinks, honey (only for children over 1 year old) and a humidifier. Ask a pharmacist before using cough medicines, especially for young children.
  • Avoid smoke, including second-hand smoke and vaping.
  • If you have asthma, keep using your controller medicines and follow your asthma action plan.

It is normal for a cough to linger for 2 to 6 weeks. If your breathing gets worse, or you start to improve and then get sicker, see your clinician.

Complications

Most people recover without lasting problems. Complications are uncommon but can include:

  • Worsening asthma or wheezing
  • Severe pneumonia, or fluid around the lungs (pleural effusion)
  • Ear infections and sinus infections
  • Skin rashes, and rarely a severe reaction with sores in the mouth, eyes and genitals (mycoplasma-induced rash and mucositis)
  • Hemolytic anemia, where the immune system breaks down red blood cells
  • Rarely, inflammation of the brain or nerves (encephalitis or Guillain-Barré syndrome), the heart, the liver, the pancreas or the joints

Outlook

The outlook is very good for most people. Fever and the worst symptoms often improve within 1 to 2 weeks, while tiredness and cough may take longer to clear. Deaths are rare and happen mostly in people who were already very ill or who develop serious complications. Having mycoplasma once does not give lasting protection, so you can catch it again.

Prevention

There is no vaccine for mycoplasma. You can lower the chance of catching or spreading it:

  • Wash your hands often with soap and water, or use alcohol-based hand sanitizer.
  • Cover your coughs and sneezes with a tissue or your elbow.
  • Stay home when you are sick, and keep sick children home until fever is gone and they feel well enough for normal activities.
  • Wear a mask around others if you are coughing, especially near people at higher risk.
  • Do not smoke.
  • Stay up to date on vaccines for other lung infections, such as flu, COVID-19 and pneumococcal vaccines, which can help prevent other kinds of pneumonia.

In Canada

In Canada, individual cases of mycoplasma infection are not nationally notifiable, but outbreaks in schools, child care centres or long-term care homes may be reported to your local public health unit, which can give advice on limiting spread. Coverage for prescribed antibiotics depends on your provincial or territorial drug plan or private insurance.

Diagnosis

Mycoplasma pneumoniae causes an estimated 10 to 40% of community-acquired pneumonia (CAP) in school-aged children and is a frequent cause in young adults; outbreaks occur in closed settings and epidemics recur every few years. Incubation is typically 2 to 3 weeks. Presentation is usually gradual: malaise, headache, pharyngitis, low-grade fever and prolonged non-productive cough. Examination findings are often modest relative to radiography, which may show patchy interstitial or reticulonodular infiltrates, often lower-lobe, and sometimes lobar consolidation or small effusions.

  • NAAT/PCR of nasopharyngeal or throat swab is the preferred test; carriage after infection can persist for weeks, so interpret with the clinical picture.
  • Serology (IgM, paired IgG) is mainly retrospective; IgM may be absent in adults with reinfection.
  • Cold agglutinins are non-specific and no longer recommended. Culture is slow and not routinely available.
  • Check CBC, bilirubin and LDH if hemolysis is suspected; assess for extrapulmonary disease (MIRM, SJS, encephalitis, myocarditis).

Management

Beta-lactams are inactive (no cell wall). The ATS/IDSA 2019 adult CAP guideline is pathogen-agnostic: for healthy outpatients it lists amoxicillin, doxycycline, or a macrolide (only if local pneumococcal macrolide resistance is under 25%), and for those with comorbidities a beta-lactam plus a macrolide or doxycycline, or respiratory fluoroquinolone monotherapy. When M. pneumoniae is confirmed or strongly suspected, use an agent with atypical activity (macrolide, doxycycline or fluoroquinolone), since amoxicillin alone will not cover it. For children, the PIDS/IDSA 2011 guideline recommends a macrolide when atypical infection is suspected; azithromycin 10 mg/kg on day 1 then 5 mg/kg daily on days 2 to 5. Adult azithromycin: 500 mg on day 1 then 250 mg daily for 4 days (or 500 mg daily for 3 days).

  • Macrolide resistance (23S rRNA mutations) exceeds 80% in parts of East Asia and is lower but variable in North America (roughly 10% in recent US data). Consider resistance if fever persists beyond 48 to 72 hours on a macrolide.
  • Alternatives: doxycycline (short courses acceptable in children under 8 per AAP guidance) or levofloxacin/moxifloxacin in adults and, when necessary, in children.
  • Cautions: macrolides and fluoroquinolones prolong QT; clarithromycin is a strong CYP3A4 inhibitor with many interactions; fluoroquinolones carry tendinopathy, aortic and dysglycemia warnings.
  • Severe or refractory pneumonia and MIRM may warrant specialist input; systemic corticosteroids are sometimes used, but evidence is limited.

Red flags: hypoxemia, respiratory distress, effusion or necrotizing pneumonia, mucocutaneous involvement, neurological signs, hemolysis, sickle cell disease. Prognosis is generally excellent; cough may persist for weeks. Immunity is incomplete and reinfection occurs.

When to get medical help

See a doctor or nurse practitioner if you or your child:

  • Has a cough that lasts more than 2 to 3 weeks, or is getting worse
  • Has a fever that lasts more than 3 days, or comes back after going away
  • Is not getting better after 2 to 3 days of antibiotics
  • Has a new rash, mouth sores, red eyes or joint pain
  • Has asthma that is harder to control

Go to emergency or call emergency services if you or your child:

  • Has trouble breathing, is breathing very fast, or the skin between the ribs pulls in with each breath
  • Has blue or grey lips, face or nails
  • Has chest pain that is severe or getting worse
  • Is very drowsy, confused, hard to wake, or has a seizure
  • Has painful blisters or sores in the mouth, eyes or skin
  • Cannot drink or keep fluids down, or shows signs of dehydration, such as very little urine

In an emergency, call 911.

References

  1. U.S. National Library of Medicine. MeSH: Mycoplasma Pneumonia. meshb.nlm.nih.gov
  2. CDC: Mycoplasma pneumoniae infection. cdc.gov/mycoplasma/index.html
  3. MedlinePlus: Pneumonia. medlineplus.gov/pneumonia.html
  4. Metlay JP, et al. Diagnosis and treatment of adults with community-acquired pneumonia: ATS/IDSA guideline. Am J Respir Crit Care Med. 2019. doi.org/10.1164/rccm.201908-1581ST
  5. Bradley JS, et al. Management of community-acquired pneumonia in infants and children older than 3 months: PIDS/IDSA guideline. Clin Infect Dis. 2011. doi.org/10.1093/cid/cir531