Mutations in MAGED2 cause transient antenatal Bartter syndrome (tBS) characterized by excessive amounts of amniotic fluid due to impaired renal salt transport via NKCC2 and NCC, high perinatal mortality, and pre-term birth. Here, MAGED2 is linked to Townes-Brocks syndrome.