Endometriosis, a condition in which endometrial-like tissue grows outside of the uterus, is a common disorder among women of reproductive-age. The objective of the study is to examine the associations between endometriosis in pregnancy and adverse maternal and newborn events. Data from the 1999-2019 Healthcare Cost and Utilization Project, Nationwide Inpatient Sample, which is from the United States, were used to perform a retrospective cohort study. Associations between endometriosis and maternal and newborn outcomes were examined using multivariate logistic regression models adjusted for baseline maternal characteristics. We identified 14,956 individuals with endometriosis and 16,911,497 individuals without endometriosis. The prevalence of endometriosis in pregnancy rose substantially from 34.9 to 160.6 per 100,000 births between 1999 and 2019. Individuals with endometriosis were more likely older in age, of Caucasian ethnicity, belonged to higher income quartiles, had private insurance, smoked, and were obese. Endometriosis in pregnancy was associated with greater odds of pre-eclampsia, gestational diabetes, placenta previa, placental abruption, preterm birth, chorioamnionitis, and postpartum hemorrhage. Growth restriction and congenital anomalies were more frequent among newborns born to individuals with endometriosis. Endometriosis in pregnancy renders individuals and their newborns at greater risk for poor outcomes in pregnancy. Hence, it is prudent for obstetrical care providers to be aware of the adverse events associated with endometriosis and to closely follow the pregnancies of women with this condition.