<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>658</ContextCount>
  <ElementCount>546</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>156</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="oke-20171231.xml">
      <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-20171231.xml">
      <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-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001001 - Statement - CONSOLIDATED STATEMENTS OF INCOME CONSOLIDATED STATEMENT OF INCOME (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/ConsolidatedStatementsOfIncomeConsolidatedStatementOfIncomeParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME CONSOLIDATED STATEMENT OF INCOME (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003000 - 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-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003001 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/ConsolidatedStatementsOfComprehensiveIncomeConsolidatedStatementsOfComprehensiveIncomeParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - 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-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1004501 - 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-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1005000 - 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-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1006000 - 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-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>1006001 - 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-20171231.xml">
      <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-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - ONEOK PARTNERS ACQUISITION ONEOK PARTNERS ACQUISITION (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/OneokPartnersAcquisitionOneokPartnersAcquisitionNotes</Role>
      <ShortName>ONEOK PARTNERS ACQUISITION ONEOK PARTNERS ACQUISITION (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2104100 - 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>13</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2105100 - 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>14</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - PROPERTY, PLANT AND EQUIPMENT (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/PropertyPlantAndEquipmentNotes</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - GOODWILL AND INTANGIBLE ASSETS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/GoodwillAndIntangibleAssetsNotes</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - DEBT (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/DebtNotes</Role>
      <ShortName>DEBT (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - EQUITY EQUITY (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/EquityEquityNotes</Role>
      <ShortName>EQUITY EQUITY (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2113100 - 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>19</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.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>20</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - SHARE-BASED PAYMENTS SHARE-BASED PAYMENTS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/ShareBasedPaymentsShareBasedPaymentsNotes</Role>
      <ShortName>SHARE-BASED PAYMENTS SHARE-BASED PAYMENTS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.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>22</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - INCOME TAXES (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/IncomeTaxesNotes</Role>
      <ShortName>INCOME TAXES (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2119100 - 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>24</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2121100 - 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>25</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2122100 - Disclosure - SEGMENTS (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/SegmentsNotes</Role>
      <ShortName>SEGMENTS (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2123100 - Disclosure - QUARTERLY FINANCIAL DATA (UNAUDITED) (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/QuarterlyFinancialDataUnauditedNotes</Role>
      <ShortName>QUARTERLY FINANCIAL DATA (UNAUDITED) (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2124100 - Disclosure - SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.oneok.com/role/SupplementalCondensedConsolidatingFinancialInformationNotes</Role>
      <ShortName>SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.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>29</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2209201 - Disclosure - DEBT DEBT (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/DebtDebtPolicies</Role>
      <ShortName>DEBT DEBT (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2212201 - Disclosure - EQUITY Equity (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EquityEquityPolicies</Role>
      <ShortName>EQUITY Equity (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2217201 - Disclosure - EMPLOYEE BENEFIT PLANS EMPLOYEE BENEFIT PLANS (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EmployeeBenefitPlansEmployeeBenefitPlansPolicies</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS EMPLOYEE BENEFIT PLANS (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2222201 - 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>33</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2303302 - Disclosure - ONEOK PARTNERS ACQUISITION ONEOK PARTNERS ACQUISITION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/OneokPartnersAcquisitionOneokPartnersAcquisitionTables</Role>
      <ShortName>ONEOK PARTNERS ACQUISITION ONEOK PARTNERS ACQUISITION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/OneokPartnersAcquisitionOneokPartnersAcquisitionNotes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2304301 - 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>35</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2305301 - 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>36</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - PROPERTY, PLANT AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/PropertyPlantAndEquipmentTables</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/PropertyPlantAndEquipmentNotes</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - GOODWILL AND INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/GoodwillAndIntangibleAssetsTables</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/GoodwillAndIntangibleAssetsNotes</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2309302 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/DebtTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/DebtNotes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2312302 - Disclosure - EQUITY EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EquityEquityTables</Role>
      <ShortName>EQUITY EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/EquityEquityNotes</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2313301 - 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>41</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.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>42</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - SHARE-BASED PAYMENTS SHARE-BASED PAYMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/ShareBasedPaymentsShareBasedPaymentsTables</Role>
      <ShortName>SHARE-BASED PAYMENTS SHARE-BASED PAYMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/ShareBasedPaymentsShareBasedPaymentsNotes</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2317302 - 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>44</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/IncomeTaxesTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/IncomeTaxesNotes</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2319301 - 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>46</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2321301 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/CommitmentsAndContingenciesNotes</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2322302 - 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>48</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2323301 - Disclosure - QUARTERLY FINANCIAL DATA (UNAUDITED) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>QUARTERLY FINANCIAL DATA (UNAUDITED) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/QuarterlyFinancialDataUnauditedNotes</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2324301 - Disclosure - SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SupplementalCondensedConsolidatingFinancialInformationTables</Role>
      <ShortName>SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oneok.com/role/SupplementalCondensedConsolidatingFinancialInformationNotes</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2401402 - 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>51</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - ONEOK PARTNERS ACQUISITION ONEOK PARTNERS ACQUISITION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/OneokPartnersAcquisitionOneokPartnersAcquisitionDetails</Role>
      <ShortName>ONEOK PARTNERS ACQUISITION ONEOK PARTNERS ACQUISITION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/OneokPartnersAcquisitionOneokPartnersAcquisitionTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2404402 - 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>53</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2404403 - 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>54</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2405402 - 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>55</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2405403 - 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>56</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2405404 - 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>57</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - PROPERTY, PLANT AND EQUIPMENT - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/PropertyPlantAndEquipmentDetails</Role>
      <ShortName>PROPERTY, PLANT AND EQUIPMENT - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/PropertyPlantAndEquipmentTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - GOODWILL AND INTANGIBLE ASSETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/GoodwillAndIntangibleAssetsDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/GoodwillAndIntangibleAssetsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - DEBT (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/DebtDetails</Role>
      <ShortName>DEBT (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/DebtTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - EQUITY EQUITY (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/EquityEquityDetails</Role>
      <ShortName>EQUITY EQUITY (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/EquityEquityTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2413402 - 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>62</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.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>63</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - SHARE-BASED PAYMENTS SHARE-BASED PAYMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/ShareBasedPaymentsShareBasedPaymentsDetails</Role>
      <ShortName>SHARE-BASED PAYMENTS SHARE-BASED PAYMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/ShareBasedPaymentsShareBasedPaymentsTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2417403 - 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>65</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - INCOME TAXES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/IncomeTaxesDetails</Role>
      <ShortName>INCOME TAXES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/IncomeTaxesTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2419402 - 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>67</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2421402 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/CommitmentsAndContingenciesDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2422403 - 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>69</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2423402 - Disclosure - QUARTERLY FINANCIAL DATA (UNAUDITED) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/QuarterlyFinancialDataUnauditedDetails</Role>
      <ShortName>QUARTERLY FINANCIAL DATA (UNAUDITED) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oneok.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2424402 - Disclosure - SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION CONDENSED CONSOLIDATING FINANCIAL STATEMENTS, Income Statement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SupplementalCondensedConsolidatingFinancialInformationCondensedConsolidatingFinancialStatementsIncomeStatementDetails</Role>
      <ShortName>SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION CONDENSED CONSOLIDATING FINANCIAL STATEMENTS, Income Statement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2424403 - Disclosure - SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION CONDENSED CONSOLIDATING FINANCIAL INFORMATION, Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SupplementalCondensedConsolidatingFinancialInformationCondensedConsolidatingFinancialInformationComprehensiveIncomeDetails</Role>
      <ShortName>SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION CONDENSED CONSOLIDATING FINANCIAL INFORMATION, Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2424404 - Disclosure - SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION CONDENSED CONSOLIDATING FINANCIAL STATEMENTS, Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SupplementalCondensedConsolidatingFinancialInformationCondensedConsolidatingFinancialStatementsBalanceSheetDetails</Role>
      <ShortName>SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION CONDENSED CONSOLIDATING FINANCIAL STATEMENTS, Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="oke-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2424405 - Disclosure - SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION CONDENSED CONSOLIDATING FINANCIAL STATEMENTS, Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oneok.com/role/SupplementalCondensedConsolidatingFinancialInformationCondensedConsolidatingFinancialStatementsCashFlowsDetails</Role>
      <ShortName>SUPPLEMENTAL CONDENSED CONSOLIDATING FINANCIAL INFORMATION CONDENSED CONSOLIDATING FINANCIAL STATEMENTS, Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>oke-20171231.xml</File>
    <File>oke-20171231.xsd</File>
    <File>oke-20171231_cal.xml</File>
    <File>oke-20171231_def.xml</File>
    <File>oke-20171231_lab.xml</File>
    <File>oke-20171231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
