Boils are caused by bacteria, usually Staphylococcus aureus, entering the skin through hair follicles or tiny breaks. Preventing them comes down to three things: keeping the bacteria off your skin, avoiding the small wounds that let bacteria in, and supporting your body’s ability to fight infection before it takes hold. If you’ve had one boil, your risk of getting another is higher, so prevention matters even more.
Daily Hygiene That Actually Helps
Staph bacteria live naturally on the skin and inside the nose of about one in three people. That’s normal, but it means prevention starts with reducing the amount of bacteria you carry. Wash your hands frequently throughout the day, and shower after exercise or heavy sweating. Sweat itself doesn’t cause boils, but it creates a warm, moist environment where bacteria multiply faster.
Never share towels, washcloths, or razors. These items pick up bacteria from your skin and transfer them directly to the next person, or back to a different part of your own body. Use a clean towel each time you shower, and wash used towels and washcloths in hot water. The CDC recommends washing linens at a minimum of 160°F (71°C) for at least 25 minutes to reliably kill staph bacteria.
How You Shave Matters
Shaving is one of the most common ways bacteria get under the skin. Every razor stroke can create microscopic nicks in the skin surface, and a multi-blade razor cuts hair below the skin line, which increases the chance of ingrown hairs and subsequent infection. If you’re prone to boils in areas you shave, switching to an electric clipper with a guard set to leave at least 1 mm of hair makes a significant difference.
Before shaving, soak the area with warm water. This swells the hair shaft and produces a blunter tip when cut, reducing the chance it will curl back into the skin. Always shave in the direction of hair growth, not against it. Don’t pull the skin taut while shaving, because that encourages the cut hair to retract below the surface and grow back into the follicle. And never dry-shave with a blade. Shaving dry skin with a razor produces sharp, angled hair tips that are more likely to pierce surrounding skin as they grow.
Cleaning Your Environment
Staph bacteria can survive on surfaces for days. Focus your cleaning efforts on surfaces that touch bare skin: bathroom counters, shared gym equipment, sports mats, and bed linens. You don’t need specialty products. Regular household bleach, detergent-based cleaners, or any EPA-registered disinfectant effective against Staphylococcus aureus will do the job. For bleach solutions, mix one quarter cup of standard 5.25% to 6% bleach in one gallon of water.
Shared gym equipment should be wiped down after each use and allowed to dry completely before the next person touches it. If you play contact sports or use shared mats, cover any open cuts or scrapes with a bandage before your session. Repair or replace any equipment with cracked or peeling surfaces, since damaged materials can’t be properly disinfected. The CDC notes that a targeted approach of cleaning high-touch surfaces works just as well as large-scale disinfection of an entire facility.
What to Do If Boils Keep Coming Back
Recurrent boils often mean your body is carrying staph bacteria in specific reservoirs. The most common colonization sites are the inside of the nostrils, the skin folds, the groin area, and the digestive tract. When bacteria live in these spots, they keep reseeding the skin even after a boil heals.
For people with recurring infections, doctors often recommend a structured decolonization routine. This typically involves a combination of an antibiotic ointment applied inside the nostrils, antiseptic body washes, and thorough daily decontamination of personal items like towels, sheets, and clothing. A common protocol runs for five days, with the nasal ointment applied twice daily and the body wash used once daily. Some dermatologists recommend dilute bleach baths as an alternative to antiseptic washes.
If boils keep appearing in the same spot, that’s a signal to look deeper. A recurring abscess at a single site can indicate an underlying structural problem like a pilonidal cyst, a condition called hidradenitis suppurativa, or even a small foreign body trapped under the skin.
Blood Sugar and Immune Function
Your immune system’s first line of defense against staph bacteria is a type of white blood cell called a neutrophil. When bacteria invade the skin, neutrophils swarm to the site, wall off the infection, and kill the bacteria. Anything that weakens neutrophil function increases your risk of boils.
Diabetes is one of the biggest risk factors. Poorly controlled blood sugar impairs the immune response at every level. Research on older adults with type 2 diabetes found that those with HbA1c levels between 8% and 9% had a 33% higher risk of hospitalization for skin and soft tissue infections compared to those with tighter glucose control. People with HbA1c below 8% had roughly the same infection rate regardless of whether they were in the 6% to 7% or 7% to 8% range, suggesting that keeping HbA1c below 8% is a meaningful threshold for skin infection prevention.
Beyond diabetes, other conditions that suppress immune function raise boil risk: HIV, chemotherapy, long-term steroid use, kidney disease, and severe malnutrition.
Nutritional Gaps Worth Checking
Two nutrients show up repeatedly in people with chronic skin infections: zinc and vitamin D. Both play direct roles in skin repair and immune function. People with recurrent inflammatory skin conditions tend to have lower zinc levels than average, and supplementing with zinc has been shown to reduce severity in up to 80% of patients with chronic skin conditions like hidradenitis suppurativa, which shares some features with recurrent boils.
Vitamin D deficiency is also common in people with recurring skin infections. Vitamin D helps regulate hair follicle cycling and skin cell turnover, both of which matter for keeping follicles healthy and resistant to bacterial invasion. If you’re dealing with recurrent boils, asking your doctor to check your zinc and vitamin D levels is a reasonable step. Correcting a deficiency won’t guarantee boils stop, but it removes one factor working against you.
A Practical Prevention Checklist
- Shower after sweating and use a clean towel every time.
- Wash linens in hot water at 160°F (71°C) or higher.
- Don’t share personal items like razors, towels, or washcloths.
- Shave with the grain using warm water and avoid multi-blade razors if you’re prone to boils.
- Clean high-touch surfaces with bleach solution or EPA-registered disinfectant.
- Cover any cuts or scrapes with a bandage, especially before sports or gym use.
- Keep blood sugar controlled if you have diabetes, aiming for HbA1c below 8%.
- Check zinc and vitamin D levels if boils keep recurring despite good hygiene.
- Ask about decolonization if you’ve had three or more boils in a year.

