Mechanism of action
Sulfamethoxazole competitively inhibits dihydropteroate synthase, the enzyme responsible for bacterial conversion of PABA to dihydrofolic acid. Inhibition of this pathway prevents the synthesis of tetrahydrofolate and, ultimately, the synthesis of bacterial purines and DNA, resulting in a bacteriostatic effect.