Premature birth, also known as preterm birth, occurs when a baby is born before 37 weeks of gestation. A full-term pregnancy typically lasts about 40 weeks. Premature babies may have more health problems and might need to stay in the hospital longer than babies born later.