The penalty for foreclosure varies with lenders. It is usually a percentage of the outstanding loan amount or a fixed charge, as specified in the loan agreement.