Odor under the foreskin comes from a buildup of smegma, a natural mixture of shed skin cells, oils, and proteins that accumulates between the glans and the inner foreskin. It’s completely normal, similar to earwax, but when it sits too long it develops a noticeable smell. The fix is straightforward: a consistent cleaning routine that takes about 30 seconds in the shower.
What Causes the Smell
The inner surface of the foreskin constantly produces new cells that migrate outward, undergo a fatty breakdown, and slough off. These dead cells mix with sebum (the skin’s natural oil) to form smegma, a whitish-yellow substance that’s roughly 27% fat and 13% protein. That composition makes it an ideal food source for bacteria and fungi. Malassezia, a common skin fungus, is found under the foreskin in about 49% of uncircumcised men compared to 7% of circumcised men. The organisms feeding on smegma are what produce the odor, not the smegma itself.
Sweat adds to the problem. The groin is warm, enclosed, and doesn’t get much airflow, so moisture lingers. Combine that with the sealed environment under the foreskin and you get conditions where bacteria multiply quickly, especially on hot days or after exercise.
The Right Way to Wash
The cleaning process is simple, but the details matter. Every time you shower:
- Retract the foreskin fully. Gently pull it back to expose the entire glans.
- Rinse underneath with warm water. Use your fingers to clear any visible smegma from the groove where the glans meets the inner foreskin.
- Skip regular soap under the foreskin. Soap strips the natural oils from this delicate mucosal skin, which can cause dryness, cracking, and irritation that actually makes odor worse over time. If you want to use something beyond water, a soap-free wash (sometimes labeled “soap substitute” or “emollient wash”) is gentler on genital skin.
- Dry the area thoroughly. Pat the glans dry with a clean towel before pulling the foreskin back into place. Leftover moisture is one of the biggest contributors to bacterial growth and recurring smell.
- Always return the foreskin to its normal position. Leaving it retracted can cause swelling and constriction.
Once a day is enough for most people. If you’re physically active or live in a hot climate, a quick rinse after heavy sweating helps. You don’t need specialized cleansers, antibacterial wipes, or anything marketed specifically for genital hygiene. Water and thorough drying do most of the work.
What You Wear Matters
Tight synthetic underwear traps heat and moisture against the skin, creating the exact environment that breeds odor. Loose-fitting cotton underwear lets the groin area breathe, reducing the sweat and warmth that fuel bacterial growth. If you wear athletic compression shorts during workouts, change out of them promptly afterward. Sitting in damp fabric for hours is one of the fastest ways to develop a noticeable smell even if your washing routine is solid.
Caring for a Child’s Foreskin
For babies under one year, simply wash the outside of the penis with warm water during baths. Do not attempt to retract the foreskin at all. At birth, the foreskin is naturally fused to the glans and will separate on its own over time.
Between ages one and three, if the foreskin has started to loosen, you can begin gently pulling back just the loose portion once a week during bath time. Stop immediately if it causes pain. Rinse underneath with warm water, wipe away any visible smegma, dry the area, and slide the foreskin back. Don’t leave soapy water under the foreskin. By age five or six, you can start teaching your child to do this independently, and by the teenage years it should become part of a daily shower routine.
When the Smell Points to Something Else
If the odor persists after consistent, proper washing, it may not be a hygiene issue. Several conditions cause foul-smelling discharge under the foreskin, and each has distinct signs.
Balanitis, an inflammation of the glans, causes redness, swelling, itching, and sometimes a foul smell. It’s especially common in uncircumcised boys under five who have a tight foreskin (affecting about 25% of them). In adults, diabetes and weakened immune function increase the risk and severity.
A yeast infection produces a thick, white, cottage-cheese-like discharge with an unmistakable smell. You’ll usually also notice burning, itching, and sometimes shiny sores or peeling skin on the glans.
A fishy odor specifically suggests a bacterial infection. One culprit, Gardnerella vaginalis (the same organism behind bacterial vaginosis), causes a characteristic fishy-smelling discharge under the foreskin. Other bacterial infections may produce yellow discharge along with redness and swelling.
Certain STIs can also be responsible. Trichomoniasis causes frothy, smelly discharge along with burning during urination. Chlamydia and gonorrhea produce foul-smelling discharge as well. Genital herpes and syphilis cause sores that can develop their own odor.
How Phimosis Complicates Things
Phimosis, a condition where the foreskin is too tight to retract fully, makes proper cleaning difficult or impossible. Smegma accumulates in areas you can’t reach, leading to chronic odor and repeated infections. Each round of infection can cause scarring that tightens the foreskin further, creating a cycle that worsens over time.
If you can’t retract your foreskin enough to clean underneath, or if retraction is painful, that’s worth addressing with a doctor. Mild cases sometimes respond to gentle stretching exercises or prescription steroid creams that gradually loosen the tissue. More severe or recurring cases may require a surgical solution. The key point is that no amount of external washing will solve an odor problem rooted in an inability to clean under the foreskin.
Red Flags That Need Medical Attention
A smell that doesn’t resolve with a few days of proper washing deserves a closer look. Beyond persistent odor, watch for redness or discoloration on the glans, any unusual discharge (especially if it’s yellow, green, or frothy), pain during urination or ejaculation, sores or lumps on the penis, or skin that looks shiny and swollen. These symptoms suggest infection or inflammation that won’t clear up on its own. In rare but serious cases, spreading infection with fever, chills, or confusion requires urgent care.

