Higher Education Credits
Taxpayers can claim an American Opportunity credit or Lifetime Learning credit for a taxable year and exclude from gross income amounts distributed (both the principal and the earnings portion) from a Sec. 529 Plan on behalf of the same student if the distribution is not used for the same expenses for which a credit was claimed.