What Causes White Stuff Coming From Your Penis? A Doctor Explains

You've noticed something white coming from your penis. Perhaps it's a milky liquid, a sticky substance, or something resembling cottage cheese. You're wondering whether it's normal, an infection, or a sexually transmitted infection (STI).

It's a question many people feel uncomfortable asking. But there is nothing embarrassing about wanting to understand what's happening to your body.

The answer depends on where the white material is coming from, what it looks like, and whether you have other symptoms.

Some causes are completely normal. Others need medical attention.

The most important distinction:

White material collecting under the foreskin is different from white liquid coming out of the opening at the tip of the penis. The first may be normal smegma or a skin condition. The second may indicate urethritis, including an STI.

1. White Stuff Under the Foreskin: Could It Be Smegma?

One of the most common explanations for white material around the head of the penis is smegma.

Smegma is a natural accumulation of skin cells, oils and moisture. It may appear as a white or yellowish, soft, sometimes cheesy substance beneath the foreskin.

It is not itself a sexually transmitted infection.

Smegma may have a noticeable smell, particularly when it accumulates over time. It is more commonly noticed in people who are uncircumcised.

What should you do?

Gently wash the area with warm water, retracting the foreskin only if it moves comfortably. Avoid aggressive scrubbing and strongly perfumed soaps. Dry gently and return the foreskin to its normal position.

Never force back a tight foreskin.

If the area is persistently red, painful, swollen or itchy, don't assume the problem is simply hygiene. A medical assessment may be needed.

2. White or Milky Discharge From the Penis: Could It Be an STI?

If white, cloudy or milky liquid is coming directly from the urethral opening at the tip of the penis, the situation is different.

Unexplained urethral discharge is a recognised symptom of urethritis — inflammation of the tube that carries urine and semen through the penis.

Sexually transmitted infections are important causes of urethritis, particularly:

  • Chlamydia
  • Gonorrhoea
  • Mycoplasma genitalium (MGen)

Other infectious and non-infectious causes are also possible.

The colour or thickness of the discharge alone cannot reliably identify which infection, if any, is present.

Chlamydia

Chlamydia is a common bacterial STI. Many infections produce no symptoms, but some people develop a small amount of clear, cloudy or whitish penile discharge.

Other symptoms can include burning during urination or discomfort around the urethral opening.

Because symptoms may be mild or absent, testing is important when exposure is possible.

Gonorrhoea

Gonorrhoea can cause a more noticeable discharge that may be white, yellow or green, sometimes accompanied by painful urination.

However, discharge appearance is not sufficiently reliable to distinguish gonorrhoea from other infections.

Gonorrhoea requires appropriate medical assessment and antibiotic treatment. Antibiotic resistance is an important consideration.

Mycoplasma genitalium

Mycoplasma genitalium is another sexually transmitted bacterium associated with urethritis.

It may cause discharge, irritation or burning during urination. It can also occur without obvious symptoms.

MGen deserves particular attention because antibiotic resistance can complicate treatment.

Australian clinical guidance recommends considering MGen testing in patients with suspected urethritis, rather than routinely screening everyone without symptoms.

Important:

A white discharge does not automatically mean you have chlamydia or gonorrhoea. But a new, unexplained discharge from the urethral opening should be assessed promptly, even if there is no pain.

3. Could White Discharge Be Thrush?

Yes, although penile thrush usually affects the skin of the glans or foreskin rather than producing discharge from inside the urethra.

Thrush is associated with an overgrowth of Candida yeast.

Possible symptoms include:

  • Redness or irritation around the head of the penis
  • Itching or burning
  • White patches or thick material beneath the foreskin
  • Soreness, particularly during sex or washing

Thrush is not generally classified as an STI, although sexual activity can sometimes contribute to irritation or transmission of yeast.

Repeated episodes may warrant assessment for contributing factors, including diabetes or skin conditions.

Not every white patch or deposit is thrush. Treating yourself repeatedly with antifungal creams without a diagnosis may delay identification of another condition.

4. Could It Simply Be Semen or Pre-Ejaculate?

Not every fluid coming from the penis is abnormal.

Semen is typically whitish or greyish and is released during ejaculation. Small amounts of residual semen may occasionally appear afterwards.

Pre-ejaculate is usually clear and slippery, although it can sometimes appear cloudy, particularly if mixed with residual semen.

These fluids are generally associated with sexual arousal, ejaculation or the period shortly afterwards.

Discharge that occurs unexpectedly, particularly without arousal, should not automatically be assumed to be semen.

If you are uncertain, a doctor can help distinguish normal physiological secretions from symptoms that warrant testing.

5. Balanitis: When the Head of the Penis Becomes Inflamed

Balanitis means inflammation of the head of the penis. When the foreskin is also inflamed, the condition is called balanoposthitis.

Possible causes include irritation from soaps, contact dermatitis, fungal or bacterial infections and other skin disorders.

Symptoms may include redness, swelling, soreness, itching, an unpleasant smell or material collecting around the glans.

Balanitis is not necessarily sexually transmitted.

A doctor may need to examine the area to determine whether the cause is infectious, inflammatory or related to another skin condition.

6. What If White Discharge Appears Only in the Morning?

Some people notice a small amount of fluid or crusting at the penile opening when they wake up.

It is tempting to assume that discharge occurring only in the morning is harmless.

However, urethral discharge from an infection can sometimes be more noticeable after several hours without urinating.

Morning-only discharge does not rule out an STI.

If it is new, recurrent or unexplained, arrange a medical assessment.

7. What If the White Stuff Has No Smell and Doesn't Hurt?

Absence of pain, burning or odour is reassuring in some circumstances, but it does not exclude an infection.

Chlamydia and other STIs can produce mild symptoms or none at all.

The important questions include where the material is located, whether it represents genuine urethral discharge, whether it is new, and whether there has been possible sexual exposure.

You cannot reliably rule out an STI based on smell, colour or the absence of pain.

How Can You Tell the Difference?

What you noticePossible explanationRecommended action
Soft white material beneath the foreskinSmegmaGentle hygiene; assessment if persistent or irritating
White material with redness and itchingThrush, balanitis or another skin conditionGP examination
White or cloudy fluid from the urethral openingUrethritis, including possible STIPrompt STI assessment and testing
Thick yellowish or greenish dischargePossible gonorrhoea or other urethritisPrompt medical assessment
Whitish fluid associated with ejaculationSemenUsually normal
New discharge with burning urinationUrethritis or another urinary conditionPrompt medical assessment

These descriptions are general clues, not diagnostic criteria. Different conditions can look similar.

Can You Get White Penile Discharge After Oral Sex?

Yes. Oral sex can transmit infections that cause urethritis, including gonorrhoea and, less commonly, other organisms.

It is possible to develop urethral symptoms even when there has been no vaginal or anal intercourse.

That is why a doctor may ask about oral, vaginal and anal sexual contact when determining appropriate testing.

The purpose is not to judge your sexual practices. It is to select the right investigations.

Read more: Do I Need an STI Test After Oral Sex?

What STI Tests Might You Need?

For suspected urethritis, Australian STI management guidelines recommend testing for common infectious causes, including chlamydia, gonorrhoea and Mycoplasma genitalium.

Testing often involves a first-pass urine sample using a nucleic acid amplification test (NAAT).

A clinician may also collect a swab of visible discharge for gonorrhoea culture and antibiotic susceptibility testing.

Depending on sexual history, throat or rectal swabs and blood tests for other STIs may also be appropriate.

Not every STI is detected by a urine test, and not every STI test includes the same infections.

This is one reason why speaking to a doctor can be more useful than requesting a test without clinical guidance.

Should You Have Sex While You Have Penile Discharge?

If you have unexplained discharge that may represent an STI, avoid sexual contact until you have been medically assessed.

If an STI or infectious urethritis is diagnosed, follow the clinician's instructions about treatment, when sexual activity can resume and whether partners need testing or treatment.

Condoms reduce the risk of many STIs but do not make sex risk-free when an active infection is suspected.

Can White Penile Discharge Go Away on Its Own?

Sometimes symptoms diminish or disappear without treatment.

But this does not prove that an infection has cleared.

Some STIs may persist despite improvement in symptoms, and untreated infections can sometimes lead to complications or transmission to partners.

Do not use leftover antibiotics or someone else's medication. Incorrect antibiotic treatment can interfere with diagnosis and contribute to resistance.

When Should You See a Doctor?

Arrange prompt medical assessment if you notice:

  • New or unexplained discharge from the penile opening
  • Burning or pain when urinating
  • Persistent redness, swelling or itching
  • Discharge following possible STI exposure
  • Recurring symptoms despite treatment
  • A sexual partner who has been diagnosed with an STI

Seek urgent in-person care for sudden or severe testicular pain, significant testicular swelling, fever with genital pain, inability to urinate, or severe illness. These symptoms may require immediate examination and treatment.

Frequently Asked Questions

Is white stuff coming from the penis always an STD?

No. Smegma, semen, pre-ejaculate, thrush and skin inflammation can produce white material. However, unexplained discharge from the urethral opening can indicate an STI and should be assessed.

Can chlamydia cause white discharge from the penis?

Yes. Chlamydia can cause clear, cloudy or whitish urethral discharge, although many people with chlamydia have no symptoms.

Can gonorrhoea discharge be white instead of yellow?

Yes. Gonorrhoea-related discharge varies in appearance. Colour alone cannot confirm or exclude gonorrhoea.

Is white stuff under the foreskin normal?

Small amounts of smegma can be normal. Persistent irritation, redness, swelling, pain or unusual changes should be assessed.

Can I have an STI without burning when I pee?

Yes. Urethral discharge may occur without painful urination, and some STIs produce no noticeable symptoms.

Will a normal urine test detect an STI?

Not necessarily. Routine urine tests for urinary tract infections are different from specific STI tests such as NAATs for chlamydia and gonorrhoea.

Should I squeeze my penis to check for discharge?

No. Repeated squeezing or manipulation can irritate the urethra. Describe what you have noticed to a clinician rather than repeatedly trying to produce discharge.

Don't Be Embarrassed to Ask

People often search for phrases such as "white stuff coming out of my penis" because they are worried and unsure how to describe their symptoms.

Doctors are familiar with these concerns. You do not need to know whether the material is smegma, semen, thrush or urethral discharge before asking for help.

What matters is understanding the cause and receiving appropriate advice.

A GP can help determine whether STI testing, treatment, physical examination or referral is required.

Worried About White Penile Discharge?

You don't have to diagnose yourself.

Speak with a doctor about your sexual health concerns in a respectful, private and non-judgemental consultation.

STI Check can help you understand what testing or further assessment may be appropriate.

Talk to a Doctor at STI Check

Telehealth suitability depends on your symptoms. Some conditions require prompt in-person examination, testing or treatment.

Medical References

This article provides general medical education and is not a substitute for individual clinical assessment, diagnosis or treatment.

Scroll to Top