Timedora

Anti-Infective Medicines: Classes and Uses

A practical guide to the major antibacterial, antiviral, and antifungal medicine classes, their typical uses, and why treatment must fit the organism and the individual infection.

Start with the Organism—and the Specific Case

Start with the Organism—and the Specific Case

Choosing an anti-infective begins with identifying the likely cause: bacteria, viruses, or fungi. Antibiotics target bacteria, antivirals target particular viruses, and antifungals target fungi. The medicine’s class is a useful starting point, but it does not by itself show that a particular drug will work for a particular infection.

A practical way to reason about the choice is to identify the likely organism, consider a class used for that organism and infection, and then check whether the specific medicine fits the case. That check can depend on test results and susceptibility or resistance patterns, where the infection is and how severe it is, allergies, interactions, other patient factors, and local guidance.

For example, antibiotics do not treat viral illnesses such as the common cold. More generally, unnecessary or mismatched treatment can cause harm and contribute to drug resistance. These principles help explain why class names are not a substitute for case-specific treatment decisions.

Antibacterial Medicines

Antibacterial Medicines

Antibiotics treat selected bacterial infections by killing bacteria or stopping their growth. They do not treat viral illnesses such as the common cold. The table gives examples of classes and some of their uses; the specific drug and likely organism matter.

Examples of antibacterial classes
ClassExamplesSelected uses
Penicillins (beta-lactams)Amoxicillin, penicillin V, dicloxacillinSelected streptococcal infections; some respiratory or ear infections; dicloxacillin for susceptible staphylococcal infections
Cephalosporins (beta-lactams)Cephalexin, cefuroxime, ceftriaxoneSelected skin, respiratory, urinary, or serious bacterial infections, depending on the drug
MacrolidesAzithromycin, clarithromycinSelected respiratory or atypical bacterial infections; azithromycin also for some chlamydial infections
TetracyclinesDoxycyclineSelected tick-borne, atypical respiratory, and skin infections, among other uses
Sulfonamide combinationTrimethoprim-sulfamethoxazoleSome urinary and skin infections when the likely organism is susceptible
FluoroquinolonesCiprofloxacin, levofloxacinSelected infections, including some urinary or respiratory infections; organism and safety considerations matter
GlycopeptidesVancomycinSerious infections caused by certain gram-positive bacteria, including some resistant strains
Carbapenems (beta-lactams)MeropenemSelected severe or resistant infections, usually in healthcare settings
Examples of antibacterial classes and selected uses; these examples are not a prescribing guide.

Penicillins, cephalosporins, and carbapenems are all beta-lactams. Their shared mechanism is interference with bacterial cell-wall formation. This shared class feature does not mean every beta-lactam treats the same bacteria: for instance, cephalosporins vary in their spectrum, so the class name alone cannot establish whether a drug fits an infection.

The examples are not a prescribing guide. Some sinus and ear infections do not require antibiotics, and treatment depends on the suspected or identified bacteria and the specific case.

Antiviral Medicines

Antiviral Medicines

Antivirals act against particular viruses or stages of viral replication; there is no single antiviral that treats every viral infection. Some are used to treat or prevent selected infections, and some work best when started early. The examples below show why the virus matters when identifying an antiviral option.

Examples of antiviral groups
GroupExamplesSelected uses
Influenza neuraminidase inhibitorsOseltamivir, zanamivir, peramivirInfluenza A and B
Influenza polymerase inhibitorBaloxavirInfluenza A and B
Herpesvirus nucleoside analoguesAcyclovir, valacyclovirHerpes simplex; appropriate drugs in this group are also used for shingles caused by varicella-zoster virus
HIV antiretroviralsReverse-transcriptase inhibitors, including NRTIs; integrase inhibitors; protease inhibitorsCombined medicines target different steps in viral replication for ongoing HIV control
COVID-19 antiviralsNirmatrelvir with ritonavir; remdesivirCOVID-19 in eligible patients; selection depends on clinical factors and treatment timing
Examples of virus-specific antiviral groups and their uses. COVID-19 treatment choice depends on eligibility, clinical factors, and timing.

HIV treatment illustrates a different pattern from treatment of a short-course illness: combinations of antiretroviral medicines target different steps in viral replication for ongoing control. Influenza antivirals are virus-specific and are not interchangeable with medicines used for COVID-19. COVID-19 antiviral selection also depends on clinical factors and treatment timing.

Antifungal Medicines

Antifungal Medicines

Antifungals treat fungal infections ranging from localized skin or yeast infections to serious infections affecting internal organs. They may be topical, oral, or intravenous. The infection’s site and severity, as well as the fungus, affect which drug and route are appropriate.

Examples of antifungal classes
ClassExamplesSelected uses
AzolesClotrimazole, miconazole, fluconazole, itraconazoleTopical azoles for some skin or vaginal yeast infections; selected oral azoles for candidiasis and other fungal infections
AllylaminesTerbinafineDermatophyte infections such as athlete’s foot, ringworm, and some nail infections
PolyenesNystatin, amphotericin BNystatin for some localized Candida infections; amphotericin B for selected serious, invasive fungal infections
EchinocandinsMicafungin, caspofunginSelected invasive Candida infections, commonly in hospital care
Examples of antifungal classes and selected uses. The examples do not imply that the medicines are interchangeable.

These classes are not interchangeable. For example, a cream used for a localized skin infection is not a substitute for treatment of invasive fungal disease. Some serious fungal infections need prolonged therapy and specialist-guided treatment.