Miscarriage, also known in medical terms as a spontaneous abortion, is an end to pregnancy resulting in the loss and expulsion of an embryo or fetus from the womb before it can survive independently. Miscarriage before 6 weeks of gestation is defined as biochemical loss by ESHRE. Once ultrasound or histological evidence shows that a pregnancy has existed, the term used is clinical miscarriage, which can be "early" (before 12 weeks) or "late" (between 12 and 21 weeks). Spontaneous fetal termination after 20 weeks of gestation is known as a stillbirth. The term miscarriage is sometimes used to refer to all forms of pregnancy loss and pregnancy with abortive outcomes before 20 weeks of gestation.
The most common symptom of a miscarriage is vaginal bleeding, with or without pain. Tissue and clot-like material may leave the uterus and pass through and out of the vagina. Risk factors for miscarriage include being an older parent, previous miscarriage, exposure to tobacco smoke, obesity, diabetes, thyroid problems, and drug or alcohol use. About 80% of miscarriages occur in the first 12 weeks of pregnancy (the first trimester). The underlying cause in about half of cases involves chromosomal abnormalities. Diagnosis of a miscarriage may involve checking to see if the cervix is open or sealed, testing blood levels of human chorionic gonadotropin (hCG), and an ultrasound. Other conditions that can produce similar symptoms include an ectopic pregnancy and implantation bleeding.