- Aim The aim of the study was to characterize the extent of indication bias resulting from the excessive use of NSAIDs on the days preceding a spontaneous abortion to relieve pain. Methods We used data from a retrospective cohort study assessing the risk for spontaneous abortions following exposure to NSAIDs. Three definitions of exposure for cases of spontaneous abortions were compared, from the first day of pregnancy until the day of spontaneous abortion and until 3 and 2 days before a spontaneous abortion. Statistical analysis was performed using multivariate time programmed Cox regression. Results A sharp increase was observed in the dispensation of indomethacin, diclofenac and naproxen, and a milder increase was found in the use of ibuprofen during the week before a spontaneous abortion. Non- selective COX inhibitors in general and specifically diclofenac and indomethacin were found to be associated with spontaneous abortions when the exposure period was defined until the day of spontaneous abortion (hazard ratio (HR) 1.15, 95% confidence interval (CI) 1.04, 1.28; HR 1.31, 95% CI 1.08, 1.59 and HR 3.33, 95% CI 2.09, 5.29, respectively). The effect disappears by excluding exposures occurring on the day before the spontaneous abortion for non-selective COX inhibitors and on the last week before the spontaneous abortion for indomethacin. In general, decreasing HRs were found with the exclusion of exposures occurring on the days immediately before the spontaneous abortion. Conclusions The increased use of NSAIDs during the last few days that preceded a spontaneous abortion to relieve pain associated with the miscarriage could bias studies assessing the association between exposure to NSAIDs and spontaneous abortions.