A prepayment penalty is a fee that a borrower must pay if they pay off their loan before the scheduled term. This penalty is meant to compensate the lender for lost interest income. It is important for borrowers to check for such clauses before taking a loan.