Infection

Mycoplasma pneumonia

A chest infection caused by Mycoplasma bacteria. It is often milder ('walking pneumonia') but can cause a lingering cough.

Mycoplasma pneumonia is a chest infection caused by Mycoplasma bacteria. It is a type of pneumonia, and a cough can linger afterwards.

What pneumonia feels like

Pneumonia is inflammation of the lungs, usually caused by an infection. You may have a cough, shortness of breath, a high temperature and chest pain. You may also have an aching body, tiredness and loss of appetite.

How it is treated

Bacterial pneumonia is usually treated with antibiotics. Finish the full course, even if you feel better. At home, rest, drink plenty of fluids and take paracetamol or ibuprofen if suitable for you. Avoid cough medicine, as coughing helps clear the infection, and do not smoke.

Most people feel better 2 to 4 weeks after starting treatment. Asthma + Lung UK says it can take up to 6 months or more to fully recover, and it varies from person to person.

When to get help

Get an urgent GP appointment or call NHS 111 if you have a cough, yellow or green phlegm, chest pain when breathing or coughing, or feel short of breath.

When to get urgent help

Call 999 or go to A&E if you have severe breathlessness, pale, blue or blotchy skin, lips or tongue, you cough up blood, or you suddenly feel confused. Do not drive yourself.

How I can help

If your cough lingers after a chest infection, I can arrange tests such as a chest X-ray, review your recovery and explain what the results mean.

Medically reviewed by Dr Sunil Patel, Consultant in Respiratory, General and Intensive Care Medicine. Last reviewed 19 October 2026.

Sources

  1. PneumoniaNHS, 2026
  2. PneumoniaAsthma + Lung UK, 2026

Find out more

This information is for general guidance only and is not a substitute for medical advice. If you are worried about your symptoms, please speak to your GP or specialist. If you have severe breathlessness, chest pain, blue lips or are coughing up large amounts of blood, call 999 or go to A&E.

24/7 AI secretary support via phone24/7 AI secretary support via phone24/7 AI secretary support via phone24/7 AI secretary support via phone
24/7 AI secretary support via phone24/7 AI secretary support via phone24/7 AI secretary support via phone24/7 AI secretary support via phone