Smelly fingernails usually come from bacteria or fungi trapped under or around the nail. The warm, moist space beneath your nail plate is an ideal environment for microorganisms that break down skin protein and produce foul-smelling byproducts. In most cases, the cause is either a buildup of everyday bacteria, a fungal nail infection, or a specific bacterial infection that turns nails green.
Bacteria Trapped Under the Nail
The most common and least serious explanation is simply bacteria accumulating beneath your nails throughout the day. Your hands touch dozens of surfaces, and the gap between the nail plate and the nail bed collects dead skin cells, moisture, food particles, and microorganisms. As bacteria feed on this debris, they produce sulfur compounds and other waste products that smell unpleasant, sometimes cheesy, sour, or vaguely rotten.
This kind of smell typically goes away after thorough hand washing. The CDC recommends scrubbing the underside of your nails with soap and water or a nail brush every time you wash your hands. If you wear nail polish or artificial nails, moisture can get trapped underneath and create an even better breeding ground for bacteria, making the smell more persistent. Removing enhancements periodically and letting your nails dry out fully can help.
Fungal Nail Infections
If the smell persists despite good hygiene and your nails look different than usual, a fungal infection (onychomycosis) is a likely culprit. Fungal nail infections affect roughly 4% of the general population and are caused most often by a group of fungi called dermatophytes. The most common species is one that also causes athlete’s foot. On fingernails specifically, yeast infections (particularly Candida) play a larger role, accounting for a notable share of cases.
These fungi survive by producing enzymes called keratinases that break down keratin, the tough protein your nails are made of. That breakdown process generates a musty, stale odor that many people describe as similar to old cheese or damp socks. You’ll typically also notice one or more visible changes: whitish or yellowish discoloration, thickening of the nail, brittleness or crumbling at the edges, or the nail lifting away from the bed underneath.
Fungal nail infections don’t resolve on their own. Topical antifungal treatments applied as a medicated nail polish can take up to a full year, and even then they work in only about 30 out of 100 people. Oral antifungal medications are more effective but require several weeks to months of treatment. Because nails grow slowly, even after the fungus is killed, you’ll need to wait for the damaged nail to grow out completely before it looks and smells normal again.
Green Nail Syndrome
A distinctive smell, often described as sweet or fruity, combined with a green, greenish-yellow, or greenish-black discoloration points to a bacterial infection called green nail syndrome (chloronychia). It’s caused by Pseudomonas aeruginosa, a bacterium that thrives in wet environments and produces blue-green pigments that literally stain the nail plate.
This infection is especially common in people whose hands are frequently in water, soap, or detergents, such as healthcare workers, dishwashers, bartenders, and cleaners. It also tends to develop when the nail has already lifted away from the nail bed (a condition called onycholysis), because that separated space stays warm and moist. Elderly individuals and people who pick at their nails or cuticles are at higher risk. The infection itself is usually painless, which means some people notice the smell or color change before they realize anything is wrong.
Chronic Paronychia
Sometimes the smell comes not from the nail itself but from the skin folds around it. Chronic paronychia is a long-lasting inflammation of the tissue surrounding the nail, often triggered by repeated exposure to water and irritants. Over time, the protective cuticle breaks down, allowing Candida yeast and bacteria to colonize the nail fold.
You might notice redness and swelling around the base or sides of the nail, a boggy or puffy appearance to the skin, and gradual changes to the nail plate like thickening or ridges. The area can harbor bacteria that produce an off smell, especially if small pockets of moisture stay trapped against the skin. Unlike acute infections, which are painful and develop within days, chronic paronychia builds slowly over weeks and tends to come and go.
Nail Enhancements and Moisture Trapping
Acrylic nails, gel manicures, and press-on nails are a frequently overlooked cause of smelly fingernails. When these products are applied, any small gap or lift between the enhancement and the natural nail creates a sealed pocket where moisture, bacteria, and fungi can flourish undetected. The longer the enhancement stays on, the more time microorganisms have to multiply.
A greenish tint visible through or beneath an acrylic nail is a telltale sign that Pseudomonas bacteria have moved in. Many people first notice the problem as a smell when they soak off or remove their nail enhancements. If you regularly get nail enhancements and notice a persistent odor, it’s worth having the natural nails assessed before a new set is applied.
How to Tell What’s Causing It
The combination of smell, color, and how long it’s been happening can help you narrow down the cause:
- Smell disappears after washing: Likely just everyday bacterial buildup under the nails. Improve your scrubbing routine and keep nails trimmed short.
- Yellow or white nails, musty odor, thickening: Likely a fungal infection. These don’t resolve with hygiene alone and need antifungal treatment.
- Green discoloration, sweet or fruity smell: Likely Pseudomonas bacterial infection. Keep the nail dry and trimmed, and have it evaluated if it doesn’t improve.
- Red, puffy skin around the nail with intermittent odor: Likely chronic paronychia. Minimizing water exposure and protecting the cuticle are key first steps.
Keeping Nails Clean and Dry
Whatever the cause, moisture is the single biggest factor that allows nail odor to develop and persist. Wearing gloves when washing dishes or cleaning, drying your hands thoroughly (including under the nails), and keeping nails trimmed to a reasonable length all reduce the space where bacteria and fungi can take hold. Avoid cutting your cuticles, since they act as a seal that prevents microorganisms from entering the nail fold.
If you notice discoloration, thickening, lifting, or a smell that doesn’t go away with better hygiene, the nail likely has an active infection. Fungal infections in particular are slow to develop and slow to treat, so addressing them sooner rather than later saves months of waiting for a damaged nail to grow out.

