Yes, If you took out a loan to cover the cost of your tuition and fees you can still claim the credits and deductions for your tuition depending on if you qualify based on the rest of your situation for the credits or deduction.
See IRS Paid with borrowed funds section.
"You can claim an American opportunity credit for qualified education expenses paid with the proceeds of a loan. Use the expenses to figure the American opportunity credit for the year in which the expenses are paid, not the year in which the loan is repaid. Treat loan payments sent directly to the educational institution as paid on the date the institution credits the student's account".Tuition paid with loan
**Mark the post that answers your question by clicking on "Mark as Best Answer"
First, and most important: tuition, fees and other qualified expenses (books and other course materials) paid by loan money qualifies for the credits.
Here's the complicated part. A student, under age 24, is only eligible for the refundable portion of the American Opportunity Credit (AOC) if he supports himself by working. You cannot be supporting yourself on parental support, 529 plans or student loans & grants. It is usually best if the parent claims that credit.
Educational expenses are part of your support. So, even though you have earned income, it's unlikely that you paid more than half of your support with that earned income, since loans paid for a significant portion of your support.
If you are 24 or older, or married, all that doesn't matter.
That support rule does not apply to the Lifetime Learning Credit (LLC) or the non refundable part of the AOC.
You cannot claim a credit if you are, or can be, claimed as a dependent by someone else.
The earned income support question is part of the personal info interview, in Turbotax, not the education interview. If you answer that question, correctly, TT will give you the AOC, even though your birthdate tells it you are under 24.