The written agreement between a borrower and a lender in which the terms and conditions of the loan are set. See also Credit Agreement.