What Are the 7 Types of Antibiotics and Their Uses

There isn’t one official list of exactly seven antibiotic types, but seven classes come up most often because they account for the vast majority of prescriptions: penicillins, cephalosporins, macrolides, fluoroquinolones, tetracyclines, sulfonamides, and aminoglycosides. Each class works through a different mechanism, targets a different range of bacteria, and carries its own set of side effects. Beyond these seven, additional classes like carbapenems and glycopeptides play critical roles in hospitals, especially against drug-resistant infections.

All antibiotics work against bacteria, not viruses. They either kill bacteria directly or stop them from reproducing so your immune system can finish the job. What separates one class from another is how it attacks bacterial cells and which types of bacteria it reaches.

Penicillins

Penicillins are the oldest and most widely prescribed class of antibiotics. They work by disrupting the construction of bacterial cell walls. When bacteria try to grow or divide, penicillins block the proteins responsible for building that wall, and the bacteria break apart.

The original forms, penicillin G and penicillin V, are still used today for strep throat and certain other infections. Because some bacteria learned to produce enzymes that destroy basic penicillin, newer versions were developed. Amoxicillin and ampicillin have a broader reach against different species. Others, like oxacillin and nafcillin, were specifically engineered to resist those bacterial enzymes. Amoxicillin is one of the most commonly prescribed antibiotics in the world, particularly for ear infections, sinus infections, and urinary tract infections.

Cephalosporins

Cephalosporins are chemical relatives of penicillins. They share the same core structure (called a beta-lactam ring) and attack bacterial cell walls in a similar way, but they cover a wider range of bacteria and are organized into five generations.

First-generation cephalosporins are strongest against common skin and soft-tissue bacteria. Each successive generation shifts the balance, picking up more effectiveness against harder-to-treat bacteria while sometimes giving up a little potency against simpler ones. Third-generation cephalosporins, for example, are a go-to for serious infections caused by bacteria like E. coli and Klebsiella. Fourth-generation drugs cover an even broader spectrum, including some hospital-acquired bacteria that resist earlier generations. The newest group, sometimes called fifth-generation or anti-MRSA cephalosporins, can treat methicillin-resistant Staphylococcus aureus, a notoriously difficult infection.

Macrolides

Macrolides work by a completely different strategy. Instead of targeting the cell wall, they slip inside the bacterium and interfere with its ability to build proteins. Specifically, they bind to the machinery bacteria use to assemble proteins and stall the process at critical steps. Without new proteins, the bacteria can’t grow or repair themselves.

Azithromycin (often sold as a Z-pack) and erythromycin are the most familiar macrolides. They’re commonly prescribed for respiratory infections like bronchitis and pneumonia, as well as skin infections and some sexually transmitted infections. Macrolides are a frequent alternative for people who are allergic to penicillin. They also have mild anti-inflammatory properties, which is one reason they’re sometimes used for chronic lung conditions beyond just clearing bacteria.

Fluoroquinolones

Fluoroquinolones target bacterial DNA. They block the enzymes bacteria need to copy and repair their genetic material, which kills the bacteria quickly. This makes them effective against a wide range of infections, from urinary tract infections to pneumonia.

Despite their effectiveness, fluoroquinolones carry significant safety concerns. The FDA has added its strongest warning (a boxed warning) noting that these drugs are associated with potentially permanent side effects involving tendons, muscles, joints, nerves, and the central nervous system. Tendon rupture, nerve damage, and lasting joint pain have all been reported. Because of these risks, the FDA advises that fluoroquinolones should not be a first choice for common conditions like sinus infections, bronchitis flare-ups, or uncomplicated urinary tract infections when other antibiotics are available. They’re now generally reserved for situations where no safer alternative will work.

Tetracyclines

Tetracyclines stop bacteria from building proteins by blocking a different part of the protein-assembly machinery than macrolides target. This prevents the bacteria from growing and spreading, giving your immune system time to clear the infection.

They’re used for acne, respiratory infections, Lyme disease, and certain sexually transmitted infections. Doxycycline, the most commonly prescribed tetracycline today, is also used to prevent malaria in travelers. One important restriction: tetracyclines should not be taken by pregnant women, as they can harm the developing fetus. Children under age 8 should also avoid them because tetracyclines can permanently stain developing teeth. These aren’t rare side effects or theoretical risks; they’re well-established enough that doctors will choose a different class for these groups almost without exception.

Sulfonamides

Sulfonamides were actually the first commercially available antibiotics, predating penicillin. They work by mimicking a molecule bacteria need to produce folic acid, which is essential for bacterial growth. The drug competes with the real molecule and blocks the enzyme responsible for making folic acid. Without it, bacteria can’t reproduce.

In modern medicine, the most commonly used sulfonamide is sulfamethoxazole, almost always prescribed in combination with trimethoprim (a pairing often called co-trimoxazole or by the brand name Bactrim). This combination attacks folic acid production at two different steps, making it more effective than either drug alone. It’s a standard treatment for urinary tract infections, certain types of pneumonia, and some skin infections caused by MRSA. Sulfonamides also remain heavily used in veterinary medicine.

Aminoglycosides

Aminoglycosides are powerful antibiotics that bind to bacterial protein-building machinery and cause it to misread genetic instructions. This doesn’t just slow bacteria down; it produces defective proteins that actively damage the bacterial cell. The result is rapid, concentration-dependent killing, meaning the higher the drug level, the faster bacteria die.

This potency comes with a cost. Aminoglycosides carry well-known risks of kidney damage and hearing loss. The kidney effects are often reversible if caught early, but damage to hearing and balance can be permanent. Risk increases with higher doses, longer treatment courses (especially beyond three days), older age, and preexisting kidney problems. Certain people also carry a genetic predisposition that makes them especially vulnerable to hearing damage. Because of these risks, aminoglycosides are primarily used in hospitals for serious infections, particularly those caused by bacteria resistant to safer options, and blood levels are carefully monitored during treatment.

Other Classes Worth Knowing

The seven classes above cover the antibiotics most people will encounter, but several other classes play vital roles, especially in hospital settings. Carbapenems are among the most powerful antibiotics available and are reserved for infections that resist nearly everything else. They share the same beta-lactam structure as penicillins and cephalosporins but can overcome many of the resistance mechanisms bacteria have developed against those drugs.

Glycopeptides, with vancomycin as the best-known example, have been a frontline defense against serious drug-resistant infections for over 50 years. Newer versions like dalbavancin and oritavancin can even treat some infections that have become resistant to vancomycin itself. Oxazolidinones represent another class developed specifically for resistant bacteria, particularly MRSA and other gram-positive infections that don’t respond to older drugs. These classes are rarely prescribed for routine infections, but they’re essential tools when standard antibiotics fail.

Why Antibiotic Class Matters

Knowing which class an antibiotic belongs to has practical value. If you’ve had an allergic reaction to one penicillin, you may react to others in the same class, and there’s a small chance of cross-reactivity with cephalosporins since they share a similar chemical structure. Telling your doctor the specific drug that caused a reaction helps them choose a safe alternative from a different class.

Class also determines side-effect profile. The tendon and nerve risks specific to fluoroquinolones don’t apply to macrolides. The tooth-staining effect of tetracyclines doesn’t happen with penicillins. And the kidney and hearing risks of aminoglycosides aren’t a concern with sulfonamides. When your doctor chooses an antibiotic, they’re weighing which class best targets your infection while carrying the fewest risks for your particular situation.