<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>453</ContextCount>
  <ElementCount>256</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>100</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - CONSOLIDATED STATEMENT OF INCOME (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDSTATEMENTOFINCOMEParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENT OF INCOME (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (PARANTHETICAL)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMECONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEPARANTHETICAL</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (PARANTHETICAL)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Statement - CONSOLIDATED STATEMENT OF CHANGES IN EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENT OF CHANGES IN EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Statement - CONSOLIDATED STATEMENT OF CHANGES IN EQUITY CONSOLIDATED STATEMENT OF CHANGES IN EQUITY Parenthetical</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINEQUITYCONSOLIDATEDSTATEMENTOFCHANGESINEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENT OF CHANGES IN EQUITY CONSOLIDATED STATEMENT OF CHANGES IN EQUITY Parenthetical</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNotes</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - FAIR VALUE MEASUREMENTS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/FAIRVALUEMEASUREMENTSNotes</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESNotes</Role>
      <ShortName>RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - DEBT DEBT (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/DEBTDEBTNotes</Role>
      <ShortName>DEBT DEBT (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - EQUITY (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/EQUITYNotes</Role>
      <ShortName>EQUITY (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSNotes</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - EARNINGS PER SHARE EARNINGS PER SHARE (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/EARNINGSPERSHAREEARNINGSPERSHARENotes</Role>
      <ShortName>EARNINGS PER SHARE EARNINGS PER SHARE (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - UNCONSOLIDATED AFFILIATES (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESNotes</Role>
      <ShortName>UNCONSOLIDATED AFFILIATES (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - COMMITMENTS AND CONTINGENCIES (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/COMMITMENTSANDCONTINGENCIESNotes</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - REVENUE REVENUE (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/REVENUEREVENUENotes</Role>
      <ShortName>REVENUE REVENUE (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - SEGMENTS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/SEGMENTSNotes</Role>
      <ShortName>SEGMENTS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - FAIR VALUE MEASUREMENTS FAIR VALUE MEASUREMENTS (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/FAIRVALUEMEASUREMENTSFAIRVALUEMEASUREMENTSPolicies</Role>
      <ShortName>FAIR VALUE MEASUREMENTS FAIR VALUE MEASUREMENTS (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000031 - Disclosure - Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/AccountingPoliciesTables</Role>
      <ShortName>Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000032 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/FAIRVALUEMEASUREMENTSTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/FAIRVALUEMEASUREMENTSNotes</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000033 - Disclosure - RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESTables</Role>
      <ShortName>RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESNotes</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000034 - Disclosure - DEBT DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/DEBTDEBTTables</Role>
      <ShortName>DEBT DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/DEBTDEBTNotes</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000036 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSTables</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSNotes</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000037 - Disclosure - EARNINGS PER SHARE EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EARNINGSPERSHAREEARNINGSPERSHARETables</Role>
      <ShortName>EARNINGS PER SHARE EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/EARNINGSPERSHAREEARNINGSPERSHARENotes</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000039 - Disclosure - UNCONSOLIDATED AFFILIATES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESTables</Role>
      <ShortName>UNCONSOLIDATED AFFILIATES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESNotes</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000041 - Disclosure - REVENUES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/REVENUESTables</Role>
      <ShortName>REVENUES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/REVENUEREVENUENotes</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000042 - Disclosure - SEGMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SEGMENTSTables</Role>
      <ShortName>SEGMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/SEGMENTSNotes</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000043 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000044 - Disclosure - FAIR VALUE MEASUREMENTS - Part 1 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/FAIRVALUEMEASUREMENTSPart1Details</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Part 1 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000045 - Disclosure - FAIR VALUE MEASUREMENTS - Part 2 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/FAIRVALUEMEASUREMENTSPart2Details</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Part 2 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000046 - Disclosure - RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES Part 1 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart1Details</Role>
      <ShortName>RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES Part 1 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000047 - Disclosure - RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES, Part 2 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart2Details</Role>
      <ShortName>RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES, Part 2 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000048 - Disclosure - RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES Part 3 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart3Details</Role>
      <ShortName>RISK MANAGEMENT AND HEDGING ACTIVITIES USING DERIVATIVES Part 3 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000049 - Disclosure - DEBT DEBT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/DEBTDEBTDetails</Role>
      <ShortName>DEBT DEBT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/DEBTDEBTTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000050 - Disclosure - EQUITY (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EQUITYDetails</Role>
      <ShortName>EQUITY (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/EQUITYNotes</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSDetails</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE INCOME (LOSS) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000052 - Disclosure - EARNINGS PER SHARE EARNINGS PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EARNINGSPERSHAREEARNINGSPERSHAREDetails</Role>
      <ShortName>EARNINGS PER SHARE EARNINGS PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/EARNINGSPERSHAREEARNINGSPERSHARETables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000054 - Disclosure - UNCONSOLIDATED AFFILIATES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESDetails</Role>
      <ShortName>UNCONSOLIDATED AFFILIATES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000056 - Disclosure - REVENUES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/REVENUESDetails</Role>
      <ShortName>REVENUES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/REVENUESTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="oke-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000057 - Disclosure - SEGMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SEGMENTSDetails</Role>
      <ShortName>SEGMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/SEGMENTSTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="oke-20220930.htm">oke-20220930.htm</File>
    <File>darrenwallisrsuaward.htm</File>
    <File>formmake-wholersu.htm</File>
    <File>janethoganrsuaward.htm</File>
    <File>oke-20220930.xsd</File>
    <File>oke-20220930_cal.xml</File>
    <File>oke-20220930_def.xml</File>
    <File>oke-20220930_lab.xml</File>
    <File>oke-20220930_pre.xml</File>
    <File>okeq32022exhibit221.htm</File>
    <File>okeq32022exhibit311.htm</File>
    <File>okeq32022exhibit312.htm</File>
    <File>okeq32022exhibit321.htm</File>
    <File>okeq32022exhibit322.htm</File>
    <File>pamelaamburgyrsuaward.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>oke-20220930_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1397">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
