Systems and methods are disclosed for performing hemodialysis that include fluid handling systems that provide accurate control over the type and level of hemodialysis being performed. The system includes a first pump for pumping dialysate into a dialyzer and a second pump for pumping dialysate out of the dialyzer. The system also includes a third pump that provides improved control of a level of ultrafiltration, hemodiafiltration, or both.