No, a PPI is not routinely needed for short-term ibuprofen use for menstrual cramps. Whether one is recommended depends on your GI bleeding risk, not on using ibuprofen for dysmenorrhea specifically.
When a PPI is NOT needed
For a healthy person taking ibuprofen only for 2-3 days per cycle (the typical dysmenorrhea course), routine PPI co-prescription is not indicated. Guidelines reserve gastroprotection for higher-risk NSAID use - Harrison's Principles of Internal Medicine, Table 335-7 ("Guide to NSAID Therapy") stratifies patients by GI risk before recommending a PPI.
When a PPI (or other gastroprotection) IS recommended alongside NSAIDs
According to Harrison's and the ACG guidelines it cites, gastroprotective therapy (PPI, or misoprostol 200 mcg qid if PPI not tolerated) should be added if you have any of:
- Age over 65
- History of peptic ulcer disease or prior GI bleed
- Concurrent use of aspirin, anticoagulants, corticosteroids, or SSRIs
- High-dose or prolonged/chronic NSAID use (not a 2-3 day course)
- H. pylori infection (should be eradicated if present)
- Serious comorbidity (e.g., cardiovascular disease)
If any of these apply, or if you're taking ibuprofen frequently/long-term for any reason beyond an occasional period, a PPI (typically omeprazole or similar, once daily) is reasonable and effective co-therapy - it's the most effective agent for both healing and preventing NSAID-induced ulcers, more so than H2 blockers - Harrison's Principles of Internal Medicine.
A caveat worth knowing
Some more recent evidence suggests PPIs may not be purely protective for the entire GI tract: a 2023 systematic review/meta-analysis found PPIs can actually increase risk of NSAID-related small bowel injury (as opposed to their well-established benefit for the stomach/duodenum) (PMID 37019683). This doesn't change guidance for typical short menstrual-pain use, but it's a reason not to take a PPI "just in case" without an actual risk factor.
Bottom line
Taking ibuprofen 400 mg for a few days each cycle for cramps generally does not require a PPI in someone without the risk factors above. If you have risk factors, or plan on frequent/long-term NSAID use, it's worth discussing PPI co-therapy with your doctor or pharmacist.