A study found that while antibiotics like cephalexin and cloxacillin are frequently used to treat sebaceous cysts, they may not be very effective (20).