What Is a Perianal Swab: Uses and What to Expect

A perianal swab is a sample collected from the skin around the anus or just inside the anal canal, used to detect infections ranging from pinworms to bacteria to sexually transmitted infections. It’s one of the most common diagnostic tools in both pediatric and adult medicine, and the collection process itself takes only seconds.

Depending on the reason for the test, the technique varies slightly. Sometimes a cotton-tipped swab is gently inserted 1 to 2 inches into the rectum and rotated for 5 to 10 seconds. Other times, a piece of clear adhesive tape is pressed against the skin around the anus to pick up parasite eggs. Both approaches are quick, minimally uncomfortable, and can be done in a clinic or at home.

Pinworm Testing: The Most Common Use

The most widely recognized reason for a perianal swab is checking for pinworms, a common intestinal parasite especially in school-age children. Pinworms crawl out of the rectum at night to lay eggs on the surrounding skin, which is why the test needs to happen first thing in the morning, before bathing or using the toilet.

The CDC recommends pressing adhesive tape or a specially designed “paddle” swab against the perianal skin to collect any eggs present. These are then examined under a microscope. A single test catches about 50% of infections. Repeating the test on three consecutive mornings raises the detection rate to roughly 90%, which is why your doctor will often send you home with multiple collection kits rather than just one.

Screening for Drug-Resistant Bacteria

Hospitals use perianal and rectal swabs as part of infection control programs, particularly to screen for MRSA colonization in patients being admitted. MRSA can live in the gut without causing symptoms, and a person carrying it there can still spread it to others in a healthcare setting.

Nasal swabs are the more traditional screening tool, but they miss a meaningful number of carriers. In a large surveillance study spanning 3.5 years, nasal swabs detected MRSA colonization with 68% sensitivity, while rectal swabs detected it at 62%. Neither site alone was sufficient. About 26% of colonized patients tested positive only on the rectal swab, meaning their carriage would have gone undetected without it. Adding rectal swabs to nasal screening increased overall detection by 34%.

Diagnosing Perianal Strep in Children

Perianal streptococcal dermatitis is an underdiagnosed skin infection that typically affects children between 6 months and 10 years old. It shows up as a bright red, well-defined rash around the anus, often accompanied by itching, pain during bowel movements, and sometimes blood-streaked stool or a visible discharge. Children with this condition usually don’t have a fever or feel sick otherwise, which can make it easy to mistake for diaper rash, yeast, or hemorrhoids.

A perianal swab of the affected skin (ideally collecting any visible discharge) is sent for bacterial culture. Growth of group A strep confirms the diagnosis. This distinction matters because the treatment is antibiotics, not the antifungal or barrier creams a parent might try first.

STI Detection From Rectal Swabs

Rectal and perianal swabs also play a role in screening for sexually transmitted infections like gonorrhea and chlamydia, particularly in people who have had receptive anal contact. The swab is inserted about 1 to 2 inches past the anal opening, rotated gently for several seconds, and withdrawn without touching the surrounding skin. It’s then placed into a transport tube and sent for testing.

Modern labs can process these samples using either traditional culture or molecular testing (PCR). PCR results come back significantly faster, averaging about 50 hours compared to over 100 hours for conventional culture. For gonorrhea specifically, research comparing anal canal swabs to deeper rectal swabs taken under direct visualization found nearly identical detection rates, meaning a simple blind swab is reliable enough when a more involved examination isn’t practical.

What the Experience Is Like

For the adhesive tape method used in pinworm testing, there’s no insertion involved. You simply press the sticky side against the skin, peel it off, and stick it to a glass slide or place it in a provided container. Parents often do this at home while their child is still in bed.

For swab-based collection, the process is brief. You’ll typically lie on your side with your knees drawn up. The clinician inserts a soft-tipped swab a short distance, rotates it gently, and removes it. The whole thing takes under 15 seconds. Some mild pressure or a brief urge to bear down is normal, but it shouldn’t be painful.

Results timelines depend on the test. A rapid strep or PCR test can return results within a day or two. Standard bacterial cultures take longer, sometimes 3 to 5 days, because the lab needs time to grow and identify organisms. Pinworm tape tests are often read the same day since the lab is simply looking for eggs under a microscope.