The investigation of the effects of prenatal cocaine exposure (PCE) on offspring has been inconsistent, with few studies investigating biological outcomes in humans. We profiled genome-wide DNA methylation (DNAm) of umbilical cord blood (UCB) from newborns with (n = 35) and without (n = 47) PCE. We used DNAm data to (1) assess pediatric epigenetic clocks at birth and (2) to estimate epigenetic scores (ES) for lifetime disorders. We generated gestational epigenetic age estimates (DNAmGA) based on Knight and Bohlin epigenetic clocks. We also investigated the association between DNAmGA and UCB serum brain-derived neurotrophic factor (BDNF) levels. Considering the large-scale DNAm data availability and existing evidence regarding PCE as a risk for health problems later in life, we generated ES for tobacco smoking, psychosis, autism, diabetes, and obesity. A gene ontology (GO) analysis on the CpGs included in the ES with group differences was performed. PCE was associated with lower DNAmGA in newborns, and this effect remained significant when controlling for potential confounders, such as blood cell type composition predicted by DNAm and obstetric data. DNAmGA was negatively correlated with BDNF levels in the serum of UCB. Higher tobacco smoking, psychosis, and diabetes ES were found in the PCE group. The GO analysis revealed GABAergic synapses as a potential pathway altered by PCE. Our findings of decelerated DNAmGA and ES for adverse phenotypes associated with PCE, suggest that the effects of gestational cocaine exposure on the epigenetic landscape of human newborns are detectable at birth.