Prepayment refers to partial loan repayment before the due date, while foreclosure involves completely repaying the outstanding loan amount early.