Exhibit 5.1

 

August 18, 2026

 

XCF Global, Inc.

3040 Post Oak Blvd.

Floor 18, Suite 164

Houston, Texas

 

Re: XCF Global, Inc.
  Registration Statement on Form S-1

 

Ladies and Gentlemen:

We have acted as counsel to XCF Global, Inc., a company existing under the Laws of the State of Delaware (the “Company”), in connection with the filing of the Registration Statement on Form S-1 (the “Registration Statement”) with the Securities and Exchange Commission (the “Commission”) under the Securities Act of 1933, as amended (the “Securities Act”). The Registration Statement relates to the offer and resale by certain stockholders, (the “Selling Stockholders”) of up to 212,770,019 shares of the Company’s Class A common stock, $0.0001 par value (the “Shares”), which the Selling Stockholders may determine to sell from time to time after the effective date of the Registration Statement, including the related prospectus contained therein and forming a part thereof (the “Prospectus”).

 

In rendering the opinions set forth below, we have reviewed such certificates, corporate and public records, agreements and instruments and other documents, including, among other things, the documents delivered in connection with the Shares and as of the date hereof, as we have deemed appropriate as a basis for the opinions expressed below. In all such examinations we have assumed the genuineness of all signatures, the authenticity of all documents, agreements and instruments submitted to us as originals, the conformity to original documents, agreements and instruments of all documents, agreements and instruments submitted to us as copies or specimens, the authenticity of the originals of such documents, agreements and instruments submitted to us as copies or specimens, the conformity of the text of each document filed with the Commission through the Commission’s Electronic Data Gathering, Analysis and Retrieval System to the printed document reviewed by us, the accuracy of the matters set forth in the documents, agreements and instruments we reviewed, and that such documents, agreements and instruments evidence the entire understanding between the parties thereto and have not been amended, modified or supplemented in any manner material to the opinions expressed herein. As to matters of fact relevant to the opinions expressed herein, we have relied upon, and assumed the accuracy of, the representations and warranties contained in the Registration Statement, and we have relied upon certificates and oral or written statements and other information obtained from the Company, the other parties to the transaction referenced herein, and public officials. Except as expressly set forth herein, we have not undertaken any independent investigation (including, without limitation, conducting any review, search or investigation of any public files, records or dockets) to determine the existence or absence of the facts that are material to our opinions, and no inference as to our knowledge concerning such facts should be drawn from our reliance on the representations of the Company and others in connection with the preparation and delivery of this letter.

 

We have also assumed (x) the legal capacity of all natural persons and (y) (except to the extent expressly opined on herein) that all documents, agreements and instruments have been duly authorized, executed and delivered by all parties thereto, other than the Company, that all such parties are validly existing and in good standing under the laws of their respective jurisdictions of organization, that all such parties had the power and legal right to execute and deliver all such documents, agreements and instruments, and that such documents, agreements and instruments constitute the legal, valid and binding obligations of such parties, enforceable against such parties in accordance with their respective terms.

 

Based upon and subject to the foregoing, we are of the opinion that the Shares have been duly authorized, validly issued, fully paid and nonassessable by the Company.

 

We hereby consent to the filing of this opinion as an exhibit to the Registration Statement. In addition, we consent to the reference to our name under the caption “Legal Matters” in the Registration Statement. In giving this consent, we do not admit that we are in the category of persons whose consent is required under Section 7 of the Securities Act. In addition, we disclaim any obligation to update this letter or communicate with or advise you as to any changes in fact or law, or otherwise. We express no opinion concerning the laws of any jurisdiction other than the federal laws of the United States of America.

 

  Very truly yours,
   
  /s/ Shumaker, Loop & Kendrick, LLP
  Shumaker, Loop & Kendrick, LLP