We conclude that SHH uses a FOXF1-BMP4 module to coordinate the cellular programs for ureter elongation and differentiation, and suggest that deregulation of this signaling axis occurs in human congenital anomalies of the kidney and urinary tract (CAKUT). Here, SHH is linked to congenital anomaly of kidney and urinary tract.