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?

6-minute read

Key facts

  • Both bacteria and viruses can cause infections.
  • Because viral and bacterial infections can cause similar symptoms, it can be difficult to know what is causing your infection.
  • Antibiotics do not work for viral infections.
  • Similarly, antivirals do not cure infections caused by bacteria.

What is a bacterial infection?

A bacterial infection is an infection that’s caused by bacteria.

Bacteria are single cell organisms. They are so small that you can’t see them without magnification.

Your body is full of bacteria. In fact, it’s thought that your body has more bacteria than human cells. Most bacteria are harmless, and some are even helpful. The bacteria in your gut helps you to digest food.

Some examples of bacterial infections are:

What is a viral infection?

Like bacteria, viruses can cause infections.

Viruses are very small and live inside host cells. Viruses cause infections when they multiply inside your cells.

Viruses can be spread to other people by:

  • tiny droplets from your nose or mouth
  • vomit
  • faeces (poo)

Some examples of viral infections are:

How are bacterial and viral infections diagnosed?

It can sometimes be difficult to know what is causing an infection. This is because viral and bacterial infections can cause similar symptoms.

To see what sort of infection you have, your doctor will ask you about your symptoms. They may also examine you and may organise tests of your:

ASK YOUR DOCTOR — Preparing for an appointment? Use the Question Builder for general tips on what to ask your GP or specialist.

How are bacterial and viral infections treated?

It’s important to know if your infection is caused by bacteria or viruses. This is because the treatments differ.

Treating a bacterial infection

Doctors usually treat bacterial infections with antibiotics. It's important to use the right antibiotic for each type of bacterial infection. The right antibiotic will kill the bacteria or stop processes that they need to live and grow.

Antibiotic resistance is a growing problem in the world. It’s important that you take antibiotics exactly as your doctor or pharmacist tells you.

Your doctor will only prescribe antibiotics when they think the treatment will be of help.

LOOKING FOR A MEDICINE? — To search by brand name or active ingredient, use the Medicines information search feature.

Treating a bacterial infection

Viral infections can’t be treated with antibiotics.

If you have a viral infection, your doctor may suggest:

Antiviral medicines can be used to treat some viral infections.

Notifiable disease and contact tracing

Some infections that are caused by bacteria or viruses are notifiable. This means that your doctor or the pathology service must tell the health authorities. This is to help control and stop the spread of infectious diseases.

Depending on your condition, you may be contacted by the health authorities. This is so that they can do contact tracing. Contact tracing helps them understand how you became sick and offer treatment to other people who may also be sick.

FIND A HEALTH SERVICE — The Service Finder can help you find doctors, pharmacies, hospitals and other health services.

Can bacterial and viral infections be prevented?

Many diseases that are caused by bacteria or viruses can be prevented by vaccination. These are known as vaccine-preventable diseases.

Many of these vaccinations are free through the National Immunisation Program Schedule.

Good hygiene practices can help to lower your chances of getting sick from bacteria or viruses. Good hygiene practices can also help lower your chance of spreading infections. You should:

  • wash your hands often
  • not share cups, drink bottles or cutlery
  • cough or sneeze into your elbow
  • use tissues and throw them in a bin as soon as you have used them

Resources and support

Learn which diseases are notifiable in Australia, on the Department of Health and Aged Care website.

If you are worried that you have an infection, you can call the healthdirect helpline on 1800 022 222 (known as NURSE-ON-CALL in Victoria). A registered nurse is available to speak with 24 hours a day, 7 days a week.

Other languages

Health Translations has information on antibiotic resistance in languages other than English.

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

Last reviewed: September 2024


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 resources for consumers - Choosing wisely

Antibiotics resources for consumers, including background information about antibiotics, useful links and information

Read more on Choosing Wisely Australia 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

Antibiotic resistance: the facts - NPS MedicineWise

Read the facts that bust some common misconceptions about antibiotic use and antibiotic resistance.

Read more on NPS MedicineWise website

About antibiotics

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

Read more on NPS MedicineWise website

Antimicrobial resistant bacteria - Better Health Channel

Careful prescribing of antibiotics will minimise the emergence of antibiotic resistant strains of bacteria.

Read more on Better Health Channel 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 MyDoctor 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 MyDoctor website

Cellulitis - myDr.com.au

Cellulitis is a bacterial infection of the skin. The infection can spread quickly and become very dangerous and so cellulitis requires treatment with antibiotics.

Read more on MyDoctor website

Gram stain | Pathology Tests Explained

A Gram stain is a laboratory procedure used to detect the presence of microrganisms, especially bacteria, in a sample taken from the site of a suspected infe

Read more on Pathology Tests Explained 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.