Yes, you are taxed on grants, scholarships and stipends on the amount that exceeds your qualified education expenses.
No, you are not taxed on loans.
Scholarships, fellowships, and Pell grants received by registered students who are working towards a degree at a college, university, or other accredited educational institution are generally nontaxable as long as the money is used for qualified education expenses.
On the flip side, you can't claim education credits or deduct expenses that were paid with these tax-free funds.
If you use your scholarship to pay for any of these, it counts as income and the amount paid is taxable:
If you’re getting a degree at an eligible school, your scholarship is tax-free when used for:
For example, if you used your scholarship to pay for tuition and room and board, you would be taxed on the room and board payment but not tuition.