A dialysis unit includes both an inlet for guiding dialysis fluid in a direction of flow to a dialyzer membrane and an outlet for discharging dialysate from the dialyzer membrane. A heat pump configured to exchange thermal energy between a heat reservoir and the dialysis fluid in the inlet is coupled to the inlet.