Treatment depends on how early the ectopic pregnancy is detected, its size, and whether it has ruptured.
Methotrexate is a medication that stops the cells of the ectopic pregnancy from growing, allowing the body to reabsorb the tissue over several weeks. It is given as one or more injections and is used when the ectopic is small (typically under 3.5 cm), unruptured, and hCG levels are below a certain threshold (often 5,000 mIU/mL). After treatment, hCG levels are monitored weekly until they reach zero. You must avoid alcohol, folic acid supplements, and NSAIDs during treatment, and you should wait at least 3 months before trying to conceive again.
Surgery is necessary if the ectopic has ruptured, if hCG levels are very high, or if methotrexate treatment fails. A laparoscopic salpingostomy (removing the ectopic while preserving the tube) or salpingectomy (removing the affected tube) is performed. Emergency open surgery may be needed if there is significant internal bleeding.