Skip to main content

Compare
Bactrim vs. Keflex

Head-to-head comparisons of medication uses, side effects, warnings, and more.

Key takeaways

Sulfamethoxazole/trimethoprim (Bactrim, Septra) and cephalexin (Keflex) are both antibiotics used to treat bacterial infections, but they belong to different classes. Sulfamethoxazole/trimethoprim is a combination of a sulfonamide and an antifolate, while cephalexin is a cephalosporin antibiotic. Sulfamethoxazole/trimethoprim is typically taken twice a day and can be used for a variety of infections, including UTIs, ear infections, and certain types of pneumonia. Cephalexin, on the other hand, is usually taken 2 to 4 times a day and is used for respiratory tract infections, skin infections, and bone infections, among others. Both medications are available in generic forms and can be taken as tablets, capsules, or liquid suspensions. However, sulfamethoxazole/trimethoprim is not recommended for people with sulfa allergies, while cephalexin may not be suitable for those with severe allergies to penicillin or other cephalosporins. Common side effects for both include nausea, vomiting, and diarrhea, but sulfamethoxazole/trimethoprim can also make your skin more sensitive to the sun.

Prices with our coupons for Bactrim vs. Keflex

Price Card Drug Icon
Sulfamethoxazole/Trimethoprim14 tablets / 800mg/160mg
$8.90$10.85
Get free coupons
More Information
Price Card Drug Icon
Cephalexin28 capsules / 500mg
$10.68$29.95
Get free coupons
More Information

Browse medications by letter

Show All

Browse prescription and over-the-counter medications from A to Z, compare drug prices, and start saving.