Colic seems to affect infants between the ages of about three to six weeks, but could last up to at least a year. There are many possible explanations as to why an infant may become colicky, but there is no known cause. Eating a healthy diet while breastfeeding is important for all mothers.