​

Exhibit 5.1

​

​

​

​

​

  ​ ​ ​

1271 Avenue of the Americas

​

​

New York, New York 10020-1401

​

​

Tel: +1.212.906.1200 Fax: +1.212.751.4864

​

​

www.lw.com

​

​

​

Graphic

​

FIRM / AFFILIATE OFFICES

​

​

Austin

Milan

​

​

Beijing

Munich

​

​

Boston

New York

​

​

Brussels

Orange County

November 18, 2026

​

Chicago

Paris

​

​

Dubai

Riyadh

​

​

Düsseldorf

San Diego

​

​

Frankfurt

San Francisco

​

​

Hamburg

Seoul

​

​

Hong Kong

Silicon Valley

​

​

Houston

Singapore

​

​

London

Tel Aviv

​

​

Los Angeles

Tokyo

Yesway, Inc.

​

Madrid

Washington, D.C.

2301 Eagle Parkway

​

​

Fort Worth, Texas 76177

​

​

​

Re: Registration Statement on Form S-1

5,750,000 shares of Class A common stock, par value $0.0001 per share

To the addressee set forth above:

We have acted as special counsel to Yesway, Inc., a Delaware corporation (the “Company”), in connection with the proposed registration of up to 5,750,000 shares of Class A common stock, $0.0001 par value per share (the “Shares”), which are being offered by certain selling stockholders of the Company (the “Selling Stockholders”). The Shares are included in a registration statement on Form S–1 under the Securities Act of 1933, as amended (the “Act”), initially filed with the Securities and Exchange Commission (the “Commission”) on November 17, 2026 (as amended, the “Registration Statement”). The Shares consist of (i) up to 1,853,013 issued and outstanding Shares (the “Outstanding Shares”) held by certain of the Selling Stockholders and (ii) up to 3,896,987 Shares (the “Exchange Shares”) that are issuable upon the exchange of common units (the “LLC Units”) of BW Ultimate Parent, LLC, a Delaware limited liability company (“BW Parent”), together with the surrender and cancellation of a corresponding number of shares of Class B common stock, $0.0001 par value per share, of the Company (the “Class B Shares”), held by certain of the Selling Stockholders, in each case as set forth in the Registration Statement. The term “Shares” shall include any additional shares of Class A common stock registered by the Company pursuant to Rule 462(b) under the Act in connection with the offering contemplated by the Registration Statement, and any such additional shares shall constitute Outstanding Shares or Exchange Shares, as applicable. This opinion is being furnished in connection with the requirements of Item 601(b)(5) of Regulation S-K under the Act, and no opinion is expressed herein as to any matter pertaining to the contents of the Registration Statement or related Prospectus, other than as expressly stated herein with respect to the issuance of the Shares.

As such counsel, we have examined such matters of fact and questions of law as we have considered appropriate for purposes of this letter. With your consent, we have relied upon certificates and other assurances of officers of the Company and others as to factual matters

​


November 18, 2026

Page 2

Graphic

without having independently verified such factual matters. We are opining herein as to the General Corporation Law of the State of Delaware, and we express no opinion with respect to any other laws.

Subject to the foregoing and the other matters set forth herein, it is our opinion that, as of the date hereof, (i) the Outstanding Shares have been duly authorized by all necessary corporate action of the Company and are validly issued, fully paid and non-assessable and (ii) the issuance of the Exchange Shares has been duly authorized by all necessary corporate action of the Company, and when the Exchange Shares shall have been issued by the Company upon the exchange of LLC Units, together with the surrender and cancellation of a corresponding number of Class B Shares, in accordance with the terms of the Fourth Amended and Restated Limited Liability Company Agreement of BW Parent and the Company’s Amended and Restated Certificate of Incorporation, and shall have been duly registered on the books of the transfer agent and registrar therefor in the name or on behalf of the Selling Stockholders, the Exchange Shares will be validly issued, fully paid and non-assessable. In rendering the foregoing opinion in clause (ii) that the Exchange Shares will be validly issued, fully paid and non-assessable, we have assumed that (a) the Company will comply with all applicable notice requirements regarding uncertificated shares provided in the General Corporation Law of the State of Delaware, (b) at the time of each such issuance, a sufficient number of shares of Class A common stock will remain authorized and reserved for issuance, and (c) the documents referred to in clause (ii) will not have been amended in any manner that would affect the foregoing opinions.

This opinion is for your benefit in connection with the Registration Statement and may be relied upon by you and by persons entitled to rely upon it pursuant to the applicable provisions of the Act. We consent to your filing this opinion as an exhibit to the Registration Statement and to the reference to our firm in the Prospectus under the heading “Legal Matters.” We further consent to the incorporation by reference of this letter and consent into any registration statement filed pursuant to Rule 462(b) with respect to the Shares. In giving such consent, we do not thereby admit that we are in the category of persons whose consent is required under Section 7 of the Act or the rules and regulations of the Commission thereunder.

​

Very truly yours,

​

​

​

/s/ Latham & Watkins LLP

​

​