Must khums be payed on borrowed money as well?

If the borrowing is for your annual needs, no khums is applied on the money you pay to settle the loan.