Why Are My Nails Yellow? Causes and Treatments

Yellow nails usually trace back to one of a handful of causes, and the most common by far is a fungal infection. After that, the list includes cosmetic staining from nail polish, tobacco use, certain medications, inflammatory skin conditions like psoriasis, and, rarely, a systemic disorder called yellow nail syndrome. The good news is that most causes are treatable or even self-correcting once you identify what is going on, though some take patience because nails grow slowly.

Fungal Infections Are the Leading Cause

If your nails have turned yellow, thickened, and started to crumble or separate from the nail bed, the most likely explanation is onychomycosis, the clinical term for a fungal nail infection. Dermatophyte fungi are the usual culprits, though yeasts and molds can do it too. The infection typically starts at the tip or side of the nail and works its way toward the base. You might notice yellow streaks or bands of thickened, chalky material under the nail plate.1BMJ. Fungal nail infection: diagnosis and management Toenails are affected far more often than fingernails, partly because feet spend more time in warm, damp shoes and partly because toenails grow more slowly, giving the fungus more time to establish itself.

A common mistake is assuming every thick, discolored toenail is fungal. Physical trauma from ill-fitting shoes is actually the most common cause of toenail damage overall and can produce changes that look nearly identical to a fungal infection.2Elsevier / Journal of the American Academy of Dermatology. Evaluation and management of mechanical and structural nail disorders: A clinical review Foot abnormalities and repetitive pressure from running or hiking compound the problem. This matters because antifungal treatment will not help a nail that was damaged mechanically, and the distinction is something even doctors sometimes miss without testing.

Nail Polish Staining

If your fingernails turned yellow after you removed polish rather than under it, the culprit is probably cosmetic staining. Darker shades, especially reds and deep yellows, contain pigments that seep into the keratin of the nail plate over time. The staining is harmless and purely cosmetic.3CosmoDerma. Adverse effects of nail cosmetics and how to prevent them It tends to be worst when polish is worn continuously for weeks without a break, or when a base coat is skipped. The yellow discoloration sits in the superficial layers of the nail and will grow out on its own over several months, though some people speed the process with gentle buffing or whitening soaks.

One way to tell staining apart from infection: stained nails are usually smooth and of normal thickness, and the color is even across the plate. A fungal nail, by contrast, tends to be thicker, crumbly, and discolored in patches rather than uniformly. If you have been wearing dark polish regularly and your nails are smooth but yellow, staining is almost certainly the answer.

Smoking and Tobacco Tar

Smokers often develop a distinctive yellow-brown discoloration on the nails of the hand they use to hold cigarettes. This is not nicotine staining in the way people usually imagine it. The color comes from tar and other combustion by-products in tobacco smoke that bond to the keratin in the nail. Researchers have shown that the discoloration persists only because of repeated contact with tobacco residue; once a person quits, the new nail growing in from the base is clean, creating a visible line between the old stained nail and the fresh growth.4Chest. The Harlequin Nail: A Marker for Smoking Cessation That two-tone look has been called the “harlequin nail,” and clinicians have used it as a rough marker to confirm that someone has actually stopped smoking. The staining itself is not dangerous, but it is a visible reminder of an exposure that carries much larger health risks.

Psoriasis and Inflammatory Skin Conditions

Yellow nails do not always mean infection or staining. Psoriasis can affect the nails in ways that mimic fungal infection closely enough to fool even experienced clinicians. When psoriasis targets the nail bed, it can produce what dermatologists call “oil drop” discoloration: translucent yellow-red patches visible through the nail plate that look like a drop of oil was trapped underneath. Other signs include pitting on the nail surface, separation of the nail from the bed, and buildup of scaly material beneath the nail.5PubMed. Nail psoriasis: a review Pustular psoriasis can go further, producing yellow spots under the nail from tiny collections of inflammatory cells.6PubMed Central. Nail psoriasis: clinical features, pathogenesis, differential diagnoses, and management

If you already have psoriasis on your skin or scalp, nail changes are common and worth mentioning to your dermatologist because they can indicate joint involvement. If you do not have a psoriasis diagnosis but your nails are pitted, separating from the bed, and yellowish, it is worth getting checked. Nail psoriasis is treated differently from fungal infections, so the distinction matters for choosing the right therapy.

Medications That Change Nail Color

Several classes of drugs can turn nails yellow as a side effect. Tetracycline antibiotics are the best-known example. The drug is excreted through the nail matrix, gets incorporated into the growing nail plate, and gradually becomes visible as a yellow band that advances with nail growth.7Pigment International. Nail changes associated with pigmentary disorders Because it takes months for a nail to grow from base to tip, the discoloration can linger long after you stop the medication. Other drugs that can cause yellow or brownish nail changes include certain chemotherapy agents and some antimalarials, though the shade and pattern vary.

Drug-related nail discoloration is generally harmless to the nail itself and resolves as the nail grows out once you stop the medication. If you are on a long-term course of an antibiotic or other drug and notice new nail color changes, bring it up with your prescriber so they can confirm it is a known side effect rather than something else going on.

Bacterial Infections and the Green-Yellow Overlap

Not every nail color change is straightforwardly yellow. Pseudomonas aeruginosa, a common environmental bacterium, can colonize nails that are already lifting away from the nail bed, producing a distinctive green or greenish-brown discoloration.8PubMed. Retrospective Case Series on Risk Factors, Diagnosis and Treatment of Pseudomonas aeruginosa Nail Infections In the early stages or under certain lighting, this can look yellow enough to cause confusion. People sometimes call it “green nail syndrome.” It tends to show up in people who have their hands in water frequently, wear artificial nails, or already have onycholysis (nail lifting) from another cause. Treatment usually involves trimming away the detached nail, keeping it dry, and sometimes using topical antiseptics or antibiotics.

Yellow Nail Syndrome

Yellow nail syndrome is rare, but it is worth knowing about because it signals something systemic rather than local. The condition is defined by a triad of features: slow-growing, thickened, yellow nails that lack a visible cuticle or lunula; swelling in the lower legs from lymphedema; and respiratory problems such as chronic cough, recurrent lung infections, or fluid around the lungs.9PubMed Central. Respiratory manifestation of yellow nail syndrome: a case report and literature review Not every patient has all three features at the same time, which can make diagnosis tricky. The cause remains unknown, though impaired lymphatic drainage is the leading hypothesis.10PubMed Central. Yellow nail syndrome: a review

What distinguishes yellow nail syndrome from garden-variety nail yellowing is the combination of symptoms. If your nails are yellow and your ankles swell, or you have unexplained breathing problems alongside the nail changes, that constellation warrants investigation. The nails themselves in this syndrome tend to be uniformly yellow across most or all fingers and toes, with a distinctive hardened, curved appearance and very slow growth. It most often appears in middle-aged or older adults and can come and go over the years.

Systemic and Metabolic Causes

Beyond yellow nail syndrome, certain metabolic conditions can give the skin and nails a yellowish cast. The pigments responsible are usually carotenoids or bilirubin. Carotenoids accumulate in people who eat very large quantities of carrots, sweet potatoes, or other orange-pigmented foods, a harmless condition called carotenemia that can tint the skin and nails yellow. Bilirubin elevation, seen in liver disease and certain blood disorders, produces jaundice, which can also affect the nails.11PubMed. The color of skin: yellow diseases of the skin, nails, and mucosa In these situations the yellowing extends well beyond the nails to the skin and the whites of the eyes, making it fairly obvious that the cause is internal rather than nail-specific.

Thyroid disease and diabetes have also been loosely associated with nail changes, though the evidence is less direct. Poorly controlled diabetes increases the risk of fungal nail infections, which circles back to the most common cause. If your nails are yellow and you also notice fatigue, unexplained weight changes, or persistent thirst, those systemic symptoms are worth discussing with a doctor regardless of what the nails are doing.

Getting a Diagnosis

Because so many conditions can produce yellow nails, getting the right diagnosis before starting treatment is important. If a fungal infection is suspected, the standard approach involves taking a nail clipping or scraping and testing it. Conventional techniques include dissolving the sample in potassium hydroxide to look for fungal elements under a microscope, sending it for fungal culture, and sometimes examining a nail biopsy.12PubMed Central. Diagnosis of Onychomycosis: From Conventional Techniques and Dermoscopy to Artificial Intelligence Culture results can take weeks to come back, which is one reason why treatment sometimes starts before a definitive answer is in hand.

For non-fungal causes, diagnosis is mostly clinical. A dermatologist can usually distinguish psoriatic nail changes from fungal infection by the pattern of involvement and associated skin findings. Yellow nail syndrome is diagnosed based on the characteristic triad of nail, lung, and lymphatic involvement rather than any single lab test.13PubMed Central. Yellow nail syndrome: a syndrome with prominent manifest involvement of the respiratory system Drug-induced discoloration is diagnosed largely by timeline: did the color change begin after starting a new medication?

Treatment Options for Fungal Infections

Treating onychomycosis is notoriously slow. Fingernails take about six months to grow from base to tip; toenails take a year or longer. Even an effective treatment will not produce visibly clear nails for months, which is why patience matters. The most effective option for moderate-to-severe fungal nail infections is oral terbinafine, taken daily for several months. In a head-to-head trial comparing oral terbinafine with two topical treatments, oral terbinafine achieved a complete cure in about half of patients at ten months, far outperforming topical options that cured fewer than one in seven.14British Journal of Dermatology. Efficacy of topical resin lacquer, amorolfine and oral terbinafine for treating toenail onychomycosis: a prospective, randomized, controlled, investigator‐blinded, parallel‐group clinical trial

Topical antifungal lacquers applied directly to the nail are an alternative for mild cases or for people who cannot take oral medication. Their cure rates are considerably lower, though. One large trial of a terbinafine-based nail lacquer found a complete cure rate of roughly six percent at 60 weeks, compared to about two percent with a placebo vehicle.15PubMed. Efficacy and safety of terbinafine 10% nail lacquer in the treatment of onychomycosis Those numbers sound discouraging, but “complete cure” in clinical trials is a strict standard requiring both a clear nail and no detectable fungus on lab testing. Many patients see meaningful improvement without meeting that bar. For stubborn cases, doctors sometimes combine oral and topical treatments or add mechanical debridement (trimming and filing down the thick nail) to improve medication penetration.

Managing Yellow Nail Syndrome

Because yellow nail syndrome is rare and its cause remains unclear, treatment is less standardized than for fungal infections. A large international study of over 100 patients found that the regimen with the highest rate of complete nail response was oral vitamin E combined with an oral azole antifungal.16PubMed. Diagnosis and management of yellow nail syndrome: An international multi-institutional retrospective cohort study of 111 cases by an expert panel The reasoning behind vitamin E is speculative but long-standing in the dermatology literature; it may improve microcirculation or have antioxidant effects on the nail matrix. The azole antifungal component likely works because some patients with yellow nail syndrome also develop secondary fungal infections in their already-compromised nails.

The respiratory and lymphatic components of the syndrome need their own management. Pleural effusions may require drainage, chronic cough may need evaluation for bronchiectasis, and lymphedema is usually managed with compression garments and physical therapy. Some patients experience spontaneous remission of the nail changes, which can last years before the yellow color returns.

When Yellow Nails Need Medical Attention

Most yellow nails are not urgent. Nail polish staining, mild fungal infections, and smoking-related discoloration are cosmetic concerns that you can address at your own pace. But there are situations where you should see a doctor sooner rather than later:

  • All nails affected: When every fingernail and toenail turns yellow at once, the cause is more likely systemic than local.
  • Accompanying swelling: Yellow nails plus swollen ankles or legs could suggest yellow nail syndrome or other lymphatic problems.
  • Breathing symptoms: Chronic cough, shortness of breath, or recurrent chest infections alongside yellow nails warrant investigation for yellow nail syndrome or underlying lung disease.
  • Jaundice signs: If the whites of your eyes or your skin have also turned yellow, see a doctor promptly for liver function testing.
  • Pain or odor: A painful, foul-smelling nail suggests active infection, whether fungal or bacterial, that may benefit from prescription treatment.

For isolated nail yellowing with no other symptoms, a reasonable first step is to consider the most obvious explanations. Have you been wearing dark polish without a base coat? Do you smoke? Did you recently start a new medication? If none of those apply and the discoloration persists or worsens over a few months, a dermatology visit and a nail clipping for fungal testing will usually point you toward the answer.

Preventing Nail Discoloration

You cannot prevent every cause of yellow nails, but you can reduce risk for the most common ones. For fungal infections, keeping feet dry, wearing breathable footwear, changing socks daily, and wearing sandals in communal showers and locker rooms all help. Avoid sharing nail clippers and files with other people, since fungal spores can travel on those tools. If you get professional manicures or pedicures, confirm the salon sterilizes instruments between clients.

For cosmetic staining, applying a clear base coat before colored polish creates a barrier between the pigment and your nail plate. Taking periodic breaks from polish, even just a week every month or two, lets you inspect the nails and gives them time to recover. For smokers, quitting is the only real fix; no amount of scrubbing will keep nails clear while you continue exposing them to tar with every cigarette. And for drug-induced discoloration, there is not much to prevent since you need the medication, but knowing it is a known side effect can spare you the worry of wondering whether something more serious is happening.

Mechanical Damage Disguised as Disease

One of the most underappreciated causes of abnormal-looking toenails is plain mechanical trauma. Runners, hikers, and anyone who wears tight shoes can develop thickened, discolored toenails that look fungal but are not. Structural foot issues such as bunions or an unusually long second toe increase the risk because they cause the nail to press against the shoe with each step.2Elsevier / Journal of the American Academy of Dermatology. Evaluation and management of mechanical and structural nail disorders: A clinical review Over time, repeated microtrauma leads to nail thickening, lifting, and yellowish-brown discoloration that checks a lot of the same visual boxes as onychomycosis.

The practical issue here is that many people treat these nails with months of antifungal medication that was never going to help. If you have a single toenail that keeps getting thick and discolored despite treatment, especially on a foot with known structural issues, the problem may be mechanical. Properly fitted shoes, orthotics, and regular podiatric nail care often do more good than another round of antifungals in those cases.