Contract

ONEOK, INC. EQUITY INCENTIVE PLAN RESTRICTED UNIT AWARD AGREEMENT This Restricted Unit Award Agreement (the “Agreement”) is entered into as of the 8th day of August, 2022 by and between ONEOK, Inc. (the “Company”) and XXXXXX XXXXXX (the “Grantee”), an employee of the Company or a Subsidiary thereof, pursuant to the terms of the ONEOK, Inc. Equity Incentive Plan (the “Plan”). 1. Restricted Unit Award. This Agreement and the Notice of Restricted Unit Award and Agreement dated August 8, 2022, a copy of which is attached hereto and incorporated herein by reference, establishes the terms and conditions for the Company’s grant of an Award of Restricted Units (the “Award”): 1,013 SHARES to the Grantee pursuant to the Plan. This Agreement, when executed by the Grantee, constitutes an agreement between the Company and the Grantee. Capitalized terms not defined in this Agreement shall have the meaning ascribed to them in the Plan. 2. Restricted Period; Vesting. The Restricted Units granted pursuant to the Award will vest in accordance with the following terms and conditions: (a) Grantee’s rights with respect to the Restricted Units shall be restricted during the period beginning August 8, 2022 (the “Grant Date”), and ending on February 23, 2025 (the “Restricted Period”). (b) Except as otherwise provided in this Agreement or the Plan, the Grantee shall vest in the Restricted Units granted by this Award (including any Dividend Equivalents, as described below) at the end of the Restricted Period if the Grantee’s employment by the Company does not terminate during the Restricted Period. Upon vesting, the Grantee shall become entitled to receive one (1) share of the Company’s common stock (“Common Stock”) for each such Restricted Unit. No fractional shares shall be issued, and any amount attributable to a fractional share shall instead be withheld to satisfy any withholding tax obligation. (c) If the Grantee’s employment with the Company terminates prior to the end of the Restricted Period by reason of (i) voluntary termination other than Retirement or (ii) involuntary Termination for Cause, the Grantee shall forfeit all right, title and interest in the Restricted Units and any Common Stock otherwise payable pursuant to this Agreement. For purposes of this Agreement, employment with any Subsidiary of the Company shall be treated as employment with the Company. Likewise, a termination of employment shall not be deemed to occur by reason of a transfer of employment between the Company and any Subsidiary. Exhibit 10.4

shall be made before the date which is six (6) months after the date of the Grantee's separation from service or, if earlier, the date of Xxxxxxx’s death (the “Delayed Payment Date”), if required by Code Section 409A. The accumulated amounts shall be distributed or paid in a lump sum payment on the Delayed Payment Date unless the Delayed Payment Date is the date of the Grantee’s death, in which event the accumulated amounts shall be paid in a lump sum payment by December 31 following the year of Xxxxxxx’s death. Notwithstanding the foregoing, the Company makes no representations that the payments and benefits provided under this Agreement comply with Code Section 409A and shall not be liable for all or any taxes, penalties, interest or other expenses that may be incurred by the Grantee on account of non-compliance with Code Section 409A. 14. Entire Agreement; Severability; Conflicts. This Agreement contains the entire terms of the Award, and may not be changed other than by a written instrument executed by both parties or an amendment of the Plan, except where such change or modification does not adversely affect in a material way the terms of this Agreement, as provided in Section 15.4 of the Plan. This Agreement supersedes any prior agreements or understandings, and there are no other agreements or understandings relating to its subject matter. The invalidity or unenforceability of any provision of the Plan or this Agreement shall not affect any other provision of the Plan or this Agreement, and each provision of the Plan and this Agreement shall be severable and enforceable to the extent permitted by law. Should there be any inconsistency between the provisions of this Agreement and the terms of the Award as stated in the resolutions and records of the Board of Directors or the Plan, the provisions of such resolutions and records of the Board of Directors and the Plan shall control. 15. Successors and Assigns. The Award evidenced by this Agreement shall inure to the benefit of and be binding upon the heirs, legatees, legal representatives, successors, and assigns of the parties hereto. 16. Governing Law; Mandatory Claims Procedures. This Agreement shall be construed in accordance with, and subject to, the laws of the State of Oklahoma applicable to contracts made and to be entirely performed in Oklahoma and wholly disregarding any choice of law provisions or conflict of law principles that might otherwise be contrary to this express intent. If Grantee or any person acting on Xxxxxxx’s behalf (the “Claimant”) has any claim or dispute related in any way to the Award or to the Plan, the Claimant must follow the claims and arbitration procedures set forth in Article 13 of the Plan. All claims must be brought no later than one year following the date on which the facts forming the basis of the claim are known or should have been known by the claimant, whichever is earlier. Any claim that is not submitted within the applicable time limit shall be waived. The Grantee hereby acknowledges receipt of this Agreement, the Notice of Restricted Unit Award and Agreement and a copy of the Plan, and accepts the Award under the terms and conditions stated in this Agreement, subject to all terms and provisions of the Plan, by signing this Agreement as of the date indicated. In the absences of a signed acceptance, the Grantee will be deemed to have accepted this Award on the Grant Date, and all its associated terms and conditions, including the mandatory claims and arbitration procedures, unless the Grantee notifies the 6

Company of the Grantee’s non-acceptance of the Award by contacting the stock plan administrator, in writing within sixty (60) days of the Grant Date. _______________ Date _________________________________________________ XXXXXX XXXXXX 7

Exhibit A Beneficiary Designation Form I, _________________________________ (“Plan Participant”), state that I am a participant in the ONEOK, Inc. Equity Incentive Plan,the ONEOK, Inc. Equity Compensation Plan, or any other stock compensation plan sponsored by ONEOK, Inc. (individually and collectively, the “Plan”), and the holder of one or more Awards granted to me under the Plan. With the understanding that I may change the following beneficiary designations at any time by furnishing written notice thereof to the Committee (provided that such change does not affect the time and form of payment of any amounts subject to an existing deferral election), I hereby designate the following individuals (or entities) as my beneficiaries to receive any and all benefits payable to me under the Plan and to exercise all rights, benefits and features of the Awards described below, in accordance with the terms of the Plan and any associated award agreement, in the event of my death as follows: 1. Primary Beneficiary (Beneficiaries) The Primary Beneficiaries named below shall have first priority to any and all Awards described below and to exercise all rights, benefits and features of the Awards described below, in accordance with the terms of the Plan and any associated award agreement, in the event of my death. Name Relationship SSN Percentage of Total If a designated Primary Beneficiary named dies or ceases to exist prior to receiving the share designated for such Primary Beneficiary, such share shall be transferred proportionately to other surviving and existing designated Primary Beneficiaries. 2. Contingent Beneficiary (or Beneficiaries) The Contingent Beneficiaries named below, if any, shall receive all Awards described below and to exercise, enjoy and receive all rights, benefits and features of the Awards described below (including Awards that I have elected to defer under the Plan or the ONEOK, Inc. 2005 Nonqualified Deferred Compensation Plan, if applicable) in accordance with the Plan and the terms and provisions of such Awards in the event of my death if no Primary Beneficiary named above survives me or exists. Name Relationship SSN Percentage of Total 8