Over 15% of pregnancies result in miscarriage, yet no reliable indicators exist to inform clinicians or patients of the risk of pregnancy loss. Here, we established a liquid biopsy platform using machine learning to predict the risk of pregnancy loss, incorporating existing clinical biomarkers in combination with spectroscopic data from an optical nanosensor array. Biomarker and array data from sera of over 850 in vitro fertilization patients, collected two weeks after single euploid embryo transfer, were used to train and validate machine learning models to differentiate live birth from two categories of pregnancy loss: biochemical pregnancy or miscarriage. The combination of clinical biomarkers and nanosensor array responses led to the best prediction models, compared to either dataset alone, resulting in positive predictive values of 97.2% and 87.5% for biochemical pregnancy and miscarriage, respectively. These results suggest that a combination of known and unknown serum biomarkers from patients at the time of their first positive pregnancy test can provide a clinically meaningful aggregate prediction of risk of both early and later stage pregnancy loss.