A wide range of diseases are caused by viral or bacterial infections, from everyday illnesses like the common cold and strep throat to life-threatening conditions like meningitis and tuberculosis. Some conditions are caused exclusively by viruses, others only by bacteria, and a few can be triggered by either type of pathogen. Understanding which is which matters because the treatments are fundamentally different: antibiotics work against bacteria but do nothing to viruses.
Diseases Caused by Viruses
Viruses are responsible for many of the most familiar infectious diseases. They work by entering your cells and hijacking the cell’s machinery to produce copies of themselves, essentially turning healthy cells into virus-producing factories. Because viruses can’t reproduce on their own, they always need a host.
Respiratory viruses cause the bulk of infections people deal with each year. The common cold (usually caused by rhinovirus), influenza, COVID-19, and RSV all fall into this category. These infections typically show up as a runny nose, cough, sore throat, low-grade fever, and fatigue. Influenza tends to hit harder, with intense body aches and higher fevers than a typical cold.
Beyond the respiratory tract, viruses are behind a long list of other conditions:
- Stomach and liver infections: Norovirus and rotavirus cause gastroenteritis (the “stomach flu”), while hepatitis viruses cause liver disease.
- Skin and rash illnesses: Chickenpox, measles, rubella, roseola, and mpox all produce characteristic skin rashes.
- Sexually transmitted infections: HIV, HPV (genital warts), genital herpes, and hepatitis B spread through sexual contact.
- Neurological infections: West Nile virus, polio, and rabies can infect the brain and nervous system.
- Hemorrhagic fevers: Ebola, dengue, yellow fever, and hantavirus cause severe bleeding-related illness.
- Congenital infections: Cytomegalovirus, rubella, and Zika virus can infect a developing fetus during pregnancy.
Most viral infections resolve on their own as the immune system clears the virus. Antiviral medications exist for some viruses and work by blocking the virus from attaching to cells, slowing its replication, or helping the immune system recognize and destroy it. These drugs only work while the virus is actively replicating, which is why early treatment matters for conditions like influenza and COVID-19.
Diseases Caused by Bacteria
Bacteria are living organisms that, unlike viruses, can reproduce on their own. When harmful bacteria enter the body, they multiply and can damage tissue directly or trigger an intense immune response. Bacterial infections tend to be more localized than viral ones, at least initially, often settling into a specific area like the throat, urinary tract, or skin.
Common bacterial infections include:
- Urinary tract infections (UTIs): One of the most frequent bacterial infections, especially in women.
- Strep throat: Particularly common in children, caused by group A Streptococcus.
- Food poisoning: Campylobacter and Salmonella are among the most common culprits.
- Skin infections: Cellulitis, boils, and impetigo are all bacterial.
- Sexually transmitted infections: Chlamydia and gonorrhea are caused by bacteria, not viruses.
- Respiratory infections: Whooping cough (pertussis), Legionnaires’ disease, and tuberculosis are bacterial.
- Tick-borne diseases: Lyme disease and Rocky Mountain spotted fever spread through tick bites carrying bacteria.
Antibiotics are the standard treatment for bacterial infections. They target structures or processes specific to bacteria, which is why they have no effect on viruses. Vaccines also exist for many bacterial diseases, including tetanus, whooping cough, diphtheria, and certain types of meningitis and pneumonia.
One growing concern is antibiotic resistance. Overuse and misuse of antibiotics has led to bacteria that no longer respond to standard treatments. Antibiotic-resistant infections killed at least 1.27 million people worldwide in 2019, according to a major study published in The Lancet, and were associated with nearly 5 million deaths that year. In the United States alone, treating just six common resistant germs found in healthcare settings costs more than $4.6 billion annually.
Conditions That Can Be Either Viral or Bacterial
Several common illnesses can be caused by either a virus or a bacterium, which is one reason they can be tricky to treat. The same set of symptoms may need completely different approaches depending on the underlying cause.
Pneumonia is a prime example. Viral pneumonia often develops after a cold or flu, while bacterial pneumonia can strike on its own or as a “secondary infection” that moves in after a virus has already weakened the lungs. Bacterial pneumonia generally produces higher fevers and more severe symptoms. Meningitis, an infection of the membranes surrounding the brain and spinal cord, can also be caused by either type. Bacterial meningitis is far more dangerous and can be fatal within hours. The bacteria responsible vary by age group: newborns are most at risk from Group B Strep and E. coli, while teens and young adults are more vulnerable to meningococcal bacteria, which can spread in close quarters like college dormitories.
Ear infections, sinus infections, and bronchitis also fall into this overlap category. In many cases, a viral infection comes first and creates conditions that let bacteria move in, leading to a secondary bacterial infection that may require antibiotics.
How to Tell the Difference
Distinguishing between a viral and bacterial infection based on symptoms alone is difficult, but there are patterns that help. Viral infections typically cause widespread symptoms: body aches, fatigue, runny nose, and a general feeling of being unwell. They usually run their course in 10 to 14 days. Bacterial infections are more likely to be focused in one area and tend to produce higher, more persistent fevers.
A few red flags suggest a bacterial infection rather than a viral one. If symptoms last longer than two weeks, if a fever gets worse after several days instead of improving, or if new symptoms appear (like ear pain developing days into a cold), bacteria are more likely involved.
When doctors need to confirm the cause, they have several tools. Blood tests can measure markers like C-reactive protein and neutrophil counts, both of which rise more sharply with bacterial infections. A protein called procalcitonin is particularly useful: its levels increase rapidly during bacterial infections but stay low during viral ones. Cultures of blood, urine, or other fluids can identify specific bacteria, while specialized viral tests can confirm a virus.
Why It Matters for Treatment
The single most important reason to distinguish between viral and bacterial infections is treatment. Antibiotics kill bacteria but are completely ineffective against viruses. Taking antibiotics for a viral infection does nothing to help you recover and contributes to the growing problem of antibiotic resistance.
For viral infections, treatment focuses on managing symptoms (rest, fluids, fever reducers) while the immune system does its work. Antiviral drugs are available for specific viruses like influenza, COVID-19, herpes, and HIV, but they need to be started early to be effective. For bacterial infections, the right antibiotic matched to the specific bacterium usually leads to noticeable improvement within a few days.
Prevention strategies also differ. Many viral diseases are prevented through vaccines (measles, chickenpox, flu, COVID-19), while bacterial diseases have their own set of vaccines (tetanus, whooping cough, certain types of meningitis and pneumonia). Basic hygiene, including handwashing and food safety, helps prevent both.