Most chest infections are viral and clear on their own. When antibiotics help, how long a cough lasts, and when to get help.
Most chest infections are caused by a virus and get better on their own, so antibiotics usually will not help. You may need antibiotics if it could be pneumonia, you are very unwell, or a health condition puts you at higher risk.
This guide explains the difference, what helps at home, how long it should last, and the signs that mean you need help today.
A chest infection is an infection of the lungs or the large airways. It often follows a cold or flu. There are two main types:
Common symptoms include:
Antibiotics kill bacteria. They do not work on viruses. Most coughs and chest infections start with a virus, such as a cold or flu.
NICE writes guidance for doctors in England. It advises against routine antibiotics for acute bronchitis in people who are not very unwell or at higher risk. Its guidance says antibiotics shorten the cough by only about half a day on average. They can also cause side effects, especially diarrhoea and feeling sick.
Green or yellow mucus is common with chest infections, including viral ones. On its own, the colour does not show that you need antibiotics. How unwell you feel, how breathless you are, and whether you are getting better or worse matter more.
Taking antibiotics you do not need also adds to antibiotic resistance. This can mean they do not work when you really need them. Our article Antibiotics: When They Help and When They Do Nothing explains more.
A GP is more likely to suggest antibiotics if:
Sometimes the right answer is a back-up prescription. You only use it if your symptoms get much worse, or get worse quickly. NICE suggests this for some people at higher risk of problems. The GP will explain exactly when to use it.
Read more in our answer to Is my chest infection bacterial or viral?
Do not give aspirin to children under 16. Do not let children breathe in steam from a bowl of hot water, because they could be scalded.
Help stop it spreading. Stay at home if you have a high temperature or do not feel well enough for your normal activities. Cover coughs and sneezes, bin tissues straight away, and wash your hands often.
Most symptoms get better in about 7 to 10 days. The cough and mucus can last up to 3 weeks. NICE says an acute cough usually settles within 3 to 4 weeks.
Slow improvement is normal. A cough that keeps getting worse is not. See a GP if you have had a cough for more than 3 weeks. Our persistent cough page explains the common causes.
If you are 40 or over, a cough that will not go away may need a chest X-ray. NICE advises an urgent chest X-ray for people aged 40 and over who have ever smoked and have an unexplained cough. The same applies to anyone aged 40 and over with 2 or more unexplained symptoms. These include a cough, tiredness, breathlessness, chest pain, weight loss and loss of appetite. A cough is rarely a sign of something serious like lung cancer, but this is how it is found early.
You have a chest infection and:
Ask for an urgent GP appointment or get help from NHS 111 if:
Call 999 or go to A&E if:
Call 999 if you have chest pain that does not go away, spreads to your arm, neck, jaw, back or stomach, or comes with sweating, feeling sick, light-headedness or breathlessness.
Call 999 if a baby or child is struggling to breathe, for example grunting, breathing quickly or their tummy sucks in under the ribs, or if they are floppy and will not wake or stay awake.
Do not drive yourself to A&E. Ask someone to drive you, or call 999 and ask for an ambulance.
A video or phone appointment can help decide whether you need antibiotics. The GP asks how long you have been ill, how breathless you feel and whether you are improving. Before the call, it helps to check your temperature and count your breaths for a full minute while resting.
We can:
What we cannot do: listen to your chest, or measure your oxygen level ourselves. If it sounds like pneumonia, or you are breathless at rest, you need to be seen in person. We will tell you so plainly. We cannot help in an emergency: call 999.
A consultation costs £45 for 20 minutes with a GMC-registered GP. Your NHS GP and NHS 111 can also help with a chest infection for free. Read more about our chest infection care and online GP consultations, or book an appointment here.
We checked this article against these sources. Last checked 12 October 2026.
Occasional plain-English health articles and practical advice from our GP, sent to your inbox. We use your email only to send this newsletter, never share it, and you can unsubscribe at any time.