The essentials
Viruses and bacteria: what differs?

The short answer
Viruses and bacteria are different groups of pathogens, and their treatments differ too: antibiotics work only for some bacterial infections and do not work against viruses. Even so, both groups can cause similar symptoms; a runny nose, sore throat or fever alone does not show which one is responsible. Examination, testing when needed and the course of the illness together make the distinction.
Care and treatment approach
Bacteria are single-celled living organisms. Many bacteria live in and on our bodies; most of them do not cause disease, and some (such as the “good” bacteria in the digestive system) are helpful. Disease-causing types include streptococci, staphylococci and some types of E. coli. Viruses are much smaller agents; they carry genetic material inside a protein coat and must enter living cells to multiply. The common cold, flu and COVID-19 are among the illnesses caused by viruses.
This difference in structure also shapes treatment. Antibiotics target bacteria and do not work for viral infections; there are separate antiviral medicines for some viral infections, and many viral diseases can be prevented by vaccination. In the United States, CDC states that colds, flu, most sore throats (except strep throat) and most chest colds (bronchitis) are caused by viruses and do not get better with antibiotics.
Not every bacterial infection needs antibiotics either. The immune system can clear some bacterial infections on its own; according to CDC, many sinus infections and some ear infections get better without antibiotics. That is why “bacteria detected” and “antibiotics needed” are different conclusions; the decision belongs to a doctor.
Unnecessary antibiotics will not help you but can still cause side effects: from mild problems such as rash and diarrhoea to severe allergic reactions, resistant infections and C. difficile diarrhoea. ECDC stresses that antibiotics also do not stop viruses from spreading to other people.
MedlinePlus / NLM ↗MedlinePlus / NLM ↗CDC ↗CDC ↗ECDC ↗What does the test show?
Symptoms often cannot tell the cause apart. According to CDC’s common cold fact sheet, nasal mucus is clear at first; after 2–3 days it may turn white, yellow or green, and this is normal and does not by itself mean you need an antibiotic. It can also be difficult, or even impossible, to tell a cold from flu by symptoms alone.
When needed, a doctor orders tests. Culture (growing bacteria in the laboratory), Gram stain and PCR (a test that looks for the genetic material of the pathogen) are among the tests used for bacterial infections. A result is not read alone; the organism, the specimen type and the clinical illness are assessed together. For example, most E. coli are harmless and part of a healthy gut, while some types can cause diarrhoea, urinary tract infection, pneumonia or sepsis. Finding E. coli in stool is not the same situation as a urinary tract infection or Shiga toxin-producing E. coli (STEC) diarrhoea.
In the United States, CDC advises patients to see a healthcare professional for: - trouble breathing or fast breathing - dehydration - fever lasting longer than 4 days - symptoms lasting more than 10 days without improvement - fever or cough that improves but then returns or worsens - worsening of a chronic medical condition
Contact the healthcare team right away if a baby younger than three months has a fever of 38 °C or higher. Call 112 for signs of sepsis such as confusion, very fast breathing, blue or blotchy skin, or a rash that does not fade when pressed.
CDC ↗MedlinePlus / NLM ↗CDC ↗NHS ↗Frequently asked questions
My mucus has turned green; do I need antibiotics?
Not on that basis alone. According to CDC, it is normal for mucus to turn white, yellow or green after 2–3 days of a cold, and this does not mean you need an antibiotic. See a doctor if symptoms last more than 10 days without improvement or improve and then get worse.
CDC ↗I have a high fever; does that mean it is bacterial?
No. Fever can occur with both viral and bacterial infections and does not identify the cause by itself. How long the fever lasts, the accompanying symptoms and the examination are assessed together. CDC advises seeing a healthcare professional for fever lasting longer than 4 days.
CDC ↗CDC ↗Do antibiotics stop a viral infection from spreading to others?
No. ECDC states that antibiotics do not prevent viruses from spreading to other people. To reduce spread, measures such as hand washing, covering the mouth and nose when coughing and staying home while sick are recommended.
ECDC ↗CDC ↗Is there no medicine at all for viral infections?
There are antiviral medicines for some viral infections, and many viral diseases can be prevented by vaccination. The common cold, however, has no cure and gets better on its own; rest and plenty of fluids can help. Decide with a doctor or pharmacist which medicine, if any, suits you.
MedlinePlus / NLM ↗CDC ↗Bring a question to your appointment
Do you think my symptoms are viral or bacterial, and what are you basing that on? Which symptom, or how many days without improvement, should make me come back?
International evidence, local decisions
Each source’s country is identified. Vaccine access, reimbursement, isolation and reporting rules vary. Use current guidance and your clinician’s advice in your country; English does not imply UK or US eligibility.
Sources and supporting evidence
- CDC · Healthy habits: antibiotic do’s and don’ts ↗
Country context: United States · Source checked:
- MedlinePlus / NLM · Bacterial infections ↗
Country context: United States · Source checked: · Source date: 2024-09-27
- CDC · Preventing and treating common cold (Be Antibiotics Aware fact sheet CS 336866-B) ↗
Country context: United States · Source checked:
- ECDC · Key messages for the general public — European Antibiotic Awareness Day ↗
Country context: European Union · Source checked:
- CDC · About Escherichia coli infection ↗
Country context: United States · Source checked: · Source date: 2024-05-14
- NHS · Sepsis ↗
Country context: United Kingdom · Source checked:
Related topics
Version and change history
- Written by
- Prof. Dr. Arif Atahan Çağatay
- Medically reviewed
- Prof. Dr. Arif Atahan Çağatay
- Reviewed on
- 15 October 2026
- Next review
- 15 April 2027
- Version
- 2.0.0
- — Medical and language review completed for this language version.
- — Sources re-reviewed; text expanded and frequently asked questions added.
- — First draft; medical and language review pending.
Doktorclub editorial content · Prepared with AI assistance and reviewed for medical accuracy and language. Information supports, but does not replace, clinical assessment. This guide does not diagnose or create a personal medication plan. Report a content correction · Editorial standards


