A class of antibiotics refers to a group of antibiotic molecules possessing either a similar chemical structure (chemical class) or similar mode of action (functional class).

Chemical and functional classes of antibiotics are often used interchangeably. For example, β-lactams and fluoroquinolones are chemical classes of antibiotics, whereas their functional classes are cell wall synthesis inhibitors and DNA gyrase inhibitors, respectively.