Most infections that send you searching for answers, like colds, sore throats, and coughs, are viral. Telling the difference between viral and bacterial isn’t always straightforward, but there are reliable patterns in how symptoms behave, how long they last, and how they change over time that can point you in the right direction.
Why the Distinction Matters
Antibiotics only work against bacteria. Taking them for a viral infection won’t help you recover faster and contributes to antibiotic resistance. So the question “viral or bacterial?” is really asking: do I need antibiotics, or will this resolve on its own? In many cases, both types of infection are self-limiting and clear up within about 14 days. But certain bacterial infections do need treatment to prevent complications, which is why recognizing the signs matters.
Duration and Pattern of Symptoms
The single most useful clue is how your symptoms behave over time. Viral infections typically follow a predictable arc: you feel progressively worse for a few days, hit a peak, then gradually improve. Bacterial infections are more likely to linger past the point where a virus would have cleared, or to follow a pattern doctors call “double worsening,” where you start to improve and then get noticeably sicker again.
For sinus infections specifically, clinical guidelines use three red flags to suspect a bacterial cause:
- Symptoms lasting more than 10 days without meaningful improvement
- High fever (over 102°F / 39°C) with thick nasal discharge or facial pain for 3 to 4 consecutive days at the start of the illness
- Double worsening: symptoms that improve, then get worse again within the first 10 days
If none of these apply, your sinus infection is almost certainly viral and will resolve without antibiotics.
What Fever Can and Can’t Tell You
Fever alone doesn’t reliably separate viral from bacterial infections. Both can cause fevers, and a high reading doesn’t automatically mean bacteria are involved. That said, some patterns are worth paying attention to.
Fever from a typical respiratory virus tends to last 3 to 5 days, though over 30% of people (especially children) run fevers for longer. Adenovirus infections can cause fevers lasting more than 7 days without any bacterial component at all. On the other hand, a fever above 102°F that persists beyond 3 days during a respiratory illness raises the likelihood of pneumonia or another bacterial complication. With stomach bugs, high fever (above 102°F) is more common in bacterial causes like food poisoning from certain bacteria, while viral gastroenteritis typically causes no fever or just a low-grade one.
The bottom line: fever duration and trajectory matter more than the number on the thermometer at any single moment.
Green Mucus Doesn’t Mean Bacterial
This is one of the most persistent misconceptions. Yellow or green nasal discharge does not reliably indicate a bacterial infection. White blood cells responding to any irritant, including viruses and even allergies, release enzymes containing iron, which tints mucus green. Mucus that sits in your sinuses while you sleep becomes more concentrated and darker. This happens whether the cause is viral, bacterial, or allergic.
Seasonal allergies alone can produce thick, yellow, or green discharge with no infection present at all. Most sinus symptoms are caused by viruses or allergies, not bacteria. So if your doctor isn’t impressed by the color of what’s coming out of your nose, that’s why.
Sore Throat: When to Suspect Strep
Most sore throats are viral. Strep throat, caused by group A streptococcus bacteria, has a specific cluster of signs that doctors use to decide whether testing is warranted. The classic criteria include:
- Fever of 100.4°F (38°C) or higher
- Swollen, tender lymph nodes at the front of your neck
- White patches or swelling on the tonsils
- No cough
Each sign present adds a point on a 0-to-4 scale. The more of these you have, the more likely strep becomes. The absence of cough is actually one of the most telling signs, because cough strongly suggests a viral cause. If you have a sore throat with a runny nose, cough, and hoarseness, that’s a classic cold. If you have a sore throat with fever, swollen glands, and no cough, a strep test is worth getting.
Coughs and Chest Infections
Acute bronchitis, the kind of cough that lingers for weeks after a cold, is caused by viruses in 85% to 95% of cases in healthy adults. This is true even when the cough is deep, productive, and sounds terrible. A viral cough can last 2 to 3 weeks and still be completely normal.
Pneumonia is the bigger concern. Bacterial pneumonia tends to come on more suddenly, with high fever, chills, and a cough that produces discolored phlegm. It often affects one specific area of the lung. Viral pneumonia typically develops more gradually, often following a cold, and tends to cause a drier cough with more diffuse symptoms. On a chest X-ray, bacterial pneumonia often shows up as a dense white area confined to one lobe, while viral pneumonia creates hazier, more scattered patterns across both lungs. But these aren’t absolute rules, and doctors sometimes need blood work or imaging to be certain.
How Doctors Confirm the Cause
When the clinical picture isn’t clear, doctors have blood markers that help. The two most commonly used are C-reactive protein (CRP) and procalcitonin. Both rise in response to inflammation, but procalcitonin is more specific to bacterial infections. In febrile infants, procalcitonin outperforms CRP at identifying serious bacterial infections. For adults, your doctor may order these tests if you’ve had a prolonged or worsening illness and they need to decide about antibiotics.
Rapid tests exist for specific infections. Strep throat can be confirmed in minutes with a rapid antigen test. Flu and COVID can be identified with nasal swabs. For urinary tract infections, a simple urine test detects bacteria. These targeted tests are far more useful than trying to guess based on symptoms alone when the picture is ambiguous.
Signs That Need Urgent Attention
Most infections, viral or bacterial, resolve without drama. But a bacterial infection that spreads to the bloodstream can cause sepsis, which is a medical emergency. The CDC identifies these warning signs:
- Confusion or disorientation
- Extreme pain or discomfort beyond what you’d expect
- Clammy or sweaty skin
- Rapid heart rate or weak pulse
- Shortness of breath
- Fever with shivering, or feeling very cold
These symptoms in combination, especially confusion or a rapid heart rate alongside fever, warrant immediate medical care. Sepsis progresses quickly, and early treatment dramatically improves outcomes.
A Practical Way to Think About It
Rather than trying to diagnose the exact cause at home, track how your illness evolves. Most viral infections peak around day 3 to 5 and then gradually improve over 7 to 14 days. If your symptoms are steadily getting better, even slowly, you’re likely on a normal viral trajectory. The signals that suggest something bacterial, or a bacterial complication on top of a virus, are symptoms that persist beyond 10 days without improvement, a second wave of worsening after you started feeling better, or a high fever that appears suddenly with localized pain (in your face, ear, or chest).
Keep in mind that many bacterial infections start as viral ones. A cold can set the stage for a bacterial sinus infection or ear infection days later. So even if you were told “it’s just a virus” at first, a significant change in your symptoms is worth a second look.

