Cotrimoxazole is a fixed-dose combination of trimethoprim and sulfamethoxazole that acts as a bactericidal agent. It works by sequentially blocking folate metabolism through inhibiting the enzymes THFRase by trimethoprim and DHFRase by sulfamethoxazole. Cotrimoxazole is effective against various bacteria including S. typhi, serratia, and enterobacter. It has a spectrum of activity against both gram-positive and gram-negative bacteria. Common adverse effects include allergic reactions, megaloblastic anemia due to folate deficiency, and blood dyscrasias. It is used to treat urinary tract infections, respiratory tract infections, typhoid