Systems and methods for hemodialysis or peritoneal dialysis having integrated electrodeionization capabilities are provided. In an embodiment, the dialysis system (10) includes a carbon source (40), a urease source (50) and an electrodeionization unit (30). The carbon source (40) and urease source (50) can be in the form of removable cartridges.