Document:

EX-4.2

 Exhibit 4.2 

NOTE 
 November 5, 2019

 FOR VALUE RECEIVED, the undersigned (the “Borrower”), hereby promises to pay to BANK OF AMERICA, N.A. or registered
assigns (the “Lender”), in accordance with the provisions of the Agreement (as hereinafter defined), the principal amount of each Loan from time to time made by the Lender to the Borrower under that certain Fourth Amended and
Restated Credit Agreement, dated as of November 5, 2019 (as amended, restated, extended, supplemented or otherwise modified in writing from time to time, the “Agreement;” the terms defined therein being used herein as therein
defined), among the Borrower, the Guarantors party thereto, the Lenders from time to time party thereto, and Bank of America, N.A., as Administrative Agent. 

The Borrower promises to pay interest on the unpaid principal amount of each Loan from the date of such Loan until such principal amount is
paid in full, at such interest rates and at such times as provided in the Agreement. All payments of principal and interest shall be made to the Administrative Agent for the account of the Lender in Dollars in immediately available funds at the
Administrative Agent’s Office. If any amount is not paid in full when due hereunder, such unpaid amount shall bear interest, to be paid upon demand, from the due date thereof until the date of actual payment (and before as well as after
judgment) computed at the per annum rate set forth in the Agreement. 
 This Note is one of the Notes referred to in the Agreement, is
entitled to the benefits thereof and may be prepaid in whole or in part subject to the terms and conditions provided therein. Upon the occurrence and continuation of one or more of the Events of Default specified in the Agreement, all amounts then
remaining unpaid on this Note shall become, or may be declared to be, immediately due and payable all as provided in the Agreement. Loans made by the Lender shall be evidenced by one or more loan accounts or records maintained by the Lender in the
ordinary course of business. The Lender may also attach schedules to this Note and endorse thereon the date, amount and maturity of its Loans and payments with respect thereto. 

The Borrower, for itself, its successors and assigns, hereby waives diligence, presentment, protest and demand and notice of protest, demand,
dishonor and non-payment of this Note except to the extent as may otherwise be expressly set forth in the Agreement. 

Delivery of an executed counterpart of a signature page of this Note by fax transmission or other electronic mail transmission (e.g.
“pdf” or “tif”) shall be effective as delivery of a manually executed counterpart of this Note. 
 [SIGNATURE PAGE
FOLLOWS] 

 THIS NOTE SHALL BE GOVERNED BY AND CONSTRUED IN ACCORDANCE WITH THE LAWS OF THE COMMONWEALTH
OF VIRGINIA. 
  

			
	 TREX COMPANY, INC.,
 a Delaware
corporation

		
	By:	 	 /s/ Bryan H. Fairbanks

	Name:	 	Bryan H. Fairbanks
	Title:	 	Executive Vice President and
		 	Chief Financial Officer

 TREX COMPANY, INC. 

NOTEEX-4.3

 Exhibit 4.3 

NOTE 
 November 5, 2019

 FOR VALUE RECEIVED, the undersigned (the “Borrower”), hereby promises to pay to WELLS FARGO BANK, NATIONAL ASSOCIATION
or registered assigns (the “Lender”), in accordance with the provisions of the Agreement (as hereinafter defined), the principal amount of each Loan from time to time made by the Lender to the Borrower under that certain Fourth
Amended and Restated Credit Agreement, dated as of November 5, 2019 (as amended, restated, extended, supplemented or otherwise modified in writing from time to time, the “Agreement;” the terms defined therein being used herein
as therein defined), among the Borrower, the Guarantors party thereto, the Lenders from time to time party thereto, and Bank of America, N.A., as Administrative Agent. 

The Borrower promises to pay interest on the unpaid principal amount of each Loan from the date of such Loan until such principal amount is
paid in full, at such interest rates and at such times as provided in the Agreement. All payments of principal and interest shall be made to the Administrative Agent for the account of the Lender in Dollars in immediately available funds at the
Administrative Agent’s Office. If any amount is not paid in full when due hereunder, such unpaid amount shall bear interest, to be paid upon demand, from the due date thereof until the date of actual payment (and before as well as after
judgment) computed at the per annum rate set forth in the Agreement. 
 This Note is one of the Notes referred to in the Agreement, is
entitled to the benefits thereof and may be prepaid in whole or in part subject to the terms and conditions provided therein. Upon the occurrence and continuation of one or more of the Events of Default specified in the Agreement, all amounts then
remaining unpaid on this Note shall become, or may be declared to be, immediately due and payable all as provided in the Agreement. Loans made by the Lender shall be evidenced by one or more loan accounts or records maintained by the Lender in the
ordinary course of business. The Lender may also attach schedules to this Note and endorse thereon the date, amount and maturity of its Loans and payments with respect thereto. 

The Borrower, for itself, its successors and assigns, hereby waives diligence, presentment, protest and demand and notice of protest, demand,
dishonor and non-payment of this Note except to the extent as may otherwise be expressly set forth in the Agreement. 

Delivery of an executed counterpart of a signature page of this Note by fax transmission or other electronic mail transmission (e.g.
“pdf” or “tif”) shall be effective as delivery of a manually executed counterpart of this Note. 
 [SIGNATURE PAGE
FOLLOWS] 

 THIS NOTE SHALL BE GOVERNED BY AND CONSTRUED IN ACCORDANCE WITH THE LAWS OF THE COMMONWEALTH
OF VIRGINIA. 
  

			
	 TREX COMPANY, INC.,
 a Delaware
corporation

		
	By:	 	 /s/ Bryan H. Fairbanks

	Name:	 	Bryan H. Fairbanks
	Title:	 	Executive Vice President and
		 	Chief Financial Officer

 TREX COMPANY, INC. 

NOTEEX-4.4

 Exhibit 4.4 

NOTE 
 November 5, 2019

 FOR VALUE RECEIVED, the undersigned (the “Borrower”), hereby promises to pay to SUNTRUST BANK or registered assigns (the
“Lender”), in accordance with the provisions of the Agreement (as hereinafter defined), the principal amount of each Loan from time to time made by the Lender to the Borrower under that certain Fourth Amended and Restated Credit
Agreement, dated as of November 5, 2019 (as amended, restated, extended, supplemented or otherwise modified in writing from time to time, the “Agreement;” the terms defined therein being used herein as therein defined), among
the Borrower, the Guarantors party thereto, the Lenders from time to time party thereto, and Bank of America, N.A., as Administrative Agent. 

The Borrower promises to pay interest on the unpaid principal amount of each Loan from the date of such Loan until such principal amount is
paid in full, at such interest rates and at such times as provided in the Agreement. All payments of principal and interest shall be made to the Administrative Agent for the account of the Lender in Dollars in immediately available funds at the
Administrative Agent’s Office. If any amount is not paid in full when due hereunder, such unpaid amount shall bear interest, to be paid upon demand, from the due date thereof until the date of actual payment (and before as well as after
judgment) computed at the per annum rate set forth in the Agreement. 
 This Note is one of the Notes referred to in the Agreement, is
entitled to the benefits thereof and may be prepaid in whole or in part subject to the terms and conditions provided therein. Upon the occurrence and continuation of one or more of the Events of Default specified in the Agreement, all amounts then
remaining unpaid on this Note shall become, or may be declared to be, immediately due and payable all as provided in the Agreement. Loans made by the Lender shall be evidenced by one or more loan accounts or records maintained by the Lender in the
ordinary course of business. The Lender may also attach schedules to this Note and endorse thereon the date, amount and maturity of its Loans and payments with respect thereto. 

The Borrower, for itself, its successors and assigns, hereby waives diligence, presentment, protest and demand and notice of protest, demand,
dishonor and non-payment of this Note except to the extent as may otherwise be expressly set forth in the Agreement. 

Delivery of an executed counterpart of a signature page of this Note by fax transmission or other electronic mail transmission (e.g.
“pdf” or “tif”) shall be effective as delivery of a manually executed counterpart of this Note. 
 [SIGNATURE PAGE
FOLLOWS] 

 THIS NOTE SHALL BE GOVERNED BY AND CONSTRUED IN ACCORDANCE WITH THE LAWS OF THE COMMONWEALTH
OF VIRGINIA. 
  

			
	 TREX COMPANY, INC.,
 a Delaware
corporation

		
	By:	 	 /s/ Bryan H. Fairbanks

	Name:	 	Bryan H. Fairbanks
	Title:	 	Executive Vice President and
		 	Chief Financial Officer

 TREX COMPANY, INC. 

NOTEEX-4.5

 Exhibit 4.5 

NOTE 
 November 5, 2019

 FOR VALUE RECEIVED, the undersigned (the “Borrower”), hereby promises to pay to BRANCH BANKING & TRUST COMPANY
or registered assigns (the “Lender”), in accordance with the provisions of the Agreement (as hereinafter defined), the principal amount of each Loan from time to time made by the Lender to the Borrower under that certain Fourth
Amended and Restated Credit Agreement, dated as of November 5, 2019 (as amended, restated, extended, supplemented or otherwise modified in writing from time to time, the “Agreement;” the terms defined therein being used herein
as therein defined), among the Borrower, the Guarantors party thereto, the Lenders from time to time party thereto, and Bank of America, N.A., as Administrative Agent. 

The Borrower promises to pay interest on the unpaid principal amount of each Loan from the date of such Loan until such principal amount is
paid in full, at such interest rates and at such times as provided in the Agreement. All payments of principal and interest shall be made to the Administrative Agent for the account of the Lender in Dollars in immediately available funds at the
Administrative Agent’s Office. If any amount is not paid in full when due hereunder, such unpaid amount shall bear interest, to be paid upon demand, from the due date thereof until the date of actual payment (and before as well as after
judgment) computed at the per annum rate set forth in the Agreement. 
 This Note is one of the Notes referred to in the Agreement, is
entitled to the benefits thereof and may be prepaid in whole or in part subject to the terms and conditions provided therein. Upon the occurrence and continuation of one or more of the Events of Default specified in the Agreement, all amounts then
remaining unpaid on this Note shall become, or may be declared to be, immediately due and payable all as provided in the Agreement. Loans made by the Lender shall be evidenced by one or more loan accounts or records maintained by the Lender in the
ordinary course of business. The Lender may also attach schedules to this Note and endorse thereon the date, amount and maturity of its Loans and payments with respect thereto. 

The Borrower, for itself, its successors and assigns, hereby waives diligence, presentment, protest and demand and notice of protest, demand,
dishonor and non-payment of this Note except to the extent as may otherwise be expressly set forth in the Agreement. 

Delivery of an executed counterpart of a signature page of this Note by fax transmission or other electronic mail transmission (e.g.
“pdf” or “tif”) shall be effective as delivery of a manually executed counterpart of this Note. 
 [SIGNATURE PAGE
FOLLOWS] 

 THIS NOTE SHALL BE GOVERNED BY AND CONSTRUED IN ACCORDANCE WITH THE LAWS OF THE COMMONWEALTH
OF VIRGINIA. 
  

			
	 TREX COMPANY, INC.,
 a Delaware
corporation

		
	By:	 	 /s/ Bryan H. Fairbanks

	Name:	 	Bryan H. Fairbanks
	Title:	 	Executive Vice President and
		 	Chief Financial Officer

 TREX COMPANY, INC. 

NOTE

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00301-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00301-of-00352.parquet"}], [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00301-of-00352.parquet"}], [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00301-of-00352.parquet"}]]