A Group B strep test is a simple swab test done late in pregnancy to check for Group B Streptococcus (GBS) bacteria in the vaginal and rectal areas. The test is routine for most pregnant people between 36 and 37 weeks of gestation. Finding GBS matters because the bacteria can pass to a baby during vaginal delivery, and in rare cases, it can cause serious illness in newborns. The test is quick, painless, and the results directly guide whether you receive antibiotics during labor to protect your baby.
Why Is Group B Strep Testing So Important?
Group B strep is a common type of bacteria. Up to one in four healthy adults carries it naturally in the gut, vagina, or urinary tract. For the person carrying it, GBS usually causes no symptoms and no health problems. It is not a sexually transmitted infection, and it is not a sign of poor hygiene.
The concern is entirely about the newborn. If a baby is exposed to GBS during birth, the bacteria can enter the baby’s lungs, blood, or spinal fluid. This can lead to pneumonia, sepsis, or meningitis. These are severe conditions, but they are also preventable. Testing late in pregnancy identifies which mothers carry GBS, so they can receive IV antibiotics during labor that dramatically reduce the chance of passing the bacteria to the baby.
Before routine screening became standard practice, GBS was a leading cause of serious newborn infections. Since widespread testing and intrapartum antibiotics were introduced, the rate of early-onset GBS disease in newborns has dropped by more than 80 percent. This is one of the clearest success stories in modern obstetrics.
How Is The Group B Strep Test Done?
The test itself is straightforward and takes less than a minute. A clinician uses a sterile cotton swab to gently collect samples from two areas: the lower vagina and the rectum. The swabs are placed into a special culture medium and sent to a laboratory.
The lab grows the sample to see if GBS bacteria are present. This culture method is the gold standard for accuracy. It is highly sensitive, meaning it rarely misses a true GBS carrier. Results typically come back within 24 to 48 hours.
You do not need to do anything to prepare for the test. No fasting, no special cleaning, and no avoiding certain foods. You can have the test done at a routine prenatal appointment. Many people report mild pressure or a moment of discomfort, but it is not painful.
One important note: the test checks for GBS at that specific moment. The bacteria can come and go naturally, but the 36-to-37-week timing is deliberate. Research shows this timing best predicts your GBS status at delivery. Testing earlier in pregnancy is less reliable because the presence of GBS can change.
What Happens If Your Test Is Positive?
A positive test result means you are carrying GBS at the time of the test. It does not mean you are sick, and it does not mean your baby will definitely get sick. It simply means you are a carrier, and your care team will take a preventive step.
If your test is positive, you will receive IV antibiotics once labor starts. The standard treatment is penicillin, or a related antibiotic like ampicillin. If you have a penicillin allergy, your doctor will choose a safe alternative based on your specific allergy history.
The antibiotics are given through an IV, not as a pill. This is important. IV antibiotics reach high levels in your bloodstream quickly and cross the placenta to protect the baby during the journey through the birth canal. For maximum protection, you need at least four hours of IV antibiotics before delivery. If labor moves faster than that, the baby still receives some protection, but the full four-hour course is the goal.
These antibiotics are not treating an infection in you. They are preventing one in your baby. This distinction matters because it explains why the antibiotics are only given during labor, not before. Giving antibiotics earlier would not provide the same protection at the moment of birth.
What If You Have Risk Factors But A Negative Test?
Sometimes, a negative test result is overridden by clinical circumstances. Certain situations during labor increase the risk of GBS transmission significantly, even if your screening test was negative.
These risk factors include:
- Labor starting before 37 weeks of pregnancy
- Your water breaking 18 hours or more before delivery
- A fever of 100.4°F (38°C) or higher during labor
- A previous baby who had GBS disease
- GBS in your urine during this pregnancy
If any of these apply, your obstetrician will likely recommend IV antibiotics during labor even if your swab test was negative. This is standard clinical practice. The risk factors themselves are enough to warrant treatment because they are associated with higher rates of newborn infection.
If you had GBS in your urine at any point during pregnancy, you are considered a carrier regardless of your later swab test. In this situation, you will be offered antibiotics during labor without needing the 36-week screening test at all.
Can You Prevent Group B Strep Naturally?
This is a common question, and the honest answer is that no natural or alternative method has been proven to eliminate GBS carriage. Some websites suggest garlic, probiotics, or specific diets to clear GBS before delivery. No clinical evidence confirms these approaches work.
Some studies have explored whether probiotics taken vaginally or orally can reduce GBS colonization. The results are mixed and not strong enough to recommend them as a replacement for standard care. Probiotics are generally safe for most pregnant people, but they are not a proven treatment.
What matters most is that you are not at fault for carrying GBS. It is a normal part of the bacterial environment in many healthy people. Nothing you did caused it, and no specific behavior will reliably get rid of it.
The best strategy is to follow the evidence-based plan: get tested at 36 to 37 weeks, and if positive, receive IV antibiotics during labor. This approach has been studied for decades and has an excellent safety record for both mother and baby.
What Are The Risks Of IV Antibiotics During Labor?
The antibiotics used for GBS prevention are generally very safe. Penicillin and ampicillin have been used in pregnancy for decades. The most significant risk is a severe allergic reaction, which is rare. If you have a known penicillin allergy, your doctor will choose an alternative antibiotic that is safe for you.
There is some ongoing discussion about whether maternal antibiotics affect the baby’s developing gut microbiome. Some research suggests a link between early antibiotic exposure and changes in infant gut bacteria. The long-term health implications of these changes are not fully understood, and research is ongoing.
However, the benefits of preventing GBS disease in newborns far outweigh the theoretical risks. GBS meningitis and sepsis are life-threatening conditions. The protective effect of IV antibiotics is well established and substantial.
If you have concerns about antibiotics, discuss them with your obstetrician. They can explain the specific risks and benefits for your situation. Do not decline antibiotics without having that conversation first.
Frequently Asked Questions
Is the group B strep test painful?
No, the test is not painful. You may feel mild pressure or a brief moment of discomfort when the swab is taken, but it lasts only a few seconds.
Can I refuse the group B strep test?
Yes, the test is your choice, and you can decline it. If you do decline, your care team will discuss the risks and may recommend antibiotics during labor based on risk factors alone.
What happens if my test is positive but I have a C-section?
If you have a scheduled C-section before labor starts and your water has not broken, IV antibiotics are generally not needed. The risk of GBS transmission is very low in this situation.
Can group B strep come back after treatment?
Yes, GBS can return because it is a natural part of your bacterial environment. The IV antibiotics during labor are only meant to protect your baby at birth, not to permanently eliminate the bacteria from your body.

