I recently had unprotected sex while taking antibiotics (medicine used to treat infection) and antifungals (medicine used to treat fungal infections). Could I be pregnant?

Great question, thank you. For many years, there was a misconception surrounding the interaction between antibiotics and oral contraceptives (the pill).  While there are a very few antibiotics such as rifampin that can make the pill less effective (while on the antibiotic), research has shown that most antibiotics don’t change the risk of getting pregnant. However, some anticonvulsant (seizure) medications such as phenytoin and barbiturates do interact with the pill, lowering the effectiveness. It’s always a good idea to have a conversation with your primary care provider (PCP) and let them know that you take the pill.

It’s also very important that you use two forms of protection every time you have sex. Most contraceptive methods can protect you against pregnancy, but not all of them will protect you against sexually transmitted infections (STIs). It’s also a good idea to use two forms just in case one of them fails, or the condom breaks. Having a conversation with your PCP may help you select the two forms of protection that are right for you. If you believe you may be pregnant, schedule an appointment immediately with your PCP to discuss your concerns.


Our health guides are developed through a systematic, rigorous process to ensure accuracy, reliability, and trustworthiness. Written and reviewed by experienced healthcare clinicians from Boston Children's Hospital, a Harvard Medical School teaching hospital and consistently ranked as a top hospital by Newsweek and U.S. News & World Report, these guides combine clinical expertise, specialized knowledge, and evidence-based medicine. We also incorporate research and best practices from authoritative sources such as the CDC, NIH, PubMed, top medical journals, and UpToDate.com. Clinical specialists and subject matter experts review and edit each guide, reinforcing our commitment to high-quality, factual, scientifically accurate health information for young people.