Obesity is a major cause of morbidity and mortality and is associated with high medical expenditures. It has been suggested that obesity prevention could result in cost savings. The objective of this study was to estimate the annual and lifetime medical costs attributable to obesity, to compare those to similar costs attributable to smoking, and to discuss the implications for prevention. With a simulation model, lifetime health-care costs were estimated for a cohort of obese people aged 20 y at baseline. To assess the impact of obesity, comparisons were made with similar cohorts of smokers and "healthy-living" persons (defined as nonsmokers with a body mass index between 18.5 and 25). Except for relative risk values, all input parameters of the simulation model were based on data from The Netherlands. In sensitivity analyses the effects of epidemiologic parameters and cost definitions were assessed. Until age 56 y, annual health expenditure was highest for obese people. At older ages, smokers incurred higher costs. Because of differences in life expectancy, however, lifetime health expenditure was highest among healthy-living people and lowest for smokers. Obese individuals held an intermediate position. Alternative values of epidemiologic parameters and cost definitions did not alter these conclusions. Although effective obesity prevention leads to a decrease in costs of obesity-related diseases, this decrease is offset by cost increases due to diseases unrelated to obesity in life-years gained. Obesity prevention may be an important and cost-effective way of improving public health, but it is not a cure for increasing health expenditures.