<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>312</ContextCount>
  <ElementCount>366</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>111</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1002001 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1003000 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1003501 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1004000 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1005000 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>1005001 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2101100 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2109100 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2111100 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2112100 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2113100 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2114100 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2115100 - 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-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - EMPLOYEE BENEFIT PLANS EMPLOYEE BENEFIT PLANS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/EmployeeBenefitPlansEmployeeBenefitPlansNotes</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS EMPLOYEE BENEFIT PLANS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2118100 - 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>19</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2120100 - 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>20</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - LEASES (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/LeasesNotes</Role>
      <ShortName>LEASES (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2122100 - 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>22</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2123100 - Disclosure - SEGMENTS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/SegmentsNotes</Role>
      <ShortName>SEGMENTS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2201201 - 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>24</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2209201 - 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>25</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2222201 - Disclosure - REVENUE REVENUE (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/RevenueRevenuePolicies</Role>
      <ShortName>REVENUE REVENUE (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2223201 - Disclosure - SEGMENTS SEGMENTS (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SegmentsSegmentsPolicies</Role>
      <ShortName>SEGMENTS SEGMENTS (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2309302 - 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>29</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2311301 - 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>30</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2312301 - 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>31</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2314301 - 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>32</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2315301 - 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>33</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - EMPLOYEE BENEFIT PLANS EMPLOYEE BENEFIT PLANS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EmployeeBenefitPlansEmployeeBenefitPlansTables</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS EMPLOYEE BENEFIT PLANS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/EmployeeBenefitPlansEmployeeBenefitPlansNotes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2318301 - 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>35</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2321302 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/LeasesTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/LeasesNotes</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2322302 - Disclosure - REVENUE REVENUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/RevenueRevenueTables</Role>
      <ShortName>REVENUE REVENUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/RevenueRevenueNotes</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2323302 - 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>38</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/SummaryOfSignificantAccountingPoliciesSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2409403 - 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>40</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2409404 - 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>41</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2411402 - 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>42</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2411403 - 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>43</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2411404 - 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>44</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2412402 - 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>45</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2413403 - 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>46</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2414402 - 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>47</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2415402 - 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>48</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - EMPLOYEE BENEFIT PLANS EMPLOYEE BENEFIT PLANS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EmployeeBenefitPlansEmployeeBenefitPlansDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS EMPLOYEE BENEFIT PLANS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/EmployeeBenefitPlansEmployeeBenefitPlansTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2418402 - 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>50</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2421403 - Disclosure - LEASES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/LeasesDetails</Role>
      <ShortName>LEASES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/LeasesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2422403 - Disclosure - REVENUE REVENUE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/RevenueRevenueDetails</Role>
      <ShortName>REVENUE REVENUE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/RevenueRevenueTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="oke-2020331x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2423403 - 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>53</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-2020331x10q.htm">oke-2020331x10q.htm</File>
    <File>oke-20200331.xsd</File>
    <File>oke-20200331_cal.xml</File>
    <File>oke-20200331_def.xml</File>
    <File>oke-20200331_lab.xml</File>
    <File>oke-20200331_pre.xml</File>
    <File>okeq12020exhibit311.htm</File>
    <File>okeq12020exhibit312.htm</File>
    <File>okeq12020exhibit321.htm</File>
    <File>okeq12020exhibit322.htm</File>
    <File>subsidiaryguarantorsex.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>okelogoa50.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
