A fungal toenail infection and a bacterial toenail infection can look surprisingly different once you know what to watch for. Fungal infections tend to develop slowly, turning the nail yellow, white, or brownish and gradually thickening it over weeks to months. Bacterial infections usually come on faster, with redness, swelling, and pain around the nail fold, and in one distinctive form, the nail itself turns green. The distinction matters because the treatments are completely different, and misidentifying one as the other wastes time and can let the problem get worse.
What a Fungal Toenail Infection Looks Like
Fungal toenail infections, called onychomycosis in medical terms, are by far the more common type. About 90% of toenail fungal infections are caused by a group of fungi called dermatophytes, with a smaller share caused by yeasts or molds.1PubMed Central. Onychomycosis: pathogenesis, diagnosis, and management The visual hallmarks are discoloration of the nail plate, thickening, and a crumbly or ragged texture along the free edge. Nail color shifts toward yellow, white, or brown. In more advanced cases, the nail can darken to an opaque yellowish-brown, and the surface becomes noticeably rough or pitted.
One of the most recognizable signs is what happens underneath the nail. Debris builds up between the nail plate and the nail bed, a process called subungual hyperkeratosis. This is what makes the nail look thicker than normal and gives it that raised, almost humped appearance. You may also notice the nail lifting away from the bed at the tip or along one side, a process known as onycholysis. The nail doesn’t usually hurt, at least not at first. Pain tends to show up only once the nail has thickened enough to press against the inside of a shoe, or when the infection has been present for a long time and the nail structure has become severely distorted.2PubMed Central. Onychomycosis: An Updated Review
The infection typically starts at the tip of the nail or along one corner and works its way back toward the cuticle. This pattern, where the discoloration and thickening creep from the free edge toward the base, is the most common form. Less frequently, the infection can start as white patches on the surface of the nail or, rarely, begin at the base near the cuticle and spread outward. Four distinct patterns of fungal nail invasion have been described, though they all share the general look of a discolored, thickened, sometimes crumbling nail.1PubMed Central. Onychomycosis: pathogenesis, diagnosis, and management
The big-toe nail is the most commonly affected, partly because it’s the most likely to sustain repetitive microtrauma inside shoes. Fungal infections are also notoriously slow. It can take months before you realize something is wrong, because the early color change is subtle and painless. Many people dismiss a slightly yellowed toenail as age or cosmetic wear until the nail becomes visibly thick or starts to catch on socks.
What a Bacterial Toenail Infection Looks Like
Bacterial toenail infections look and feel different from fungal ones, mainly because they involve the soft tissue around the nail rather than the nail plate itself. The most common bacterial infection is paronychia, an infection of the skin fold that borders the nail. Acute paronychia develops when a break in the seal between the nail fold and the nail plate allows bacteria in.3ScienceDirect. Toenail paronychia That break might come from trimming the nail too aggressively, an ingrown toenail edge, a hangnail, or even minor trauma from tight footwear.
Visually, acute bacterial paronychia looks inflamed. The skin along one or both sides of the nail, or around the base, becomes red, swollen, and warm to the touch. It’s usually quite tender. If the infection progresses, you may see pus collecting under the skin, creating a visible pocket of yellowish or whitish fluid near the nail fold. The nail plate itself often looks normal at this stage, which is one of the clearest differences from a fungal infection. The problem is the tissue around the nail, not the nail itself.
The bacteria most commonly responsible are Staphylococcus aureus and, in some cases, gram-negative organisms.4PubMed. Infections of finger and toe nails due to fungi and bacteria Because these infections involve tissue rather than keratin, they develop much faster than fungal infections. You might go from a small area of redness to a painful, pus-filled swelling within a day or two. Early-stage bacterial paronychia can sometimes be managed with antibiotics alone, but once an abscess forms, drainage is often necessary.3ScienceDirect. Toenail paronychia
There is also a chronic form of paronychia, though it is less common on toenails than on fingernails. Chronic paronychia involves long-term inflammation of the nail fold, and the tissue stays swollen and boggy for weeks or months. It’s actually a form of contact irritation more than a straight infection, and the irritated tissue can become secondarily colonized by fungi, muddying the clinical picture.3ScienceDirect. Toenail paronychia
The Green Nail
If your toenail has turned green, you’re almost certainly looking at a Pseudomonas aeruginosa infection. This bacterium produces pigments called pyocyanin and pyoverdin that stain the nail plate a distinctive green, earning the condition the name chloronychia or green nail syndrome. The shade can range from a pale green to greenish-yellow, greenish-brown, or even greenish-black depending on how concentrated the bacterial colonization is.5PubMed Central. Chloronychia: green nail syndrome caused by Pseudomonas aeruginosa in elderly persons
Green nail syndrome presents with a recognizable triad of signs. The green discoloration of the nail plate is the most obvious. Alongside it, you’ll often see the nail separating from the bed at the tip or side, plus mild chronic swelling around the base of the nail that isn’t particularly tender.6PubMed. Green nail: Etiology and structure This is different from the acute, painful swelling of a Staph infection. The paronychia in green nail syndrome tends to be low-grade and chronic rather than acutely painful.
Pseudomonas thrives in moist environments. The bacterium tends to colonize nails that already have some degree of onycholysis, meaning the nail has already partially lifted from the bed due to some other cause, whether that’s trauma, a pre-existing fungal infection, psoriasis, or an inflammatory skin condition. The gap between the detached nail and the bed creates a warm, damp space that Pseudomonas loves.6PubMed. Green nail: Etiology and structure People whose feet are frequently wet, whether from occupational exposure, sweaty shoes, or communal water environments, are at higher risk.
Green nail syndrome is worth distinguishing from fungal discoloration because the treatment is different. Antifungal drugs do nothing for Pseudomonas. Instead, treatment typically involves keeping the nail dry, trimming away the detached nail plate, and using topical antiseptics or antibiotics directed at the bacterium. Recognizing the color is the first step toward getting the right treatment.
A Quick Visual Comparison
Since the whole point of this article is helping you figure out what you’re looking at, here’s a side-by-side breakdown of the features that matter most:
- Color: Fungal infections turn the nail yellow, white, or brown. Pseudomonas turns it green to greenish-black. Acute bacterial paronychia doesn’t typically change nail color at all.
- Speed of onset: Fungal infections develop over weeks to months. Bacterial paronychia can appear within a day or two. Green nail syndrome sits somewhere in between, developing gradually once Pseudomonas colonizes a pre-existing gap.
- Pain: Fungal infections are usually painless until very advanced. Acute bacterial paronychia is often acutely tender, warm, and throbbing. Green nail syndrome may cause mild discomfort or none at all.
- Where the problem is: Fungal infection affects the nail plate itself, thickening and distorting it. Acute bacterial paronychia affects the skin around the nail. Green nail syndrome affects the nail plate (staining) and the space underneath it.
- Pus: A visible abscess or pus pocket near the nail fold points strongly toward bacterial paronychia. Fungal infections don’t produce pus, though they do produce crumbly debris under the nail.
- Nail texture: Fungal nails become thick, crumbly, and ragged. Bacterial paronychia leaves the nail surface largely intact. Green nails may have a normal texture aside from the discoloration and any underlying onycholysis.
These are patterns, not absolute rules. Some infections are obvious at a glance, while others genuinely need a lab test to sort out.
When Both Problems Show Up Together
Fungal and bacterial infections aren’t mutually exclusive. In fact, a pre-existing fungal infection is one of the most common setups for a secondary Pseudomonas colonization. When onychomycosis lifts the nail from the bed, the resulting pocket of space is an invitation for bacteria that thrive in warm, moist gaps. A nail that looks both thickened and yellow (classic fungal signs) and has a greenish streak or patch may have both a dermatophyte and Pseudomonas on board at the same time. These mixed infections require treatment aimed at both organisms, not just one.
Similarly, an ingrown toenail can start as a purely mechanical problem, then develop an acute bacterial paronychia from the broken skin, and later, if the nail remains damaged and the environment stays warm and damp, a fungal infection can layer on top. In chronic paronychia of the toes, the same overlap occurs in the other direction: chronic inflammation damages the nail fold, which then gets colonized by Candida or other fungi even though the original irritation wasn’t fungal.3ScienceDirect. Toenail paronychia
The takeaway is that seeing features of one type of infection doesn’t rule out the other. A toenail that’s been abnormal for a long time could have layers of problems stacked on top of each other, and untangling them sometimes requires a clinician’s examination rather than a visual self-diagnosis.
What Raises Your Risk for Each Type
Fungal and bacterial toenail infections share some overlapping risk factors but differ in key ways. Both are more likely when your feet spend a lot of time in warm, enclosed, damp environments. Beyond that, the risk profiles diverge.
For fungal infections, older age is a strong predictor. The nails grow more slowly with age, giving fungi more time to establish themselves. Reduced blood flow to the extremities, a weakened immune system, diabetes, and a history of athlete’s foot all increase susceptibility. Communal showers, locker rooms, and swimming pools are classic transmission points because the fungi that cause onychomycosis survive well on wet surfaces. Nail trauma, even minor and repeated, creates entry points. The big toe takes the most punishment, which is part of why it’s the most frequently affected.
For acute bacterial paronychia, the most important risk factor is a break in the skin around the nail. Cutting toenails too short, picking at cuticles, ingrown nails, and tight shoes that press the skin into the nail edge are the usual culprits. Moisture plays a role too, but the mechanism is different: wet, macerated skin is easier for bacteria to penetrate. People with diabetes or peripheral vascular disease need to be especially careful, because reduced sensation means they may not notice an ingrown edge until infection is well established, and impaired blood flow slows healing.
Green nail syndrome has its own risk profile. Because Pseudomonas requires a pre-existing nail separation to colonize, anything that causes onycholysis raises the risk: trauma, psoriasis, eczema, or a pre-existing fungal infection. Frequent water exposure is a consistent theme. People who work in healthcare, food service, or cleaning, or who spend a lot of time in wet footwear, are more commonly affected.5PubMed Central. Chloronychia: green nail syndrome caused by Pseudomonas aeruginosa in elderly persons
How Doctors Confirm the Diagnosis
Visual inspection is the starting point, but it’s not always reliable on its own. Studies have repeatedly shown that the clinical appearance of a nail infection can be mimicked by conditions that aren’t infections at all, including psoriasis, lichen planus, trauma-related nail damage, and certain skin cancers under the nail. Even experienced dermatologists sometimes can’t distinguish fungal from nonfungal nail changes by sight alone.
For suspected fungal infections, the standard diagnostic approach involves clipping a piece of the affected nail and testing it. The most common lab methods include a potassium hydroxide (KOH) preparation, where the nail material is dissolved and examined under a microscope for fungal elements, and a fungal culture, where the sample is grown on a nutrient medium to identify the specific species. Nail clipping histopathology, where the sample is stained and examined in cross-section, is another option that can catch infections missed by the other two tests.7PubMed Central. Diagnosis of Onychomycosis: From Conventional Techniques and Dermoscopy to Artificial Intelligence Newer tools like dermoscopy and molecular assays are also being used in some clinical settings.
For bacterial paronychia, the diagnosis is usually clinical, meaning the doctor can tell by looking at the swollen, red, tender nail fold, sometimes with visible pus. If the infection doesn’t respond to initial treatment, or if there’s concern about an unusual bacterium, a wound culture can identify the specific organism and guide antibiotic selection. Green nail syndrome is often diagnosed on appearance alone because the green color is distinctive enough to be nearly diagnostic, but confirmation through bacterial culture is straightforward when there’s any doubt.8PubMed. Clinical analysis of Pseudomonas aeruginosa-positive and -negative green nail syndrome cases
Getting the diagnosis right matters more than you might think. Oral antifungal medications, which are the most effective treatment for established toenail fungus, carry a small risk of liver side effects and typically need to be taken for three months or longer. Starting a months-long antifungal course for a nail problem that turns out to be psoriasis or trauma is a waste of time and an unnecessary exposure to medication. Confirming the fungus is present before treating makes the whole process more efficient.
Common Mistakes in Self-Diagnosis
People tend to assume that any toenail that looks abnormal is fungal. This is understandable, since fungal infections are the most common cause of dystrophic (misshapen or discolored) toenails. But the assumption leads to two frequent mistakes.
The first is treating a nonfungal condition with over-the-counter antifungal products for months and wondering why nothing is improving. Nail psoriasis, repetitive trauma from running or tight shoes, and even simple aging can cause nails to thicken, yellow, or become ridged. None of these will respond to antifungal treatments. If you’ve been applying a topical antifungal for several months with no visible improvement, the underlying problem may not be fungal at all.
The second mistake runs the other direction: dismissing a bacterial infection as “just a fungus” and waiting for it to clear up on its own. Acute bacterial paronychia can progress to a deeper soft-tissue infection if left untreated, and in people with diabetes or compromised circulation, even a small toenail infection can escalate. The red flags for bacterial infection are rapid onset, pain, warmth, swelling of the surrounding skin, and visible pus. Fungal infections almost never cause acute pain or visible pus. If your toenail area hurts and is swollen, that deserves prompt attention rather than a wait-and-see approach with antifungal cream.
A subtler version of this mistake involves green nail syndrome. Some people see the green discoloration and assume it’s mold growing on the nail. In a sense the instinct isn’t completely wrong, since Pseudomonas is a microorganism colonizing the nail. But “mold” suggests a fungal organism and leads people to reach for antifungal products that won’t work. The green color is bacterial, and the treatment strategy centers on drying out the nail environment and using antibacterial agents.
Why Toenails Are More Trouble Than Fingernails
Toenails get infected more often than fingernails, and the infections are harder to clear. Several factors converge to make feet the more vulnerable target. Toes spend most of the day enclosed in shoes and socks, creating a warm, dark, humid microclimate that fungi and moisture-loving bacteria find ideal. Blood circulation to the toes is less robust than to the fingers, which means the immune system’s response to an early infection is slower and weaker. Toenails also grow much more slowly than fingernails, roughly half the rate, which matters because a “cured” nail only looks fully normal once the damaged portion has grown out entirely. That means even after successful treatment of a toenail fungal infection, it can take nine to twelve months for the new, healthy nail to fully replace the old one.
Toenails are also more prone to trauma. Stubbing a toe, dropping something on it, repetitive pressure from running or hiking, and the constant low-grade compression of shoes all contribute to microscopic damage to the nail plate and surrounding skin. Each small injury is a potential entry point for fungi or bacteria. This is part of why fungal toenail infections are more common in athletes, older adults who have decades of cumulative nail trauma, and anyone who wears ill-fitting shoes regularly.
The slow growth rate also complicates treatment evaluation. With a fingernail fungal infection, you can start seeing a clear, healthy nail growing in from the base within a few weeks of effective treatment. With a toenail, that new growth is much slower to appear, and it’s easy to lose patience and assume the treatment isn’t working when in fact it just hasn’t had time to show visible results yet. Dermatologists typically advise waiting at least six months before judging whether an oral antifungal has succeeded for toenails, and full cosmetic improvement can take over a year.
When Home Care Is Reasonable and When It Is Not
A mild fungal toenail infection that’s purely cosmetic, affecting a small area of one nail with no pain and no signs of spreading, is a reasonable candidate for initial home management with over-the-counter topical antifungals. These products have modest effectiveness on their own, especially for early or superficial infections, and some people prefer to try them before seeing a doctor. Keep expectations realistic: topical treatments alone work best for mild cases and often need to be applied daily for many months.
Bacterial paronychia has a narrower window for home care. A very early, mild case with slight redness and minimal swelling can sometimes be managed with warm soaks and careful attention to the nail edge. But if pus is visible, if the swelling is spreading, or if the area is increasingly painful, you need a clinician. Abscess drainage is a minor procedure but it’s not a DIY project. People with diabetes, peripheral artery disease, or a weakened immune system should not try to manage any toenail infection at home. Even a seemingly minor infection in these populations can progress rapidly, and professional evaluation is the safer path.