Yes, but only if you're required to buy it for class, for example if you're enrolled in an online-only course.


But if you bought a laptop for convenience, in other words you could complete the class without it, you cannot deduct it.