For years, when pregnant women learned their unborn babies' kidneys weren't working, the news felt like a death sentence. Without functioning kidneys, a fetus cannot produce the amniotic fluid that cushions and feeds the growing baby — and by mid-pregnancy, that fluid is mostly the baby's own urine. Without it, lungs fail to develop. Most of these pregnancies ended with no chance of survival after birth.

But a major clinical trial is changing that grim reality. The RAFT trial — short for Renal Anhydramnios Fetal Therapy — tested a simple but groundbreaking idea: pump replacement fluid directly into the womb to give the baby's lungs a chance to grow. The results, published in the medical journal JAMA, show that some of these babies are not only surviving birth but thriving into toddlerhood.

"Without enough amniotic fluid, the fetus's lungs cannot develop properly, often leading to severe respiratory issues after birth," said Dr. Meredith Atkinson, a pediatric kidney specialist at Johns Hopkins Children's Center. "This treatment changes that."

The trial enrolled 32 pregnant women at 13 medical centers across the United States, with Johns Hopkins serving as the lead center. Each woman received repeated infusions of fluid mimicking amniotic fluid directly into the womb, starting before the 26th week of pregnancy. More than 90 percent of these pregnancies ended in live births — though premature, before 37 weeks. Of those newborns, 65.5 percent survived long enough to receive dialysis, the first critical step in treating their kidney failure.

Dr. Ahmet Baschat, who directs the Johns Hopkins Center for Fetal Therapy, called the results an important step forward. He said the work helps families make more informed decisions during deeply difficult pregnancies.

The condition, called anhydramnios, occurs when a fetus's kidneys, ureters, bladder or urethra fail to develop properly. For these babies, survival depends on two things working in sequence: lungs must develop enough to breathe air after birth, and then dialysis must replace the kidney function their bodies cannot provide.

Researchers acknowledge that prematurity remains a major challenge. The closer to full term these babies are born, the better they tolerate the difficult road of neonatal dialysis. The team is now planning the next phase of the RAFT study, with a goal of safely reducing premature birth while continuing to improve care for these vulnerable newborns.

Still, for families who once had no options, the numbers tell a hopeful story: babies who would not have survived are now celebrating their second week of life — and beyond.