How Do You Know If It’s Viral or Bacterial?

Most infections that send you searching for answers, like colds, sore throats, and coughs, are viral. But telling the difference between a viral and bacterial infection based on symptoms alone is genuinely difficult, even for doctors. There’s no single symptom that reliably separates the two. Instead, the distinction comes from patterns: how the illness starts, how it progresses, how long it lasts, and sometimes what a lab test reveals.

Why the Difference Matters

Antibiotics kill bacteria. They do nothing against viruses. Taking antibiotics for a viral infection won’t help you recover faster, but it can cause side effects and contribute to antibiotic resistance. The CDC’s 2025 stewardship report found that antibiotic prescribing remains common for conditions that don’t need them, including acute bronchitis and viral upper respiratory infections. Most patients with uncomplicated sinus infections also recover without antibiotics. So figuring out what you’re dealing with isn’t just academic. It determines whether medication will actually help.

General Symptom Patterns

Viral infections tend to affect multiple body systems at once. You might have a runny nose, sore throat, cough, body aches, and fatigue all hitting together. The illness often peaks around days two through four and then gradually improves. Common colds, the flu, COVID-19, and most stomach bugs follow this pattern.

Bacterial infections are more likely to be localized. A single area, like one ear, one sinus, the throat, or one lung, becomes the main source of pain and inflammation. Bacterial infections also tend to come on more slowly or arrive after a viral illness has already started improving. The pain often feels more intense and focused than the widespread achiness of a virus.

That said, these are tendencies, not rules. Plenty of viral infections cause localized symptoms, and some bacterial infections cause widespread ones. Symptom patterns give you a starting point, not a diagnosis.

Fever Behavior

Both viral and bacterial infections cause fevers, so a fever alone tells you very little. What can be more informative is the pattern. Viral fevers often spike early, then slowly trend downward over a few days. A fever that starts improving and then suddenly returns, or one that appears for the first time after several days of illness, is more suspicious for a bacterial infection or a bacterial complication developing on top of a virus.

The Sore Throat Example

Sore throats are one of the most common situations where people wonder about viral versus bacterial. Around 70% to 85% of sore throats are viral. Strep throat, the main bacterial culprit, has a somewhat distinct presentation, and doctors use a scoring system called the Centor criteria to estimate the likelihood. You get one point for each of the following: fever at or above 38°C (100.4°F), no cough, swollen lymph nodes at the front of the neck, and white patches or swelling on the tonsils.

A score of zero or one makes strep very unlikely. A score of three or four makes it plausible enough to test for. The key giveaway in the criteria is what’s absent: cough. Strep throat rarely causes a cough. If you have a sore throat with a runny nose, cough, and hoarse voice, that’s almost certainly viral. If you have a sudden, severe sore throat with fever, swollen glands, and no cough, strep becomes a real possibility worth testing for.

Mucus Color Is Not a Reliable Clue

One of the most persistent beliefs is that green or yellow mucus means a bacterial infection. Research does not support this. A study in the Scandinavian Journal of Primary Health Care tested sputum samples from patients with acute cough and found that while discolored mucus showed a statistical correlation with bacterial infection, the specificity was only 46%. That means more than half of people with green or yellow mucus did not have a bacterial infection. The researchers concluded that sputum color is “only a very weak diagnostic marker” and should not be used to decide whether antibiotics are needed.

Green and yellow mucus usually just means your immune system is actively fighting something. White blood cells release enzymes that tint the mucus, whether the invader is a virus or a bacterium.

The “Double Sickening” Warning Sign

One of the most reliable indicators of a bacterial infection is a pattern called double sickening. You catch a virus, start feeling better after a few days, and then suddenly get worse again. New or worsening fever, increasing cough, chest pain, or shortness of breath after initial improvement can signal that bacteria have taken hold in tissue weakened by the virus.

This is how secondary bacterial pneumonia often develops after the flu. Data from the 2009 H1N1 pandemic showed that bacterial coinfection typically appeared within the first six days of influenza, though it can develop up to 14 days after other viral infections. Patients who developed secondary bacterial pneumonia had a more severe and prolonged course compared to those with the virus alone. If you’re getting better and then sharply worsen, that’s a meaningful change worth getting evaluated.

What Lab Tests Can Tell You

When symptoms alone aren’t enough, blood tests and other diagnostics can help clarify the picture.

A basic blood count looks at white blood cells. Your body deploys different types of white blood cells depending on the threat. Neutrophils primarily respond to bacterial infections, while lymphocytes ramp up during viral ones. A blood count showing elevated neutrophils points toward bacteria; elevated lymphocytes suggest a virus. This isn’t definitive on its own, but it adds a useful data point.

A more specific blood marker called procalcitonin has become increasingly useful. This protein rises significantly during bacterial infections but stays low during viral ones. Levels below 0.1 ng/mL have a 96.3% negative predictive value for bacterial infection, meaning if your procalcitonin is that low, there’s a very high chance you don’t have a bacterial cause. Levels above 0.25 to 0.5 ng/mL, depending on the type of infection, make bacteria more likely. Doctors use this marker most often when deciding whether to start or continue antibiotics for respiratory infections and sepsis.

C-reactive protein (CRP), another common blood marker, rises with inflammation but lacks the specificity to reliably distinguish bacterial from viral infections. It tells you something is going on, but not what.

Rapid Tests and Their Limits

For specific infections, rapid tests can give you a direct answer. Rapid strep tests detect bacterial proteins from a throat swab in minutes. Rapid antigen tests for COVID-19 and flu detect viral proteins. These are useful when positive, but their sensitivity varies.

CDC data from 2022 to 2023 found that rapid antigen tests for SARS-CoV-2 had an overall sensitivity of just 47% compared to PCR testing. Sensitivity improved to 56% on days with symptoms and jumped to 77% on days with fever. On days without symptoms, sensitivity dropped to just 18%. The practical takeaway: a positive rapid test is reliable, but a negative one doesn’t rule out infection, especially early in the illness or on days when symptoms are mild. PCR testing remains the gold standard for accuracy when a definitive answer matters.

Infections That Need Testing, Not Guessing

Some infections are important to test for rather than guess about. Strep throat needs a throat swab because untreated strep can, in rare cases, lead to complications affecting the heart and kidneys. Urinary tract infections need a urine culture to confirm bacteria and identify which antibiotic will work. Pneumonia often requires a chest X-ray plus blood work to guide treatment. Ear infections in young children are sometimes watched for a couple of days before deciding on antibiotics, since many resolve on their own.

For most common respiratory illnesses in otherwise healthy adults, the answer is simpler than you might expect. The vast majority are viral, they resolve on their own within seven to ten days, and the main job is managing symptoms while your immune system does the work. The situations that warrant testing or a closer look are the ones where symptoms are unusually severe, lasting well beyond the expected timeline, or following that double-sickening pattern of improvement followed by decline.