Host defense against early-life infections such as chorioamnionitis, neonatal sepsis, or necrotizing enterocolitis (NEC) relies primarily on innate immunity, in which antimicrobial peptides (AMPs) play a major role. AMPs that are important for the fetus and neonate include α and β defensins, cathelicidin LL-37, antiproteases (elafin, SLPI), and hepcidin. They can be produced by the fetus or neonate, the placenta, chorioamniotic membranes, recruited neutrophils, and milk-protein ingestion or proteolysis. They possess antimicrobial, immunomodulating, inflammation-regulating, and tissue-repairing properties. AMPs are expressed as early as the 13th week and increase progressively through gestation. Limited studies are available on AMP expression and levels in the fetus and neonate. Nevertheless, existing evidence supports the role of AMPs in pathogenesis of chorioamnionitis, neonatal sepsis, and NEC, and their association with disease severity. This suggests a potential role of AMPs in diagnosis, prevention, prognosis, and treatment of sepsis and NEC. Herein, we present an overview of the antimicrobial and immunomodulating properties of human AMPs, their sources in the intrauterine environment, fetus, and neonate, and their changes during pre- and post-natal infections and NEC. We also discuss emerging data regarding the potential utility of AMPs in early-life infections, as diagnostic or predictive biomarkers and as therapeutic alternatives or adjuncts to antibiotic therapy considering the increase of antibiotic resistance in neonatal intensive care units.