For closed-loop glycemic control on IDDM, closed-loop sc insulin infusion algorithm has developed by analysing the pharmacokinetics of sc insulin absorption. With the algorithm, daily glycemic excursion in IDDMs was controlled to near-normal levels. These data suggested that the closed-loop sc insulin infusion algorithm might be feasible to regulate glycemia in diabetic patients for a long-term period by wearable artificial endocrine pancreas.