Page updated: After 6 months of age, when babies begin to eat foods, breastfeeding should continue for up to two years and beyond because it is an important source of nutrition, energy and protection from illness.