A vaginitis test checks a sample of vaginal discharge to find out why the vagina is itchy, irritated or has an unusual discharge or smell. The three most common causes are bacterial vaginosis (BV, often linked to a germ called Gardnerella), a yeast infection, and trichomoniasis, a sexually transmitted infection. They can feel alike but need different medicines, so a quick test usually beats guessing.
Key points
- The test uses a gentle swab of discharge from inside the vagina. Sometimes you can take the swab yourself.
- Some results are ready during the visit, from a pH strip and a look under a microscope. Lab tests take a day or a few days.
- Don’t douche, use vaginal creams or have sex for a day or two before the test.
- Many people who treat themselves for a yeast infection actually have something else.
- If the test shows trichomoniasis, sex partners need treatment too.
Why a vaginitis test is done
Vaginitis means inflammation of the vagina. Symptoms include:
- Discharge that is more than usual or has changed color or texture
- A fishy or unpleasant smell, often stronger after sex
- Itching, burning or soreness in or around the vagina
- Pain during sex or when peeing
Each common cause has a typical pattern, but there is a lot of overlap:
- Bacterial vaginosis. The most common cause. The usual healthy bacteria (lactobacilli) are crowded out by others, including Gardnerella. It often causes thin gray or white discharge with a fishy smell, and little itching.
- Yeast infection (candidiasis). An overgrowth of the fungus Candida. It usually causes itching, redness and thick white discharge without much smell.
- Trichomoniasis. An infection with a tiny parasite, Trichomonas vaginalis, spread through sex. It can cause frothy yellow-green discharge, itching and soreness, but many people have no symptoms.
Other causes include chlamydia and gonorrhea, irritation from soaps or products, and thinning of the vaginal lining after menopause. The doctor may test for these at the same visit.
Before the test
- For 24 to 48 hours before, don’t douche, use vaginal creams, gels or suppositories, or have sex. These can wash away or hide the cause.
- Try not to start an over-the-counter yeast treatment before you’re tested.
- If you have your period, call to ask whether to reschedule.
- Tell the clinician if you are or might be pregnant, and about any recent antibiotics.
What happens during a vaginitis test
You’ll be asked about your symptoms, sexual history and any past infections. Then the sample is collected in one of two ways:
- Pelvic exam. You lie on the exam table with your feet in footrests. The clinician gently places a speculum, a smooth tool that holds the vaginal walls apart, and wipes a cotton swab along the vaginal wall. They also look for redness, sores or discharge from the cervix.
- Self-collected swab. Many clinics let you insert a swab a couple of inches into the vagina yourself, turn it, and place it in a tube. These samples work as well for most lab tests.
Collecting the sample takes a few seconds. It may feel a little uncomfortable but shouldn’t hurt.
Tests done on the sample
- pH test. A paper strip shows how acidic the discharge is. A healthy vagina is slightly acidic. A higher pH points to BV or trichomoniasis. With yeast, the pH is usually normal.
- Microscope check (wet mount). Some discharge is mixed with salt water on a glass slide. The clinician looks for “clue cells,” which are skin cells coated with bacteria (a sign of BV), and swimming trichomonas parasites.
- KOH prep and whiff test. A drop of potassium hydroxide dissolves skin cells so yeast is easier to see. It also releases a fishy smell if BV is present.
- Molecular (DNA) tests. A lab test, often a PCR or similar test, looks for the genetic material of BV-related bacteria, Candida and Trichomonas. These tests are very accurate, and the same swab can often test for chlamydia and gonorrhea.
- Culture. Growing the yeast in a lab shows the exact type. It helps when yeast infections keep coming back or don’t respond to usual treatment.
Afterward
You can go back to normal activities right away. A little spotting after a speculum exam is possible. Don’t have sex until you know your results and finish any treatment.
Possible risks
A vaginitis test carries almost no risk. The speculum can cause brief pressure or discomfort.
Your vaginitis test results
Results from a pH strip and microscope are often ready before you leave. Lab results usually take 1 to 3 days. Treatment depends on the cause:
- Bacterial vaginosis is treated with metronidazole pills or gel, or clindamycin cream. Other options include tinidazole and secnidazole. BV often comes back, and longer treatment can help. Ask whether a male partner should be treated too. Recent research suggests it may lower the chance of BV returning.
- Yeast infection is treated with an antifungal cream or suppository, such as miconazole or clotrimazole, or a fluconazole pill. Pregnant women are usually treated with a cream instead of the pill. Four or more yeast infections a year needs longer treatment.
- Trichomoniasis is treated with metronidazole for 7 days, or a single dose of tinidazole. Sex partners need treatment, and you should avoid sex until you’ve both finished it and symptoms are gone. A retest about 3 months later is advised because reinfection is common.
A normal result may mean irritation, an allergy to a product, hormone changes or another cause. BV and trichomoniasis in pregnancy are linked to early birth, so treatment matters.
When to call your doctor
- Symptoms don’t clear up within a week of treatment, or keep coming back
- You have fever, belly or pelvic pain, or sores or blisters
- You are pregnant and have new discharge or itching
- You may have been exposed to a sexually transmitted infection
Common questions about vaginitis tests
Can I test for vaginitis at home?
Partly. Drugstore pH kits show whether vaginal acidity is high, which hints at BV or trichomoniasis, but they can’t tell you which one. Some mail-in kits test swabs for infections. If you have a new problem, are pregnant, or treatment hasn’t worked, see a clinician for a full test.
What does Gardnerella on my test result mean?
Gardnerella vaginalis is a bacterium that many healthy women carry in small amounts. Large amounts, along with fewer healthy lactobacilli, point to bacterial vaginosis. Finding Gardnerella alone, without symptoms or other BV signs, usually doesn’t need treatment. Your clinician will explain your full result.
Can a Pap smear show a yeast infection or BV?
Sometimes, but it isn’t meant to. A Pap test looks for changes in cervical cells that could lead to cancer. It may happen to show yeast, trichomonas or signs of BV. If you have symptoms, a vaginitis test is the right way to find the cause.
Questions to ask your doctor
- Which tests are you running on my sample?
- When and how will I get my results?
- Does my partner need to be tested or treated?
- What can I do to keep this from coming back?
- Should I also be tested for chlamydia, gonorrhea or other infections?
Learn more
- Vaginitis (MedlinePlus, U.S. National Library of Medicine)
- Bacterial vaginosis (Centers for Disease Control and Prevention)
This guide is general information and doesn’t replace advice from your own doctor. Last updated October 2026.



