A qualified student loan is a loan you took out solely to pay qualified higher-education expenses that were:
- For you, your spouse, or a person who was your dependent when you took out the loan;
- For education provided during an academic period for an eligible student; and
- Paid or incurred within a reasonable period of time before or after you took out the loan.
See IRS Tax Topic No. 456 for more information.