Fixing a discolored toenail starts with identifying the color and cause, because the treatment for a yellow fungal nail is completely different from what you’d do for a green, white, or dark nail. Most discoloration falls into a handful of categories, and each has a clear path forward. The key thing to know upfront: toenails grow at roughly 1.6 mm per month, so even after you fix the underlying problem, it can take 12 to 18 months for a fully clear nail to grow in.
Yellow or Thickened Nails: Fungal Infection
The most common cause of toenail discoloration is a fungal infection, called onychomycosis. The nail turns yellow, white-yellow, or brownish and often becomes thick, brittle, or crumbly. It usually starts at the tip or side of the nail and gradually works its way back toward the base. Fungus thrives in the warm, damp environment inside shoes, which is why toenails are affected far more often than fingernails.
Over-the-counter antifungal creams and ointments can help with mild surface infections. Products containing tolnaftate roughly cut the risk of treatment failure in half compared to doing nothing. Topical treatments work best when you file down the thickened nail first so the medication can actually penetrate. Apply it daily, and be patient.
For infections that go deeper or involve more than half the nail, prescription treatment is usually necessary. Oral antifungal medication taken for about 12 weeks is the most effective single option, with treatment studies following patients for over a year to confirm the nail fully clears. Prescription topical solutions applied directly to the nail are another route, though they tend to have lower cure rates when used alone. In stubborn cases, combining an oral and topical antifungal can push success rates significantly higher, with one study showing a 69% complete cure rate for combination therapy versus 41% for a single medication.
White Spots and Patches
Small white spots on your toenails are almost always harmless. The most common cause is simple trauma: bumping your toe, wearing shoes that are too tight, or even pressure from regular pedicures. The impact damages the nail matrix (the tissue under your cuticle where the nail grows from), and the disrupted cells produce a white mark as the nail grows out. These spots need no treatment. They’ll disappear on their own as the nail grows, which takes several months for toenails.
There’s a persistent belief that white spots signal a zinc or calcium deficiency. The evidence for this is weak. Medical researchers haven’t been able to confirm that mineral deficiencies reliably cause these spots, so taking supplements specifically for this reason probably won’t help.
One exception: if the white patches sit on the surface of the nail rather than within it, the cause may be a superficial fungal infection. You can sometimes scrape this type of white discoloration off with a nail file. A topical antifungal applied to the nail surface daily for several weeks typically clears it up.
Green Nails
A green or blue-green toenail is caused by a bacterial infection, not fungus. The culprit is Pseudomonas aeruginosa, a bacterium that produces a distinctive pigmented film on the nail surface. This tends to happen when moisture gets trapped under a nail that’s already lifted or damaged.
Treatment is straightforward: keep the nail trimmed short, keep it as dry as possible, and avoid further trauma to the area. A topical antibiotic applied to the nail bed twice daily usually resolves the color over several weeks. If the infection doesn’t respond to topical treatment, oral antibiotics or, in rare cases, nail removal may be needed.
Dark Lines or Black Discoloration
A dark or black toenail after stubbing your toe or running in tight shoes is usually a bruise (subungual hematoma), where blood pools under the nail. It appears within hours of the injury, looks like a dark smudge, and gradually grows out as the nail grows. You may see the dried blood when you trim the nail. No treatment is needed unless the pressure underneath is painful, in which case a doctor can drain it.
A dark vertical line running from the base of the nail to the tip is different and worth watching carefully. Subungual melanoma, a rare form of skin cancer, appears as a brown or black streak that looks almost like someone drew a line on the nail with a marker. Unlike a bruise, it develops slowly, may widen or become irregular over time, and doesn’t grow out with the nail. If you notice a new dark streak that wasn’t caused by an obvious injury, or an existing streak that’s changing in size or shape, get it evaluated. Subungual melanoma is treatable when caught early.
Pale, White, or Half-and-Half Nails
When the entire nail (not just a spot) turns white or pale, it can signal something happening inside your body rather than in the nail itself. Terry’s nails, where most of the nail plate turns an opaque white with a ground-glass appearance, was originally described in patients with severe liver disease. About 80% of people with cirrhosis have this nail pattern. It has since been linked to congestive heart failure, diabetes, hyperthyroidism, and malnutrition as well.
A nail that’s white on the inner half and brown on the outer half, sometimes called half-and-half nails, is associated with severe kidney disease. Paired white horizontal lines running across the nail can appear when blood protein levels drop significantly, as seen in kidney disease, liver disease, or malnutrition. These lines disappear when the underlying condition is treated and protein levels normalize.
Nails that become spoon-shaped, curving upward at the edges, point toward iron deficiency. This change often accompanies anemia but can occur even without it. If your nails look pale and concave, an iron panel blood test is a reasonable next step.
None of these patterns require treating the nail itself. The discoloration resolves when the underlying health issue is addressed.
What About Home Remedies?
Tea tree oil is the most popular natural remedy for nail discoloration caused by fungus. The evidence is mixed at best. One small study found that applying pure, undiluted tea tree oil helped a small number of people, but studies using lower concentrations haven’t shown a benefit. Tea tree oil may work better as a complement to standard antifungal medication rather than a standalone treatment. Other commonly suggested remedies like Vicks VapoRub, vinegar soaks, and hydrogen peroxide have very limited clinical evidence behind them.
If you want to try a home remedy for a mild case, there’s little downside. But if the discoloration is spreading, the nail is thickening, or you’ve been treating it for a few months with no improvement, it’s time to move on to a proven antifungal.
Preventing Discoloration From Coming Back
Most toenail discoloration traces back to fungus or repeated minor trauma, both of which are preventable with basic habits. The CDC recommends washing your feet daily, drying them thoroughly (especially between the toes), and changing your socks at least once a day. Fungi thrive in warm, dark, moist environments, so anything that reduces moisture inside your shoes helps.
Wear shoes that fit properly. Toenails that repeatedly hit the front of a shoe get damaged, which opens the door to both bruising and fungal invasion. In shared wet environments like gym showers and pool decks, wear sandals or shower shoes. Keep your nails trimmed straight across and not too short, which reduces the chance of ingrown edges and trapped debris. If you get pedicures, choose a salon that sterilizes its instruments between clients, since contaminated tools are a common route for fungal transmission.
Because toenails grow so slowly, prevention genuinely matters more here than with most conditions. Regrowing a fully clear toenail after a fungal infection can take over a year. Building good foot hygiene habits now saves you from repeating that process.

