Maternal pregnancy smoking status, gestational weight gain, and weight gain in infancy have long-term effects on offspring. Maternal obesity is the strongest predictor of obesity at all times studied.