Antibiotics treat diseases caused by bacteria, not viruses. That distinction is the single most important thing to understand about when antibiotics work. Bacterial infections like strep throat, urinary tract infections, bacterial pneumonia, certain skin infections, and sexually transmitted infections like chlamydia, gonorrhea, and syphilis all respond to antibiotic treatment. Common illnesses caused by viruses, including colds, the flu, COVID-19, and most sore throats, do not.
Why Antibiotics Only Work on Bacteria
Antibiotics target biological structures that bacteria have but human cells and viruses do not. Some antibiotics, like penicillin and amoxicillin, work by disrupting how bacteria build their cell walls. Bacteria depend on a rigid outer wall to survive, and when an antibiotic blocks the proteins responsible for assembling that wall, the bacterium dies. Other antibiotics interfere with a bacterium’s ability to copy its DNA or manufacture the proteins it needs to function. Viruses lack all of these structures. They’re essentially packets of genetic material that hijack your own cells to reproduce, which is why antibiotics have zero effect on viral infections.
Strep Throat
Strep throat is one of the clearest examples of a disease that requires antibiotics. It’s caused by Group A Streptococcus bacteria, and the standard treatment is a 10-day course of penicillin or amoxicillin. These remain the first-choice drugs because they’re effective, inexpensive, and cause relatively few side effects. For people with a penicillin allergy, alternatives are available.
What makes strep throat tricky is that most sore throats are actually viral. Only strep, confirmed by a rapid test or throat culture, calls for antibiotics. Treating a viral sore throat with antibiotics does nothing to speed recovery and contributes to resistance.
Urinary Tract Infections
Uncomplicated UTIs, the kind that cause burning during urination and a frequent urge to go, are bacterial infections that respond well to a short course of antibiotics. A typical treatment lasts just three days and clears the infection more than 90% of the time. Some options require a seven-day course or even a single dose, depending on the specific drug prescribed.
UTIs are among the most common bacterial infections, particularly in women. Left untreated, the infection can travel from the bladder to the kidneys and become significantly more serious, which is why prompt antibiotic treatment matters here.
Bacterial Pneumonia
Pneumonia can be caused by bacteria, viruses, or fungi, but the bacterial form is the type treated with antibiotics. Community-acquired bacterial pneumonia, the kind you pick up outside a hospital, is typically treated based on its severity. Milder cases can be managed with oral antibiotics at home, while severe cases may require treatment in a hospital with stronger or combination regimens. The key diagnostic step is a chest X-ray confirming the infection, which helps distinguish bacterial pneumonia from viral causes.
Skin Infections
Two common skin infections treated with antibiotics are impetigo and cellulitis.
Impetigo, which causes crusty, honey-colored sores and is especially common in children, often responds to a topical antibiotic ointment applied for five to seven days when the infection is limited to a small area. If the sores are widespread or not improving, oral antibiotics are the next step.
Cellulitis is a deeper skin infection that causes redness, swelling, warmth, and pain, usually on the legs. It’s treated with oral antibiotics for about five days in most cases. The specific antibiotic depends on whether the infection involves common strep bacteria or a more resistant type of staph. Cellulitis can spread quickly, so starting treatment early is important.
Sexually Transmitted Infections
Several common STIs are bacterial and fully curable with antibiotics. Chlamydia is treated with a seven-day course of an oral antibiotic. Gonorrhea is treated with a single injection. Syphilis, one of the oldest known bacterial infections, is still treated with a single injection of penicillin, the same drug class that has been effective against it for decades.
These infections are curable precisely because they’re bacterial. Viral STIs like herpes and HIV can be managed with antiviral medications but cannot be eliminated from the body in the same way.
Whooping Cough
Whooping cough (pertussis) is a highly contagious bacterial respiratory infection that causes intense coughing fits, sometimes severe enough to make breathing difficult. Antibiotics are most effective when started early in the illness. Even after symptoms have taken hold, antibiotics are still prescribed to reduce how long someone is contagious and to protect people around them, especially infants, who face the highest risk of complications.
Sinus and Ear Infections: It Depends
Sinus infections and middle ear infections can be caused by either viruses or bacteria, which is why antibiotics aren’t always the right call. Most sinus infections start as viral and clear up on their own. The CDC recommends watching and waiting for two to three days before considering antibiotics, giving your immune system a chance to handle it. Antibiotics become appropriate when symptoms last more than 10 days without improvement, get worse after initially getting better, or include a fever lasting more than three to four days.
The same logic applies to ear infections. Many resolve without antibiotics, particularly in older children and adults. Your doctor may write a prescription but suggest waiting a few days before filling it, a strategy called delayed prescribing.
Diseases That Don’t Need Antibiotics
The common cold, flu, COVID-19, most bronchitis in otherwise healthy people, and the vast majority of sore throats are all viral. Antibiotics will not shorten these illnesses or reduce their severity. Despite this, at least 28% of outpatient antibiotic prescriptions in the United States are considered unnecessary, according to the CDC.
This overprescription drives antibiotic resistance, a growing global health threat. The World Health Organization maintains a priority list of bacteria that have developed dangerous levels of resistance, including drug-resistant tuberculosis, certain strains of Salmonella and Staphylococcus aureus, and gonorrhea strains that are becoming harder to treat. Every unnecessary prescription accelerates this problem, making antibiotics less effective for the bacterial infections that genuinely need them.
How to Tell the Difference
You can’t always distinguish a bacterial infection from a viral one based on symptoms alone, but a few patterns help. Viral infections tend to affect multiple body systems at once (runny nose, cough, body aches, fatigue) and improve gradually over a week or so. Bacterial infections are more likely to be localized (one ear, one area of skin, the throat), produce thick or colored discharge, and either worsen over time or fail to improve after 10 days.
Testing makes the distinction clearer. A rapid strep test takes minutes. A urine culture confirms a UTI. A chest X-ray helps identify bacterial pneumonia. These simple tests are what separate appropriate antibiotic use from guesswork.

