Mefoxin (Cefoxitin) is an antibiotic. It is primarily used to treat bacterial infections which occur during, before or after certain injuries. Mefoxin is also an appropriate medication for preventing bacterial infections. This drug can work perfectly well when used alone. Mefoxin should not be used to treat fungal or viral infections.