Focused research is underway to improve the delivery of tight glycaemic control at the intensive care unit. A major component is the development of safe, efficacious and effective insulin titration algorithms, which are normally evaluated in time-consuming resource-demanding clinical studies. Simulation studies with virtual critically ill patients can substantially accelerate the development process. For this purpose, we created a model of glucoregulation in the critically ill. The model includes five submodels: a submodel of endogenous insulin secretion, a submodel of insulin kinetics, a submodel of enteral glucose absorption, a submodel of insulin action and a submodel of glucose kinetics. Model parameters are estimated utilizing prior knowledge and data collected routinely at the intensive care unit to represent the high intersubject and temporal variation in insulin needs in the critically ill. Bayesian estimation combined with the regularization method is used to estimate (i) time-invariant model parameters and (ii) a time-varying parameter, the basal insulin concentration, which represents the temporal variation in insulin sensitivity. We propose a validation process to validate virtual patients developed for the purpose of testing glucose controllers. The parameter estimation and the validation are exemplified using data collected in six critically ill patients treated at a medical intensive care unit. In conclusion, a novel glucoregulatory model has been developed to create a virtual population of critically ill facilitating in silico testing of glucose controllers at the intensive care unit.