<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001039684</identifier>
        </entity>
        <period>
            <startDate>2026-06-18</startDate>
            <endDate>2026-06-18</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001039684</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-18</startDate>
            <endDate>2026-06-18</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001039684</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-18</startDate>
            <endDate>2026-06-18</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-341">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-342">S-3ASR</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-343">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-344">0001039684</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-345">ONEOK INC /NEW/</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="rc" id="ixv-382">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-383">ONEOK INC /NEW/</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-384">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-385">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-386">Common Stock</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg contextRef="offrl_1" id="ixv-387">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-388"
      unitRef="Shares">675337</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-389"
      unitRef="USD">87.56</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-390"
      unitRef="USD">59132507.72</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-391"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-392"
      unitRef="USD">8166.20</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-393">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-394">Equity</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_2" id="ixv-395">true</ffd:Rule415a6Flg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="0"
      id="ixv-396"
      unitRef="Shares">4324663</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-397"
      unitRef="USD">261804286.36</ffd:MaxAggtOfferingPric>
    <ffd:CfwdFormTp contextRef="offrl_2" id="ixv-398">S-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_2" id="ixv-399">333-272784</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_2" id="ixv-400">2023-06-20</ffd:CfwdPrrFctvDt>
    <ffd:CfwdPrevslyPdFee
      contextRef="offrl_2"
      decimals="2"
      id="ixv-401"
      unitRef="USD">28850.83</ffd:CfwdPrevslyPdFee>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-402" unitRef="USD">320936794.08</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-403" unitRef="USD">8166.20</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-404" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-405" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-406" unitRef="USD">8166.20</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-407">(1) Pursuant to Rule 416 of the Securities Act of 1933, as amended (the "Securities Act"), this Registration Statement shall also cover any additional shares of common stock that become issuable by reason of any stock dividend, stock split, recapitalization or other similar transaction effected without receipt of consideration that increases the number of outstanding shares of common stock. (2) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(c) and Rule 457(h) under the Securities Act. The offering price per share and aggregate offering price are based upon the average of the high and low prices per share of common stock of ONEOK, Inc. as reported on the New York Stock Exchange on June 15, 2026, which was $87.56 per share. (3) Pursuant to Rule 415(a)(6), this registration statement carries over 4,324,663 unsold shares of common stock of the 5,000,000 shares of common stock previously registered on the Registration Statement noted above (the "2023 Registration Statement"). As a result, the offering of unsold securities under the 2023 Registration Statement will be deemed terminated as of the date of effectiveness of the registration statement on Form S-3ASR to which this Exhibit relates.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-408">(3) Pursuant to Rule 415(a)(6), this registration statement carries over 4,324,663 unsold shares of common stock of the 5,000,000 shares of common stock previously registered on the Registration Statement noted above (the "2023 Registration Statement"). As a result, the offering of unsold securities under the 2023 Registration Statement will be deemed terminated as of the date of effectiveness of the registration statement on Form S-3ASR to which this Exhibit relates.</ffd:OfferingNote>
</xbrl>
