Smegma, the whitish, crumbly buildup sometimes called “dick cheese,” washes away with warm water and gentle daily cleaning. It’s a natural combination of oils, dead skin cells, sweat, and other fluids that collect around the genitals, and it isn’t an infection or a sign that something is wrong. But left alone, it can smell like sour milk, cause irritation, and create conditions where bacteria thrive.
What Smegma Actually Is
Your skin constantly sheds cells and produces oil to stay moisturized. Under the foreskin, where it’s warm and moist, those shed cells and oils have nowhere to go. They accumulate into a soft, cheese-like substance with a noticeable odor. This is completely natural and happens to most uncircumcised people at some point. It’s not a sexually transmitted infection, not a fungus, and not bacteria itself. The concern is that if it keeps building up, it creates an environment where bacteria and yeast can multiply.
How to Clean It Off
The fix is simple: wash your penis once a day, every day. Here’s what that looks like if you’re uncircumcised:
- Retract the foreskin gently. Pull it back just enough to expose the head of the penis (the glans) and the groove behind it, where smegma collects most.
- Wash with warm water. That’s all you need. A mild, unscented soap is fine in small amounts, but too much soap can irritate the sensitive skin underneath and actually make things worse.
- Don’t scrub. The skin here is thin and delicate. Use your fingers gently.
- Pat dry. Don’t rub. Gently pat the area dry before sliding the foreskin back into place.
- Replace the foreskin. Always slide the foreskin forward over the glans before putting on underwear.
That’s it. Once a day, ideally during your shower. If you’ve let buildup accumulate over several days, it may take two or three days of consistent cleaning before the area is fully clear. Existing smegma that has dried or hardened can be softened with warm water before gently wiping it away.
If You’re Circumcised
Circumcised men can still get smegma, though it’s less common. Without a foreskin trapping moisture, oils and dead skin cells have less opportunity to accumulate. But they can still collect in the groove just behind the head of the penis. The same approach applies: wash that area daily with warm water, pat dry, and you’re done.
Products to Avoid
Your instinct might be to attack the problem with strong soap, body wash, or antiseptic. Resist that. The skin on the glans and inner foreskin is closer to a mucous membrane than regular skin. Harsh products strip away protective oils, cause dryness and micro-irritation, and can trigger more oil production in response, which actually leads to more smegma.
Stick to water or a gentle, fragrance-free soap. Skip antibacterial washes, scented body washes, and anything with alcohol. You don’t need specialized “intimate washes” either. Water does the job.
What Happens If You Ignore It
Smegma on its own is harmless. But chronic buildup is the most common cause of balanitis, an inflammation of the head of the penis. The warm, moist environment under an unwashed foreskin becomes a breeding ground for bacteria and yeast, and the result can be unpleasant: a red, blotchy rash, itching under the foreskin, pain when urinating, and oozing discharge.
Left untreated, balanitis can cause lasting problems. Repeated inflammation can harden the skin tissue, making it difficult for urine and semen to flow normally. It can also cause scarring that tightens the foreskin so much that you can’t retract it at all, a condition called phimosis. At that point, medical treatment becomes necessary. None of this is inevitable. Daily washing prevents it entirely.
Smegma vs. Something More Serious
Smegma looks like crumbly white or yellowish buildup and smells sour. It sits under the foreskin and washes away with water. If you clean the area thoroughly for a few days and the buildup, odor, or irritation doesn’t clear up, something else may be going on.
Watch for these signs that suggest an infection rather than simple smegma:
- Discharge that oozes on its own, especially if it’s discolored (green, yellow, or gray) or happens without sexual arousal
- Burning or pain when urinating
- Redness, swelling, or a rash that doesn’t resolve with cleaning
- Skin discoloration (red, purple, or gray patches)
- Fever or cloudy urine, which can signal a urinary tract infection
Any discharge from the penis that isn’t urine, pre-ejaculate, or ejaculate is considered abnormal and worth getting checked. A healthcare provider can distinguish smegma from a yeast infection, bacterial infection, or STI with a quick physical exam, and they may recommend testing to be sure.
A Note on Children and Infants
If you’re a parent noticing white buildup under your child’s foreskin, don’t force the foreskin back. At birth, the foreskin of most babies doesn’t fully retract, and forcing it can cause pain, tearing, and bleeding. Before age one, simply wash the outside of the penis with warm water during baths. No cotton swabs, no special cleansers.
Around ages one to three, a child’s foreskin typically begins to loosen on its own. Your child’s doctor can let you know when it’s appropriate to start gently cleaning underneath. The key rule: if pulling back the foreskin causes any pain or distress, stop immediately. The foreskin will become fully retractable on its own timeline, and some children take longer than others.
Keeping It From Coming Back
Smegma is a natural byproduct of having skin, so it never stops forming entirely. The goal isn’t to eliminate it permanently but to wash it away before it accumulates. Once-daily cleaning during a regular shower is enough for most people. If you’re physically active or sweat heavily, a quick rinse at the end of the day helps. Wearing breathable cotton underwear also reduces moisture buildup, giving smegma less opportunity to collect. The routine takes about 15 seconds and prevents every problem on this list.

