Generally you can deduct interest only if you are legally required to repay the debt But if parents pay back a child s student loans the IRS treats the transactions as if the money were given to the child who then paid the debt Generally you can deduct interest only if you are legally