Menstrual blood is not dirty, and having sex during or around your period is not automatically unsafe. Pregnancy is much less likely on the days right around bleeding, but it is not impossible, and sexually transmitted infections (STIs) can spread at any point in the cycle. The real answer depends on what “safe” means to you.
If “safe” means avoiding pregnancy, the days just before and just after your period are usually low-risk but not zero-risk. If “safe” means avoiding infection, there is no safe window at all. If “safe” means comfort, many people find these days easier than mid-cycle, while others find them more sensitive.
Can you get pregnant 5 days before or after your period?
Pregnancy is possible, though unlikely, on the days immediately around your period. The reason comes down to sperm survival and ovulation timing.
Sperm can live inside the female reproductive tract for up to about five days. An egg survives roughly 12 to 24 hours after it is released. So pregnancy is most likely during the five days before ovulation and the day of ovulation itself.
In a textbook 28-day cycle, ovulation happens around day 14. Days 1 through 5 are bleeding days, and days 6 through 10 sit well before the fertile window. That is why the days around a period are often called low-risk.
But textbook cycles are not the norm for everyone. Cycle length varies. Ovulation can shift earlier or later from month to month because of stress, illness, travel, poor sleep, or hormonal conditions. Some people ovulate as early as day 8 or as late as day 20.
Here is the part many people miss. If you have a short cycle, say 21 or 22 days, ovulation can happen around day 7 or 8. That means sperm from sex on day 5 or 6 after your period starts could still be alive when the egg is released. This is how “period sex” pregnancies happen.
Bleeding is also not a perfect marker. Some people mistake ovulation spotting or breakthrough bleeding for a period. If what you think is a period is actually mid-cycle spotting, the timing math changes completely.
Is it safe 5 days before and after your period for pregnancy?
“Safe” as in no chance of pregnancy is not accurate. “Lower risk” is accurate. That distinction matters if you are relying on timing alone.
The rhythm method, sometimes called the calendar method, uses cycle history to estimate fertile days. It works best for people with very regular cycles who track carefully over many months. Even then, it is one of the less reliable forms of birth control. Real-world failure rates for fertility awareness methods are high, largely because ovulation does not follow a schedule.
If avoiding pregnancy matters to you, the days around your period are not a substitute for a reliable method. Condoms, hormonal birth control, and intrauterine devices all work regardless of where you are in your cycle.
One more thing worth knowing. Sperm survival and ovulation timing are the two variables that decide pregnancy risk. You control neither with certainty. That is why “probably fine” is not the same as “safe.”
Does having sex during your period raise infection risk?
Sex during a period does not cause infection on its own. But the days around bleeding can change the environment in ways that matter for STI transmission.
During menstruation, the cervix opens slightly to let blood out. That small opening can make it easier for bacteria and viruses to travel upward into the uterus. Blood also changes the pH of the vagina, which can affect how well the natural defenses work.
These factors do not create infection from nothing. They can make it easier for an infection to take hold if one is already present or if a partner has one. The main risk is still exposure to an STI, not the period itself.
Barrier protection with condoms reduces STI risk at any point in the cycle, including during bleeding. This is the single most effective step for infection prevention.
If you use a tampon or menstrual cup, remove it before sex. Leaving it in place can cause pain, push bacteria upward, or lead to a retained object that needs medical removal. This is a real risk, not a minor one.
What about comfort and hygiene around period sex?
Comfort varies a lot from person to person and even from cycle to cycle. Some people find arousal and lubrication are higher during their period. Others find the area more tender or sensitive.
Cramps can ease after orgasm for some people because of the release of endorphins and muscle relaxation. This is commonly reported, though it is not a guaranteed effect and research on it is limited.
Practical steps that help:
- Put a dark towel down to protect sheets and reduce cleanup stress.
- Use condoms or dental dams to lower infection risk and simplify cleanup.
- Choose positions that feel comfortable, since pelvic pressure can feel different during bleeding.
- Empty and clean a menstrual cup or remove a tampon before any sexual activity.
- Urinate after sex to help reduce urinary tract infection risk, which applies at any point in the cycle.
If sex is painful during your period, that is information, not something to push through. Pain during sex can have several causes, including endometriosis, fibroids, or infections. Those are worth discussing with a clinician rather than working around.
Which days are actually the most fertile?
The fertile window is the five days before ovulation plus the day of ovulation. Outside that window, pregnancy is very unlikely but not impossible.
For a 28-day cycle with ovulation on day 14, the fertile window runs roughly from day 9 to day 15. Days 1 through 8 and days 16 through 28 are lower risk. Days 5 before and 5 after a period of average length fall mostly outside that window.
But this is a model, not a rule. The table below shows how cycle length shifts the picture.
| Cycle length | Approximate ovulation day | Fertile window (approx.) |
|---|---|---|
| 21 days | Day 7 | Days 2–8 |
| 28 days | Day 14 | Days 9–15 |
| 35 days | Day 21 | Days 16–22 |
Notice the 21-day cycle. If bleeding lasts five days, the fertile window overlaps with the tail end of your period. Sex on day 5 after your period starts could fall inside the window. This is the clearest example of why “safe around your period” is not a reliable rule.
Tracking methods like basal body temperature, cervical mucus changes, and ovulation predictor kits can narrow the estimate. None of them predict ovulation in advance with certainty. They confirm it after the fact or detect it within a day or two.
When should you talk to a doctor?
Talk to a clinician if bleeding between periods is new or unusual. Mid-cycle spotting, bleeding after sex, or periods that suddenly become much heavier or longer can have several causes. Thyroid problems, polyps, fibroids, and infections are among them. So is perimenopause for people in their 40s and early 50s.
Also seek care if you have pain during sex that is new or getting worse, unusual discharge with an odor or color change, fever, or pelvic pain that does not go away.
These symptoms are not automatically serious. But they are not something to self-diagnose from a search either. A clinician can sort out what is normal variation and what needs testing.
Frequently Asked Questions
Can I get pregnant 5 days after my period ends?
Yes, it is possible, especially if you have a short cycle or ovulate early. Sperm can live up to about five days, so sex shortly after bleeding can overlap with ovulation in some cycles.
Is it safe to have sex during your period?
Yes, sex during your period is generally considered safe for most people. The main risks are STI transmission and pregnancy, both of which can be reduced with condoms and reliable birth control.
Can you get an infection from period sex?
Period sex does not cause infection by itself, but the slightly open cervix and changed vaginal pH may make it easier for an existing infection to spread. Condoms lower this risk.
Are the days right after your period safe without birth control?
No, timing alone is not a reliable way to prevent pregnancy. Ovulation can shift earlier than expected, so the days around your period are lower risk but not safe.

