It's always best to speak to your local doctor or pharmacist regarding medications. We cannot guarantee that any responses on this site are accurate.
Generally, unless you are allergic to it, ibuprofen will not cause a miscarriage. However it should only be taken in pregnancy when your doctor says it is ok. I was told to replace ibuprofen with acetaminophen (or Tylenol). If you took ibuprofen while pregnant there is NO NEED to panic. It has NOT been proven that it is linked to miscarriage. But, do ask your doctor. Acetaminophen is the only drug I know that its 100% safe during pregnancy.