Complex interactions between carbohydrate, fat, and protein metabolism underlie the body's remarkable ability to adapt to a variety of diets. But any imbalances between the intake and utilization rates of these macronutrients will result in changes in body weight and composition. Here, I present the first computational model that simulates how diet perturbations result in adaptations of fuel selection and energy expenditure that predict body weight and composition changes in both obese and nonobese men and women. No model parameters were adjusted to fit these data other than the initial conditions for each subject group (e.g., initial body weight and body fat mass). The model provides the first realistic simulations of how diet perturbations result in adaptations of whole body energy expenditure, fuel selection, and various metabolic fluxes that ultimately give rise to body weight change. The validated model was used to estimate free-living energy intake during a long-term weight loss intervention, a variable that has never previously been measured accurately.