Demeclocycline works by inhibiting bacterial protein synthesis, thereby stopping the growth and multiplication of bacteria. It binds to the 30S ribosomal subunit, preventing the attachment of aminoacyl-tRNA to the mRNA-ribosome complex. This action is bacteriostatic rather than bactericidal.