Healthdirect Free Australian health advice you can count on.

Medical problem? Call 1800 022 222. If you need urgent medical help, call triple zero immediately

healthdirect Australia is a free service where you can talk to a nurse or doctor who can help you know what to do.

beginning of content

What is the difference between bacterial and viral infections?

3-minute read

Key facts

  • Bacteria are single cells that can survive on their own, inside or outside the body.
  • Viruses cause infections by entering and multiplying inside the host's healthy cells.
  • It can be difficult to know what causes an infection, because viral and bacterial infections can cause similar symptoms.
  • Antibiotics won't work for viral infections. Misusing antibiotics to treat viral infections contributes to the problem of antibiotic resistance.
  • Antibiotics won't cure viral infections.

How are bacteria different from viruses?

Bacteria and viruses are too tiny to see with the naked eye. They can cause similar symptoms and are often spread in the same way, but are different in most other ways.

Bacteria are single cells that can survive on their own, inside or outside the body. Most bacteria aren't harmful. In fact, you have many harmless and helpful bacteria on your skin and inside your body, especially in the gut to help digest food.

Viruses are smaller and are not cells. Unlike bacteria, they need a host such as a human or animal to multiply. Viruses cause infections by entering and multiplying inside the body's healthy cells.

How are bacterial infections different from viral infections?

It can be difficult to know what causes an infection, because viral and bacterial infections can cause similar symptoms. Your doctor may need a sample of your urine, stool or blood, or a swab from your nose or throat to see what sort of infection you have.

If you have symptoms on an infection, it is important to know if it is caused by bacteria or viruses, because the treatments differ.

Examples of bacterial infections include whooping cough, strep throat, ear infection and urinary tract infection (UTI).

Examples of viral infections include the common cold and flu, most coughs and bronchitis, chickenpox, monkeypox, COVID-19 and HIV/AIDS.

What treatment will I receive for bacterial and viral infections?

Treating a bacterial infection

Doctors usually treat bacterial infections with antibiotics. It's important to match the antibiotic with the specific type of bacterial infection you have. The right antibiotic will kill bacteria or stop them multiplying.

Antibiotic resistance is a growing problem in Australia and the world. It is caused, in part, by overuse of antibiotics in humans, animals and the environment. This is one of the reasons why your doctor will only prescribe antibiotics when they are confident that the benefits of treatment are greater than the risks.

Treating a viral infection

Antibiotics aren't effective against viral infections. If you have a viral infection, your doctor may recommend one or more of the following treatments:

  • rest at home to allow your immune system to fight the virus
  • managing symptoms, such as warm drinks or chicken soup to soothe your throat and stay hydrated
  • paracetamol to relieve fever
  • stopping viral reproduction using antiviral medicines, such as medicines for HIV/AIDS and cold sores
  • preventing infection in the first place, such as vaccines for flu and hepatitis

Learn more here about the development and quality assurance of healthdirect content.

Last reviewed: September 2022


Back To Top

Need more information?

These trusted information partners have more on this topic.

Top results

Infections – bacterial and viral - Better Health Channel

Many bacterial infections can be treated with antibiotics, but they are useless against viral infections.

Read more on Better Health Channel website

Antibiotic resistance: what you need to know | Children's Health Queensland

Imagine a future world where a case of tonsillitis could be life-threatening but there is nothing their doctor can do because antibiotics no longer work.

Read more on Queensland Health website

About antibiotics

Learn when antibiotics are really needed - for infections caused by bacteria, not viruses.

Read more on NPS MedicineWise website

Antibiotics - MyDr.com.au

Antibiotics attack bacteria - germs responsible for certain infections. Each antibiotic attacks different types of bacteria and will be useful for treating particular infections.

Read more on myDr website

Antibiotics and children - MyDr.com.au

Antibiotics: what are they and when does my child need them? Also, how to use antibiotics correctly and side effects of antibiotics.

Read more on myDr website

Meningitis in children - MyDr.com.au

Meningitis means inflammation of the meninges - the lining around the brain and spinal cord. It is usually caused by a bacterial or viral infection.

Read more on myDr website

Streptococcal sore throat | SA Health

Streptococcal sore throat is a bacterial infection of the throat and tonsils caused by Streptococcus pyogenes.

Read more on SA Health website

Infections - Liver Foundation

People with liver disease are much more likely than other people to get a bacterial infection (an infection caused by bacteria). The most common infections you might get are cellulitis (infection in the skin of the legs or belly) urinary tract infections, pneumonia, peritonitis (infection in ascites), dental infection or…

Read more on Liver Foundation website

Conjunctivitis | SA Health

Conjunctivitis is an inflammation of the lining of the eye and eyelid caused by bacteria, viruses, chemicals or allergies.

Read more on SA Health website

Fever: self-care - MyDr.com.au

Fever often occurs with a viral infection or with a bacterial infection. Normal body temperature is about 37 degrees C when measured by mouth.

Read more on myDr website

Healthdirect 24hr 7 days a week hotline

24 hour health advice you can count on

1800 022 222

Government Accredited with over 140 information partners

We are a government-funded service, providing quality, approved health information and advice

Australian Government, health department logo ACT Government logo New South Wales government, health department logo Northen Territory Government logo Queensland Government logo Government of South Australia, health department logo Tasmanian government logo Victorian government logo Government of Western Australia, health department logo

Healthdirect Australia acknowledges the Traditional Owners of Country throughout Australia and their continuing connection to land, sea and community. We pay our respects to the Traditional Owners and to Elders both past and present.