EX-10.39



 Exhibit 10.39 

PURCHASE AGREEMENT 

PURCHASE AGREEMENT, dated [            ], 2015 (this
“Agreement”), by and among the sellers listed on Schedule I hereto, as sellers (collectively, the “Sellers” and each, a “Seller”), and loanDepot, Inc., a Delaware corporation, as
purchaser (the “Purchaser”). 
 WHEREAS, the Board of Directors of the Purchaser (the “Board”) has
determined to effect an underwritten initial public offering (the “IPO”) of the Purchaser’s Class A common stock, par value $0.001 per share (the “Class A Common Stock”). 

WHEREAS, in connection with the IPO, the Purchaser has entered into an underwriting agreement, dated as of
[            ], 2015 (the “Underwriting Agreement”), with loanDepot Holdings, LLC, a Delaware limited liability company, (“LD Holdings”), loanDepot.com,
LLC, a Delaware limited liability company, any selling stockholders party thereto, and the underwriters party thereto. 
 WHEREAS, in
connection with the consummation of the IPO, each Seller wishes to sell to the Purchaser, and the Purchaser wishes to purchase from each Seller, the number of Paired Interests (as defined herein) set forth opposite such Seller’s name on
Schedule I hereto. 
 NOW, THEREFORE, in consideration of the mutual covenants and agreements set forth herein and for good and
valuable consideration, the receipt and adequacy of which is hereby acknowledged, the parties hereto agree as follows: 
 ARTICLE I

 DEFINITIONS 
 1.1
Definitions. As used in this Agreement, and unless the context requires a different meaning, the following terms shall have the meanings set forth below: 

“Additional Closing” means each closing of the purchase of Additional Purchased Paired Interests, which closing shall occur
on the date of the Additional IPO Closing. 
 “Additional Closing Sellers” means the Sellers listed as “Additional
Closing Sellers” on Schedule I hereto. 
 “Additional IPO Closing” means any additional closing of the
sale of Class A Common Stock in the IPO pursuant to the exercise of the underwriters’ over-allotment option, which closing shall occur on an “Option Closing Date” (as defined in the Underwriting Agreement) related to such
additional closing and which may occur on the same date as the IPO Closing. 
 “Additional Purchased Paired Interests”
means the number of Paired Interests to be sold by any Additional Closing Seller at an Additional Closing set forth opposite such Additional Closing Seller’s name under the column entitled “Additional Purchased Paired Interests” on
Schedule I hereto. 







 “Class B Common Stock” means the Purchaser’s Class B common stock, par
value $0.001 per share. 
 “Closings” means the Additional Closing together with the Initial Closing. 

“Commission” means the Securities and Exchange Commission or any similar agency then having jurisdiction to enforce the
Securities Act. 
 “Discounted Price” means the “Purchase Price” as set forth and defined in the Underwriting
Agreement (for the avoidance of doubt, the public offering price per share of Class A Common Stock set forth on the cover page of the final prospectus for the IPO less the underwriting discount per share of Class A Common Stock paid to the
underwriters in the IPO). 
 “Governmental Authority” means the government of any nation, state, city, locality or other
political subdivision of any thereof, any entity exercising executive, legislative, judicial, regulatory or administrative functions of or pertaining to government. 

“Holdco Units” means Class A common units of LD Holdings. 

“Holdings LLC Agreement” means the limited liability company agreement of LD Holdings dated as of
[            ], 2015. 
 “Initial Closing” means the closing of
the purchase of the Initial Purchased Paired Interests, which closing shall occur on the date of the IPO Closing. 
 “Initial
Closing Sellers” means the Sellers listed as “Initial Closing Sellers” on Schedule I hereto. 
 “Initial
Purchased Paired Interests” means the number of Paired Interests set forth opposite such Seller’s name under the column entitled “Initial Purchased Paired Interests” on Schedule I hereto. 

“IPO Closing” means the initial closing of the sale of Class A Common Stock in the IPO, which closing shall occur on the
“Closing Date” (as defined in the Underwriting Agreement). 
 “Lien” means any mortgage, deed of trust, pledge,
hypothecation, assignment, encumbrance, lien (statutory or other) or other security interest of any kind or nature whatsoever. 

“Paired Interest” or “Paired Interests” means one or more Holdco Units together with an equal number of
shares of Class B Common Stock. 
 “Person” means any individual, firm, corporation, partnership, limited liability
company, trust, incorporated or unincorporated association, joint venture, joint stock company, Governmental Authority or other entity of any kind. 

“Securities Act” means the Securities Act of 1933, as amended, and the rules and regulations of the Commission promulgated
thereunder. 

  
 2 








 “Stockholders Agreement” means that certain Stockholders Agreement, dated as of
[            ], 2015, by and among the Purchaser and certain stockholders party thereto. 

[”TRA” means that certain Tax Receivable Agreement, dated as of
[            ], 2015, by and among the Purchaser, LD Holdings and the recipients party thereto. 

“TRA Seller” means any Initial Closing Seller identified as a “TRA Seller” on Schedule I hereto.] 

ARTICLE II 
 PURCHASE
AND SALE OF PAIRED INTERESTS 
 2.1 Purchase and Sale. 

(a) Subject to the terms herein set forth, at the Initial Closing, each Initial Closing Seller agrees (severally and not jointly) to sell,
convey, assign and transfer to the Purchaser such Seller’s Initial Purchased Paired Interests, and the Purchaser agrees to purchase such Initial Purchased Paired Interests from such Initial Closing Seller for a purchase price equal to the
Discounted Price for each Initial Purchased Paired Interest sold, conveyed, assigned and transferred by such Initial Closing Seller [plus, in the case of any TRA Seller, such TRA Seller’s rights under the TRA]1. Immediately following the Initial Closing, the Class B Common Stock included in the Initial Purchased Paired Interests shall be automatically cancelled. 

(b) Subject to the terms herein set forth, at each Additional Closing, each Additional Closing Seller agrees (severally and not jointly) to
sell, convey, assign and transfer to the Purchaser such Seller’s Additional Purchased Paired Interests, and the Purchaser agrees to purchase such Additional Purchased Paired Interests from such Seller for a purchase price equal to the
Discounted Price for each Additional Purchased Paired Interest sold, conveyed, assigned and transferred by such Additional Closing Seller. Immediately following any Additional Closing, the Class B Common Stock included in any Additional Purchased
Paired Interests shall be automatically cancelled. 
 (c) For purposes of applying Internal Revenue Code Section 751 in connection with
any purchase and sale hereunder, the parties agree to utilize the methodology described in clause (iii) of Section 4.5(g) of the Holdings LLC agreement, except to the extent required by applicable law. 

2.2 Closing. 
 (a)
Initial Closing. The Initial Closing shall occur at the offices of Kirkland & Ellis LLP, 601 Lexington Avenue, New York, New York, 10022 immediately following the IPO Closing. 

 
  

	1 	TRA rights applicable to certain Sellers. 


  
 3 








 (b) Additional Closing. Each Additional Closing shall occur at the offices of
Kirkland & Ellis LLP, 601 Lexington Avenue, New York, New York, 10022 immediately after the related Additional IPO Closing. 
 (c)
Purchaser Closing Deliverables. At each Closing, the Purchaser shall deliver to each Seller the Discounted Price for each Initial Purchased Paired Interest or Additional Purchased Paired Interest, as applicable, being purchased by the
Purchaser from such Seller pursuant to Section 2.1, by wire transfer of immediately available funds to a bank account designated in writing by such Seller on the signature page attached hereto or otherwise provided to the Purchaser. 

(d) Seller Closing Deliverables. 
  

	 	(i)	Prior to or at the Initial Closing, each Seller shall deliver to Purchaser a properly completed and executed Internal Revenue Service (“IRS”) Form W-9 or an IRS Form W-8, as appropriate, together with
all required attachments to such form. 

  

	 	(ii)	Prior to each Closing, each Seller shall execute and deliver to Broadridge Corporate Issuer Solutions, Inc., as transfer agent of securities of the Purchaser and LD Holdings, any stock powers required with respect to
the shares of Class B Common Stock included in the Initial Purchased Paired Interests or the Additional Purchased Paired Interests, as applicable, being sold at such Closing. 


 

	 	(iii)	At each Closing, each Seller shall deliver or cause to be delivered to the Purchaser (A) a duly endorsed instrument of assignment with respect to the Holdco Units included in the Initial Purchased Paired Interests
or the Additional Purchased Paired Interests being sold at such Closing in substantially the form attached hereto as Exhibit A (a “Unit Assignment Agreement”) and (B) the number of shares of Class B Common Stock included
in the Initial Purchased Paired Interests or the Additional Purchased Paired Interests, as applicable, being sold at such Closing in book entry form. 


2.3 Conditions to Closing. 

(a) The obligations of the Purchaser and each Seller to be performed at any Closing shall be conditioned upon the prior completion of the IPO
Closing or the applicable Additional IPO Closing, as applicable. 
 (b) The obligations of the Purchaser to be performed at any Closing
shall be subject to the condition that the representations and warranties of the Sellers that are participating in such Closing set forth in Article III shall be true and correct as of such Closing as if then made. 

  
 4 








 (c) The obligations of each Seller to be performed at any Closing shall be subject to the
condition that the representations and warranties of the Purchaser set forth in Article IV shall be true and correct as of such Closing as if then made. 

ARTICLE III 

REPRESENTATIONS AND WARRANTIES OF THE SELLERS 

Each of the Sellers represents, warrants, and agrees, severally with respect to itself only, as of the date hereof as follows: 

3.1 Capacity; Authority; Execution and Delivery; Enforceability. To the extent that such Seller is an individual, such Seller has the
legal capacity to execute and deliver this Agreement and to consummate the transactions contemplated hereby. To the extent that such Seller is an entity, such Seller has the full limited liability company or other entity power and authority to
execute, deliver and perform this Agreement and to consummate the transactions contemplated hereby. To the that extent such Seller is a limited liability company or other entity, the execution and delivery by such Seller of this Agreement and the
consummation by such Seller of the transactions contemplated hereby have been duly authorized by all necessary limited liability company or other entity action on the part of such Seller and no other proceedings on the part of such Seller are
necessary to approve this Agreement and to consummate the transactions contemplated hereby. Such Seller has duly executed and delivered this Agreement (and will duly execute and deliver any Unit Assignment Agreement), and, assuming due execution and
delivery by the Purchaser, each such agreement constitutes or will constitute the legal, valid and binding obligation of such Seller, enforceable against such Seller in accordance with its terms, except as enforceability may be limited by applicable
bankruptcy, insolvency, reorganization, fraudulent conveyance or transfer, moratorium or similar laws affecting the enforcement of creditors’ rights generally or by equitable principles relating to enforceability. 

3.2 Title. Such Seller owns beneficially and of record and has full power and authority to convey, free and clear of any Liens, the
Holdco Units and shares of Class B Common Stock included in the Initial Purchased Paired Interests or Additional Purchased Paired Interests, as applicable, set forth opposite its name on Schedule I hereto (subject to any transfer restrictions
of general applicability as may be provided under the Securities Act or the “blue sky” laws of the various states of the United States and any transfer restrictions and similar provisions contained in the Holdings LLC Agreement or the
Stockholders Agreement. 
 3.3 No Conflicts. Neither the execution nor the delivery of this Agreement (and any Unit Assignment
Agreement) nor the consummation of the transactions contemplated hereby will (i) result in any breach of or constitute a default under any term of any material agreement, mortgage, indenture, license, permit, lease, or other instrument of such
Seller, or (ii) conflict with or result in a violation of any judgment, decree, order, law, or regulation by which such Seller is bound. 

  
 5 








 ARTICLE IV 

REPRESENTATIONS AND WARRANTIES OF THE PURCHASER 

The Purchaser makes the following representations and warranties for the benefit of the Sellers as of the date hereof: 

4.1 Organization, Standing and Power. The Purchaser is duly organized, validly existing and in good standing under the laws of the
jurisdiction in which it is organized. 
 4.2 Authority; Execution and Delivery; Enforceability. The Purchaser has the full power and
authority to execute, deliver and perform this Agreement and to consummate the transactions contemplated hereby. The execution and delivery by the Purchaser of this Agreement and the consummation by the Purchaser of the transactions contemplated
hereby have been duly authorized by all necessary action on the part of the Purchaser and no other proceedings on the part of the Purchaser are necessary to approve this Agreement and to consummate the transactions contemplated hereby. The Purchaser
has duly executed and delivered this Agreement, and, assuming due execution and delivery by the Sellers, this Agreement constitutes the legal, valid and binding obligation of the Purchaser, enforceable against the Purchaser in accordance with its
terms, except as enforceability may be limited by applicable bankruptcy, insolvency, reorganization, fraudulent conveyance or transfer, moratorium or similar laws affecting the enforcement of creditors’ rights generally or by equitable
principles relating to enforceability. 
 4.3 No Conflicts. Neither the execution nor the delivery of this Agreement nor the
consummation of the transactions contemplated hereby will (i) result in any breach of or constitute a default under any term of any material agreement, mortgage, indenture, license, permit, lease, or other instrument of the Purchaser or
(ii) conflict with or result in a violation of any judgment, decree, order, law or regulation by which the Purchaser is bound. 

ARTICLE V 

MISCELLANEOUS 
 5.1
Notices. All notices or other communication required or permitted hereunder shall be in writing and shall be delivered personally, telecopied or sent by certified, registered or express mail, postage prepaid. Any such notice shall be deemed
given when so delivered personally, telecopied or sent by certified, registered or express mail, as follows: 
 (a) If to a Seller, at the
address specified for such Seller on the signature page attached hereto or to such other address as such Seller may hereafter specify to the Purchaser for the purpose by notice. 

  
 6 








 (b) If to the Purchaser, to: 

loanDepot, Inc. 
 26642 Towne
Centre Drive 
 Foothill Ranch, California 92610 

Telephone:        (888) 337-6888 

Facsimile:          (949) 470-6237 

Attention:          General Counsel 

With a copy to (which shall not constitute actual or constructive notice): 

Kirkland & Ellis LLP 

601 Lexington Avenue 
 New York,
NY 10022 
 Telephone:        (212) 446-4800 

Facsimile:          (212) 446-4900 

Attention:          Joshua N. Korff and Michael Kim 

Any party may by notice given to (i) in the case of the Purchaser, each of the Sellers or (ii) in the case of any Seller, the Purchaser, in each
case, in accordance with this Section 5.1, designate another address or person for receipt of notices hereunder. 
 5.2 Successors
and Assigns. This Agreement shall inure to the benefit of and be binding upon the successors and permitted assigns of the parties hereto. No Person other than the parties hereto and their successors and permitted assigns is intended to be a
beneficiary of this Agreement. No party hereto may assign its rights under this Agreement without the prior written consent of the other party hereto. 

5.3 Amendment and Waiver. 

(a) No failure or delay on the part of the Sellers or the Purchaser in exercising any right, power or remedy hereunder shall operate as a
waiver thereof, nor shall any single or partial exercise of any such right, power or remedy preclude any other or further exercise thereof or the exercise of any other right, power or remedy. The remedies provided for herein are cumulative and are
not exclusive of any remedies that may be available to the Sellers or the Purchaser at law, in equity or otherwise. 
 (b) Any amendment,
supplement or modification of or to any provision of this Agreement and any waiver of any provision of this Agreement shall be effective only if it is made or given in writing and signed by the Sellers and the Purchaser. 

5.4 Counterparts. This Agreement may be executed in any number of counterparts and in separate counterparts, all of which when so
executed shall be deemed to be an original and all of which when taken together shall constitute one and the same agreement. Facsimile signatures or signatures received as a .pdf attachment to electronic mail shall be treated as original signatures
for all purposes of this Agreement. This Agreement shall become effective when, and only when, each party hereto shall have received a counterpart signed by all of the other parties hereto. 

  
 7 








 5.5 Headings. The headings in this Agreement are for convenience of reference only and
shall not limit or otherwise affect the meaning hereof. 
 5.6 Governing Law. This Agreement shall be governed by and construed in
accordance with the laws of the State of Delaware. The parties hereto agree that any suit, action or proceeding seeking to enforce any provision of, or based on any matter arising out of or in connection with, this Agreement or the transactions
contemplated hereby shall be brought in the Delaware chancery court or, if such court shall not have jurisdiction, any federal court located in the State of Delaware or other Delaware state court, and each of the parties hereby irrevocably consents
to the jurisdiction of such courts (and of the appropriate appellate courts therefrom) in any such suit, action or proceeding and irrevocably waives, to the fullest extent permitted by law, any objection that it may now or hereafter have to the
laying of the venue of any such suit, action or proceeding in any such court or that any such suit, action or proceeding brought in any such court has been brought in an inconvenient forum. Process in any such suit, action or proceeding may be
served on any party anywhere in the world, whether within or without the jurisdiction of any such court. 
 5.7 Severability. If any
one or more of the provisions contained herein, or the application thereof in any circumstance, is held invalid, illegal or unenforceable in any respect for any reason, the validity, legality and enforceability of any such provision in every other
respect and of the remaining provisions hereof shall not be in any way impaired, unless the provisions held invalid, illegal or unenforceable shall substantially impair the benefits of the remaining provisions hereof. 

5.8 Entire Agreement. This Agreement, together with the schedules and exhibits hereto, are intended by the parties as a final
expression of their agreement and are intended to be a complete and exclusive statement of the agreement and understanding of the parties hereto in respect of the subject matter contained herein and therein. There are no restrictions, promises,
warranties or undertakings, other than those set forth or referred to herein or therein. This Agreement supersedes all prior agreements and understandings between the parties with respect to such subject matter. 

5.9 Further Assurances. Each of the parties shall execute such documents and perform such further acts (including, without limitation,
obtaining any consents, exemptions, authorizations, or other actions by, or giving any notices to, or making any filings with, any Governmental Authority or any other Person) as may be reasonably required or desirable to carry out or to perform the
provisions of this Agreement. 
 [Remainder of page intentionally left blank] 

  
 8 








 IN WITNESS WHEREOF, the parties hereto have caused this Agreement to be executed and delivered by
their respective officers hereunto duly authorized as of the date first above written. 
  

			
	[Seller]
		
	By:	 	  

	Name:	 	
	Title:	 	
	
	Notice Address:
	
	  

	
	  

	
	  

	
	  

	
	Wire Instructions:
	
	  

	
	  

	
	  

	
	  



 [Signature Page to Purchase Agreement] 







 
			
	loanDepot, Inc.
		
	By:	 	  

	Name:	 	
	Title:	 	


 [Signature Page to Purchase Agreement] 







 Schedule I 

Initial Purchased Paired Interests 
  

					
	 Name of Initial Closing

Sellers
	 	 Initial

Purchased

Paired Interests
	 	 TRA Seller

	
[                    ]
	 	[            ]	 	[Yes/No]

 Additional Purchased Paired Interests 

 

			
	 Name of Additional Closing Sellers
	 	 Initial

Purchased

Paired Interests

	
[                    ]
	 	[            ]








 EXHIBIT A 

[FORM OF] ASSIGNMENT AGREEMENT 

ASSIGNMENT AGREEMENT (this “Agreement”), dated as of
[            ], 2015, by and among the sellers listed as “Sellers” on the signature pages hereto, as sellers (collectively, the “Sellers” and each, a
“Seller”), and loanDepot, Inc., a Delaware corporation (the “Purchaser”), and loanDepot Holdings, LLC, a Delaware limited liability company (“LD Holdings”). Each capitalized term used herein without
definition shall have the meaning assigned to it in the Purchase Agreement (as defined below). 
 RECITALS 

WHEREAS, the Purchaser, the Sellers entered into a Purchase Agreement, dated as of
[            ], 2015 (the “Purchase Agreement”), pursuant to which each Seller agreed to sell, assign, convey and transfer its Holdco Units to the Purchaser; and 

WHEREAS, the Purchaser has agreed to purchase such Holdco Units from each Seller pursuant to the Purchase Agreement. 

NOW, THEREFORE, in consideration of the mutual agreements contained herein and in the Purchase Agreement, and for other good and valuable
consideration, the receipt and sufficiency of which are hereby acknowledged, the parties to this Agreement agree as follows: 
 1.
Transfer. Each Seller hereby sells, assigns, conveys and transfers to the Purchaser the number of Holdco Units set forth below its signature on the signature pages hereto. 

2. Acknowledgement of Sale by LD Holdings. LD Holdings hereby acknowledges the sale, assignment, conveyance and transfer by each Seller
to the Purchaser of the number of Holdco Units set forth under such Seller’s signature hereto and shall cause its records and the member schedule to its Limited Liability Company Agreement to be amended to reflect the sale and transfer of such
Holdco Units as contemplated in the Purchase Agreement and herein. 
 3. Governing Law. This Agreement shall be governed by and
construed in accordance with the laws of the State of Delaware. The parties hereto agree that any suit, action or proceeding seeking to enforce any provision of, or based on any matter arising out of or in connection with, this Agreement or the
transactions contemplated hereby shall be brought in the Delaware chancery court or, if such court shall not have jurisdiction, any federal court located in the State of Delaware or other Delaware state court, and each of the parties hereby
irrevocably consents to the jurisdiction of such courts (and of the appropriate appellate courts therefrom) in any such suit, action or proceeding and irrevocably waives, to the fullest extent permitted by law, any objection that it may now or
hereafter have to the laying of the venue of any such suit, action or proceeding in any such court or that any such suit, action or proceeding brought in any such court has been brought in an inconvenient forum. Process in any such suit, action or
proceeding may be served on any party anywhere in the world, whether within or without the jurisdiction of any such court. 

  
 A-1 








 4. Headings. The headings in this Agreement are for convenience of reference only and
shall not limit or otherwise affect the meaning hereof. 
 5. Further Assurances. Each of the parties shall execute such documents
and perform such further acts (including, without limitation, obtaining any consents, exemptions, authorizations, or other actions by, or giving any notices to, or making any filings with, any Governmental Authority or any other Person) as may be
reasonably required or desirable to carry out or to perform the provisions of this Agreement. 
 6. Counterparts. This Agreement may
be executed in any number of counterparts and in separate counterparts, all of which when so executed shall be deemed to be an original and all of which when taken together shall constitute one and the same agreement. 

[remainder of page intentionally left blank] 

  
 A-2 








 IN WITNESS WHEREOF, this Agreement has been duly executed and delivered by the Parties to this
Agreement as of the date first written above. 
  

			
	[Seller]
		
	By:	 	  

	Name:	 	
	Title:	 	
	
	Number of Holdco Units:                     


 [Signature Page to Assignment Agreement] 







 
			
	loanDepot, Inc.
		
	By:	 	  

	Name:	 	
	Title:	 	
	
	loanDepot Holdings, LLC
		
	By:	 	  

	Name:	 	
	Title:	 	


 [Signature Page to Assignment Agreement]