A dialysis machine (1; 13) including a hemodialysis filter (2); an inlet fork (5) that conveys a dialysis solution to said filter (2); an outlet fork (6) transports the dialysis solution from said filter (2); an artery line (3) that carries blood from a patient (P) to the filter (2); a vein line (4) that carries blood from the filter (2) to the patient (P); a number of pumps (3a, 9, 10, 16) to circulate both blood and the dialysis solution; an isolated ultrafiltration device (14) located along the artery line (3) of the patient's blood, and from which a bifurcation line (15) originates where ultrafiltered plasma or plasma water circulates; and a glucose concentration measuring device (8) mounted on said branch line (15); said machine being characterized by including a central control unit (12) connected both to said measuring device (8) to receive data related to blood glucose concentration, and to an intervention system (7, 11) to restore the correct concentration of glucose in the patient's blood based on the data from the measuring device (8); said intervention system including a dialysis solution preparation device (7) for dosing glucose to the dialysis solution and an insulin infusion device (11) for injecting insulin to the patient (P) undergoing dialysis.Una máquina de diálisis (1; 13) incluyendo un filtro de hemodiálisis (2); una bifurcación de entrada (5) que transporta una solución de diálisis a dicho filtro (2); una bifurcación de salida (6) transporta la solución de diálisis desde dicho filtro (2); una línea de arteria (3) que transporta sangre desde un paciente (P) al filtro (2); una línea de vena (4) que transporta sangre desde el filtro (2) al paciente (P); un número de bombas (3a, 9, 10, 16) para hacer circular tanto sangre como la solución de diálisis; un dispositivo de ultrafiltración aislado (14) situado a lo largo de la línea de arteria (3) de la sangre del paciente, y del que se origina una línea de bifurcación (15) donde circula plasma ultrafil