What to Do for Nail Infections: Treatments That Work

Nail infections fall into two main categories, and the right treatment depends entirely on which type you have. Fungal infections change the nail’s appearance slowly over weeks or months, while bacterial infections around the nail fold cause rapid pain and swelling within days. Here’s how to identify what you’re dealing with and what actually works to treat it.

Fungal vs. Bacterial: Telling Them Apart

A fungal nail infection (onychomycosis) typically starts as a white or yellow spot under the tip of the nail. Over time, the nail thickens, becomes brittle, and may darken or develop a crumbly edge. It’s painless at first and progresses slowly. Toenails are affected far more often than fingernails because feet spend more time in warm, damp environments.

A bacterial infection of the nail fold (paronychia) looks completely different. You’ll notice redness, swelling, and tenderness along the skin next to or at the base of the nail, usually appearing two to five days after some kind of minor trauma like a hangnail tear, aggressive cuticle trimming, or a splinter. Pressing on the swollen area may produce pus. The most common culprit is Staphylococcus aureus.

There’s also a chronic version of paronychia that develops over six weeks or more, often in people whose hands are frequently wet, like dishwashers, bartenders, or healthcare workers. The cuticle separates from the nail plate, the nail becomes ridged and discolored, and the surrounding skin stays persistently red and puffy. This form is driven by ongoing irritation and moisture exposure rather than a single infection.

First Steps for a Bacterial Nail Infection

If the skin around your nail is red, swollen, and tender but you don’t see a visible pocket of pus, warm soaks are the first line of defense. Soak the affected finger or toe in warm water for 10 to 15 minutes, three to four times a day. This draws circulation to the area and can help a mild infection resolve on its own.

If pus is visible or the swelling doesn’t improve after a couple of days of soaking, you’ll need medical attention. A doctor can drain the infected area and prescribe an oral antibiotic. In areas where antibiotic-resistant staph is common, the antibiotic choice may be adjusted based on local resistance patterns. Don’t try to lance or squeeze an abscess yourself, as this can push bacteria deeper into the tissue.

Over-the-Counter Options for Fungal Nails

Several topical antifungal treatments are available without a prescription, but their success rates are modest. The most studied option, ciclopirox 8% nail lacquer, has a clinical cure rate of only 6% to 9% for toenails when applied daily for 48 weeks. Newer prescription-only topical options perform somewhat better: efinaconazole 10% achieves cure rates of 15% to 18%, while tavaborole 5% falls in the 6.5% to 9% range.

These numbers are worth knowing because they set realistic expectations. Topical treatments work best for mild infections that affect less than half the nail and haven’t reached the base (the matrix). If your nail is severely thickened or the infection covers most of the nail surface, a topical alone is unlikely to clear it.

When Oral Medication Is Needed

For moderate to severe fungal nail infections, oral antifungal medication is significantly more effective than topicals. The standard course is one pill daily for 6 weeks for fingernail infections and 12 weeks for toenail infections. Even after you finish the medication, the nail won’t look normal right away. You’re waiting for a healthy nail to grow out and replace the damaged one, which can take 6 months for fingernails and 12 to 18 months for toenails.

The oral medication does carry a small risk of liver irritation. Current guidelines suggest that healthy adults under 65 without pre-existing liver problems don’t routinely need blood monitoring during treatment. Older patients and those with liver conditions benefit from baseline and periodic liver function checks. Your doctor will factor in your age and health history when deciding whether monitoring is appropriate.

What About Tea Tree Oil and Home Remedies?

Tea tree oil, vinegar soaks, oregano oil, vitamin E, and menthol-camphor ointments like Vicks VapoRub have all shown some antifungal activity in small studies. But the clinical evidence for tea tree oil specifically is weak. One small study found pure tea tree oil helped a small number of people, while other studies using lower concentrations showed no benefit. The Mayo Clinic notes that tea tree oil may work better as a complement to conventional antifungal treatment rather than a standalone remedy.

If you want to try a home remedy for a very mild case, it’s unlikely to cause harm. But don’t rely on it for months while the infection spreads deeper into the nail. The further it progresses, the harder it becomes to treat with any method.

Managing Chronic Paronychia

Chronic paronychia requires a different strategy than either acute bacterial infections or fungal nail problems. Because it’s driven by repeated moisture exposure and irritant contact, treating it with antifungals alone won’t solve the problem, even though yeast is often found in cultures. The core treatment is keeping the hands dry, avoiding irritants, and protecting the nail folds from further damage.

Wearing waterproof gloves with a cotton liner during wet work, applying barrier creams, and avoiding the urge to push back or trim cuticles all help the nail fold heal and reseal. Your doctor may prescribe a topical steroid to calm the inflammation or a topical antifungal to address secondary yeast colonization, but moisture avoidance is what actually resolves it long term.

Preventing Reinfection

Fungal nail infections have a frustrating tendency to come back. After clearing an infection, a few specific habits reduce your risk of going through the whole process again:

  • Choose the right socks. Acrylic-blend socks wick moisture away from skin more effectively than cotton, which holds sweat against your feet.
  • Use antifungal foot powder daily. This keeps the environment around your nails inhospitable to fungus, especially if your feet sweat heavily.
  • Wear breathable shoes. Tight, non-ventilated footwear creates the warm, moist conditions fungus thrives in.
  • Protect your feet in shared spaces. Sandals or flip-flops in gym showers, locker rooms, and pool decks prevent contact with fungal spores on wet floors.

Signs That Need Prompt Medical Attention

Most nail infections are slow-moving nuisances, not emergencies. But certain situations call for a faster response. If you have diabetes or a weakened immune system, even a minor nail infection can escalate into a serious skin or bone infection. Bleeding around the nails, significant swelling or pain, and any difficulty walking because of a toenail infection all warrant a visit to your doctor rather than a wait-and-see approach. People with poor circulation in their feet are also at higher risk for complications from infections that might be trivial in someone else.