Approximately 100,000 individuals in the United States currently await kidney transplantation, and 400,000 individuals live with end-stage kidney disease requiring hemodialysis. The creation of a transplantable graft to permanently replace kidney function would address donor organ shortage and the morbidity associated with immunosuppression. Such a bioengineered graft must have the kidney's architecture and function and permit perfusion, filtration, secretion, absorption and drainage of urine. We decellularized rat, porcine and human kidneys by detergent perfusion, yielding acellular scaffolds with vascular, cortical and medullary architecture, a collecting system and ureters. To regenerate functional tissue, we seeded rat kidney scaffolds with epithelial and endothelial cells and perfused these cell-seeded constructs in a whole-organ bioreactor. The resulting grafts produced rudimentary urine in vitro when perfused through their intrinsic vascular bed. When transplanted in an orthotopic position in rat, the grafts were perfused by the recipient's circulation and produced urine through the ureteral conduit in vivo