Closed-loop systems have been used to optimise insulin delivery in children with diabetes, but they have not been tested in neonatal intensive care. Here, INS is linked to diabetes mellitus.