A fee assessed by a lender on a borrower who repays all or part of the principal of a loan before it is due. The prepayment penalty compensates the lender for the loss of interest that would have been earned had the loan remained in effect for its full term.