How to Treat an Infected Toenail: Home Care & Warning Signs

An infected toenail is treatable at home in mild cases, but the right approach depends on what kind of infection you’re dealing with. Bacterial infections around the nail fold, fungal infections that discolor and thicken the nail, and ingrown toenails that break the skin each require different strategies. Here’s how to identify what you have and what to do about it.

Figure Out Which Type of Infection You Have

The three most common toenail infections look and feel quite different from one another. Getting this right matters because a treatment that works for one type can be useless for another.

Bacterial infection (paronychia): This affects the skin around the nail, not the nail itself. You’ll notice redness, swelling, warmth, and throbbing pain along one or both sides of the nail. The area may ooze pus that looks white, yellow, or greenish. It usually develops quickly, over a day or two, often after a hangnail tear, a rough pedicure, or an ingrown nail edge that broke the skin.

Fungal infection (onychomycosis): This is a slow buildup, not a sudden flare. It typically starts as a white or yellow-brown spot under the tip of the nail. Over weeks or months, the nail becomes thickened, brittle, crumbly, or misshapen. It may separate from the nail bed and develop a noticeable smell. Pain is uncommon in early stages but can develop in severe cases. Green or black discoloration points more toward a bacterial component.

Infected ingrown toenail: This starts with a nail edge growing into the surrounding skin, then bacteria get into the wound. You’ll see a red, swollen, painful border on one side of the nail, sometimes with pus. It’s essentially a bacterial infection triggered by a mechanical problem.

Home Treatment for Mild Infections

If you have mild redness and swelling around the nail without fever, spreading redness, or significant pus, home care is a reasonable first step. The foundation is warm soaks: mix 1 to 2 tablespoons of unscented Epsom salt into one quart of warm water and soak your foot for 15 minutes. Do this several times a day for the first few days. The warmth increases blood flow to the area and helps draw out fluid, while the salt creates an environment that’s less hospitable to bacteria.

After each soak, dry your toe thoroughly and apply an over-the-counter antibiotic ointment. Cover with a clean bandage. If you’re dealing with an ingrown nail, you can try gently lifting the embedded nail edge and tucking a small piece of clean cotton or dental floss underneath to encourage it to grow above the skin. This takes patience and needs to be done after soaking, when the skin and nail are softer.

Keep your foot clean and dry between soaks. Wear open-toed shoes or loose-fitting footwear to reduce pressure on the toe. Most mild bacterial infections improve noticeably within three to four days of consistent soaking.

When You Need Professional Treatment

If home soaks haven’t improved things after two or three days, or if the infection is clearly worsening, it’s time to see a doctor. For bacterial infections, the standard treatment is an oral antibiotic that targets the bacteria most likely causing the problem. Early treatment with warm soaks combined with antibiotics is the recommended approach for acute infections around the nail.

For ingrown toenails that keep coming back or have progressed to significant swelling with pus or overgrown tissue around the nail edge, a minor in-office procedure called a partial nail avulsion is the most effective option. A doctor numbs the toe, removes the offending strip of nail along the edge, and may apply a chemical to the nail root to prevent that section from regrowing. Recovery is straightforward: you’ll keep the toe dry overnight, return in about three days for a wound check, and then clean the area daily after showering with salt water. Full healing takes two to three weeks.

Treating a Fungal Toenail Infection

Fungal toenail infections are a different challenge entirely. They’re stubborn, slow to develop, and slow to resolve. Even with the most effective treatments, you’re looking at months of treatment and up to 12 to 18 months for the healthy nail to fully grow out and replace the damaged one.

Oral antifungal medication taken daily for 12 weeks is the most effective treatment for toenail fungus. It works from the inside out, reaching the infection through the bloodstream. Clinical cure rates for toenails range from 38% to 76%, which means it doesn’t work for everyone, but it’s significantly more effective than topical options. Your doctor will likely check your liver function before and during treatment, since oral antifungals can stress the liver.

Prescription topical treatments applied directly to the nail are an alternative for mild to moderate cases. They carry fewer side effects but are far less effective. The most studied topical, a medicated nail lacquer, requires daily application for 48 weeks and achieves complete cure in only about 6% to 9% of cases. Over-the-counter antifungal creams and nail treatments have even lower success rates but may be worth trying for very early, superficial infections before committing to prescription medication.

Because toenails grow slowly, patience is essential. A toenail takes an average of 18 months to completely regrow. Even after the fungus is successfully killed, the damaged nail has to grow out and be replaced by new, healthy nail from the base. You won’t see a fully clear nail for many months after treatment ends.

Warning Signs That Need Urgent Attention

Most toenail infections stay localized, but bacteria can occasionally spread into deeper tissue, causing a condition called cellulitis. This is a serious infection that needs prompt medical treatment. Watch for redness that’s spreading beyond the immediate area around the nail, skin that’s warm and painful to the touch over a larger area, fever or chills, red streaks extending from the toe toward your ankle, or rapid swelling. If you have a spreading rash along with fever, seek emergency care. If the redness is growing but you don’t have a fever, get seen within 24 hours. People with diabetes or compromised circulation need to be especially vigilant, as infections in the feet can escalate faster.

Preventing Reinfection

Once you’ve dealt with a toenail infection, a few habits significantly reduce the chance of it coming back. Trim your toenails straight across, keeping them shorter than the end of your toes. This prevents both ingrown nails and the buildup of debris under the nail where fungi thrive. Use clean, sharp nail clippers and avoid rounding the corners of your toenails.

Moisture is the biggest environmental risk factor. Wear moisture-wicking socks and change them if they get sweaty, even mid-day. Give your shoes a full 24 hours to dry before wearing the same pair again. Breathable shoes made from canvas or mesh allow airflow that helps keep your feet dry. Sprinkling antifungal powder or spray on your socks and in your shoes before wearing them adds another layer of protection, especially in hot weather or before workouts.

If you get pedicures, bring your own tools or make sure the salon sterilizes theirs. Avoid picking at hangnails or cutting cuticles aggressively, since small breaks in the skin around the nail are exactly where bacterial infections start.