XML 104 R60.htm IDEA: XBRL DOCUMENT
v3.22.4

DEBT (Details) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2023 USD ($) Rate | Dec. 31, 2022 USD ($) Rate | Sep. 30, 2022 USD ($) Rate | Dec. 31, 2021 USD ($) Rate | Jun. 30, 2021 USD ($) | Jun. 30, 2020 USD ($) Rate | Mar. 31, 2020 USD ($) Rate | Dec. 31, 2022 USD ($) Rate | Dec. 31, 2021 USD ($) Rate | Dec. 31, 2020 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 13,730,895 |  | $ 13,756,709 |  |  |  | $ 13,730,895 | $ 13,756,709 |
Unamortized portion of terminated swaps |  | 9,878 |  | 11,596 |  |  |  | 9,878 | 11,596 |
Unamortized debt issuance costs and discounts |  | (119,939) |  | (124,855) |  |  |  | (119,939) | (124,855) |
Current maturities of long-term debt |  | (925,000) |  | (895,814) |  |  |  | (925,000) | (895,814) |
Long-term debt |  | 12,695,834 |  | 12,747,636 |  |  |  | 12,695,834 | 12,747,636 |
Letters of Credit Outstanding, Amount |  | 7,900 |  | 7,700 |  |  |  | 7,900 | 7,700 |
Long-term Debt, Repurchased Face Amount |  |  |  |  |  |  |  |  | 55,200 | $ 224,400
Repayments of Long-term Debt |  |  |  |  |  |  |  |  | 54,600 | 199,600
Gain (Loss) on Extinguishment of Debt |  |  |  |  |  |  |  |  |  | $ 22,300
$2.5 Billion Credit Agreement [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | 2,500,000 |  |  |  |  |  | 2,500,000 |  |
Line of Credit Facility, Amount Outstanding |  | 0 |  | 0 |  |  |  | 0 | 0 |
Line of Credit Facility, Sublimit |  | 100,000 |  |  |  |  |  | 100,000 |  |
Line of Credit Facility, Swingline Subfacility |  | 200,000 |  |  |  |  |  | 200,000 |  |
Line Of Credit Facility, Option To Increase Borrowing Capacity |  | $ 1,000,000 |  |  |  |  |  | $ 1,000,000 |  |
Line of Credit Facility, Annual Facility Fee Description |  |  |  |  |  |  |  | the applicable rate is 15 basis points |  |
Line of Credit Facility, Interest Rate Description |  |  |  |  |  |  |  | Borrowings, if any, will accrue at Term SOFR plus an applicable margin based on our credit ratings at the time of determination plus an adjustment of 10 basis points. Under our current credit ratings, the applicable margin on any borrowings would be 110 basis points. |  |
Indebtedness to Adjusted EBITDA Maximum |  | 5.0 |  |  |  |  |  | 5.0 |  |
Indebtedness To Adjusted EBITDA Current |  | 3.7 |  |  |  |  |  | 3.7 |  |
Debt Instrument, Covenant Description |  |  |  |  |  |  |  | Among other things, beginning in June 2022, these covenants include maintaining a ratio of consolidated net indebtedness to adjusted EBITDA (EBITDA, as defined in our $2.5 Billion Credit Agreement, adjusted for all noncash charges and increased for projected EBITDA from certain lender-approved capital expansion projects) of no more than 5.0 to 1 at December 31, 2022. |  |
Guardian Pipeline [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Line of Credit Facility, Interest Rate Description |  |  |  |  |  |  |  | bears interest at Term SOFR plus an applicable margin based on Guardian’s credit rating at the time of determination plus an adjustment of 10 basis points. Under Guardian’s current credit ratings, the applicable margin is 112.5 basis points |  |
Guardian Term Loan Agreement |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Debt Instrument, Covenant Description |  |  |  |  |  |  |  | In June 2022, Guardian entered into a $120 million unsecured term loan agreement. The Guardian Term Loan Agreement matures in June 2025, and bears interest at Term SOFR plus an applicable margin based on Guardian’s credit rating at the time of determination plus an adjustment of 10 basis points. Under Guardian’s current credit ratings, the applicable margin is 112.5 basis points. The Guardian Term Loan Agreement allows prepayment of all or any portion outstanding without penalty or premium. During the second quarter 2022, Guardian drew the full $120 million available under the agreement and used the proceeds to repay intercompany debt with ONEOK. As of December 31, 2022, Guardian was in compliance with all covenants under the Guardian Term Loan Agreement. |  |
Notes Payable from Public Offering Due 2026, 2031 and 2051 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Senior Notes, Noncurrent |  |  |  |  |  | $ 1,500,000 |  |  |  |
Proceeds from Debt, Net of Issuance Costs |  |  |  |  |  | 1,480,000 |  |  |  |
Notes Payable from Public Offering Due 2025, 2030 and 2050 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Senior Notes, Noncurrent |  |  |  |  |  |  | $ 1,750,000 |  |  |
Proceeds from Debt, Net of Issuance Costs |  |  |  |  |  |  | 1,730,000 |  |  |
Notes Payable from Public Offering Due 2032 |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Senior Notes, Noncurrent |  | $ 750,000 |  |  |  |  |  | $ 750,000 |  |
Proceeds from Debt, Net of Issuance Costs |  | 742,000 |  |  |  |  |  |  |  |
Interest Obligations on Debt |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
2023 |  | 675,100 |  |  |  |  |  | 675,100 |  |
2024 |  | 630,400 |  |  |  |  |  | 630,400 |  |
2025 |  | 599,300 |  |  |  |  |  | 599,300 |  |
2026 |  | 554,500 |  |  |  |  |  | 554,500 |  |
2027 |  | 544,700 |  |  |  |  |  | 544,700 |  |
Total Aggregate Maturities of Long-term Debt Outstanding and Interest Obligations on Debt |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
2023 |  | 1,600,100 |  |  |  |  |  | 1,600,100 |  |
2024 |  | 1,130,400 |  |  |  |  |  | 1,130,400 |  |
2025 |  | 1,606,300 |  |  |  |  |  | 1,606,300 |  |
2026 |  | 1,154,500 |  |  |  |  |  | 1,154,500 |  |
2027 |  | 1,044,700 |  |  |  |  |  | 1,044,700 |  |
Senior Notes [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
2023 |  | 925,000 |  |  |  |  |  | 925,000 |  |
2024 |  | 500,000 |  |  |  |  |  | 500,000 |  |
2025 |  | 887,000 |  |  |  |  |  | 887,000 |  |
2026 |  | 600,000 |  |  |  |  |  | 600,000 |  |
2027 |  | 500,000 |  |  |  |  |  | 500,000 |  |
Guardian Pipeline [Member] | Notes Payables 1 due 2022 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Repayments of Long-term Debt |  |  |  |  | $ 11,700 |  |  |  |  |
Guardian Pipeline [Member] | Notes Payable due 2025 | Variable Rate |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | 120,000 |  | 0 |  |  |  | 120,000 | 0 |
Debt Instrument, Face Amount |  | 120,000 |  |  |  |  |  | $ 120,000 |  |
Debt Instrument, Interest Rate, Basis for Effective Rate | Rate |  |  |  |  |  |  |  | 4.06% |  |
Guardian Pipeline [Member] | Unsecured Debt |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
2023 |  | 0 |  |  |  |  |  | $ 0 |  |
2024 |  | 0 |  |  |  |  |  | 0 |  |
2025 |  | 120,000 |  |  |  |  |  | 120,000 |  |
2026 |  | 0 |  |  |  |  |  | 0 |  |
2027 |  | 0 |  |  |  |  |  | 0 |  |
Subsidiary Issuer [Member] | 3.375% Notes Payable due 2022 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | 0 |  | 895,814 |  |  |  | 0 | 895,814 |
Debt Instrument, Face Amount |  | $ 900,000 |  |  |  |  |  | $ 900,000 |  |
Interest rates (in hundredths) | Rate |  | 3.375% | 3.375% |  |  |  |  | 3.375% |  |
Debt Instrument, Redemption Price, Percentage |  |  | 100.00% |  |  |  |  |  |  |
Repayments of Long-term Debt |  |  | $ 895,800 |  |  |  |  |  |  |
Subsidiary Issuer [Member] | 5.0% Notes Payable due 2023 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 425,000 |  | 425,000 |  |  |  | $ 425,000 | 425,000 |
Debt Instrument, Face Amount |  | $ 425,000 |  |  |  |  |  | $ 425,000 |  |
Interest rates (in hundredths) | Rate |  | 5.00% |  |  |  |  |  | 5.00% |  |
Subsidiary Issuer [Member] | 5.0% Notes Payable due 2023 [Member] | Subsequent Event [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Interest rates (in hundredths) | Rate | 5.00% |  |  |  |  |  |  |  |  |
Debt Instrument, Redemption Price, Percentage | 100.00% |  |  |  |  |  |  |  |  |
Repayments of Long-term Debt | $ 425,000 |  |  |  |  |  |  |  |  |
Subsidiary Issuer [Member] | 4.9% Notes Payable due 2025 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 500,000 |  | 500,000 |  |  |  | $ 500,000 | 500,000 |
Debt Instrument, Face Amount |  | $ 500,000 |  |  |  |  |  | $ 500,000 |  |
Interest rates (in hundredths) | Rate |  | 4.90% |  |  |  |  |  | 4.90% |  |
Subsidiary Issuer [Member] | 6.65% Notes Payable due 2036 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 600,000 |  | 600,000 |  |  |  | $ 600,000 | 600,000 |
Debt Instrument, Face Amount |  | $ 600,000 |  |  |  |  |  | $ 600,000 |  |
Interest rates (in hundredths) | Rate |  | 6.65% |  |  |  |  |  | 6.65% |  |
Subsidiary Issuer [Member] | 6.85% Notes Payable due 2037 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 600,000 |  | 600,000 |  |  |  | $ 600,000 | 600,000 |
Debt Instrument, Face Amount |  | $ 600,000 |  |  |  |  |  | $ 600,000 |  |
Interest rates (in hundredths) | Rate |  | 6.85% |  |  |  |  |  | 6.85% |  |
Subsidiary Issuer [Member] | 6.125% Notes Payable due 2041 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 650,000 |  | 650,000 |  |  |  | $ 650,000 | 650,000 |
Debt Instrument, Face Amount |  | $ 650,000 |  |  |  |  |  | $ 650,000 |  |
Interest rates (in hundredths) | Rate |  | 6.125% |  |  |  |  |  | 6.125% |  |
Subsidiary Issuer [Member] | 6.2% Notes Payable due 2043 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 400,000 |  | 400,000 |  |  |  | $ 400,000 | 400,000 |
Debt Instrument, Face Amount |  | $ 400,000 |  |  |  |  |  | $ 400,000 |  |
Interest rates (in hundredths) | Rate |  | 6.20% |  |  |  |  |  | 6.20% |  |
Parent Company |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Commercial Paper |  | $ 0 |  | 0 |  |  |  | $ 0 | 0 |
Parent Company | Term Loan Agreement due 2021 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  |  |  | 1,500,000 |  |  |  |
Repayments of Long-term Debt |  |  |  |  |  | 1,250,000 |  |  |  |
Parent Company | 4.25% Notes Payable due 2022 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Debt Instrument, Face Amount |  |  |  | $ 700,000 |  |  |  |  | $ 700,000 |
Interest rates (in hundredths) | Rate |  |  |  | 4.25% |  |  |  |  | 4.25% |
Repayments of Long-term Debt |  |  |  | $ 536,100 |  |  |  |  |  |
Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed |  |  |  | 100.00% |  |  |  |  |  |
Parent Company | 7.5% Notes Payable due 2023 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | 500,000 |  | $ 500,000 |  |  |  | 500,000 | $ 500,000 |
Debt Instrument, Face Amount |  | $ 500,000 |  |  |  |  |  | $ 500,000 |  |
Interest rates (in hundredths) | Rate |  | 7.50% |  |  |  |  |  | 7.50% |  |
Parent Company | 2.75% Notes Payable due 2024 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 500,000 |  | 500,000 |  |  |  | $ 500,000 | 500,000 |
Debt Instrument, Face Amount |  | $ 500,000 |  |  |  |  |  | $ 500,000 |  |
Interest rates (in hundredths) | Rate |  | 2.75% |  |  |  |  |  | 2.75% |  |
Parent Company | 2.2% Notes Payable due 2025 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 387,000 |  | 387,000 |  |  |  | $ 387,000 | 387,000 |
Debt Instrument, Face Amount |  | $ 400,000 |  |  |  |  | $ 400,000 | $ 400,000 |  |
Interest rates (in hundredths) | Rate |  | 2.20% |  |  |  |  | 2.20% | 2.20% |  |
Parent Company | 5.85% Notes Payable due 2026 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 600,000 |  | 600,000 |  |  |  | $ 600,000 | 600,000 |
Debt Instrument, Face Amount |  | $ 600,000 |  |  |  | $ 600,000 |  | $ 600,000 |  |
Interest rates (in hundredths) | Rate |  | 5.85% |  |  |  | 5.85% |  | 5.85% |  |
Parent Company | 4.0% Notes Payable due 2027 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 500,000 |  | 500,000 |  |  |  | $ 500,000 | 500,000 |
Debt Instrument, Face Amount |  | $ 500,000 |  |  |  |  |  | $ 500,000 |  |
Interest rates (in hundredths) | Rate |  | 4.00% |  |  |  |  |  | 4.00% |  |
Parent Company | 4.55% Notes Payable due 2028 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 800,000 |  | 800,000 |  |  |  | $ 800,000 | 800,000 |
Debt Instrument, Face Amount |  | $ 800,000 |  |  |  |  |  | $ 800,000 |  |
Interest rates (in hundredths) | Rate |  | 4.55% |  |  |  |  |  | 4.55% |  |
Parent Company | 6.875% Notes Payable due 2028 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 100,000 |  | 100,000 |  |  |  | $ 100,000 | 100,000 |
Debt Instrument, Face Amount |  | $ 100,000 |  |  |  |  |  | $ 100,000 |  |
Interest rates (in hundredths) | Rate |  | 6.875% |  |  |  |  |  | 6.875% |  |
Parent Company | 4.35% Notes Payable due 2029 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 700,000 |  | 700,000 |  |  |  | $ 700,000 | 700,000 |
Debt Instrument, Face Amount |  | $ 700,000 |  |  |  |  |  | $ 700,000 |  |
Interest rates (in hundredths) | Rate |  | 4.35% |  |  |  |  |  | 4.35% |  |
Parent Company | 3.4% Notes Payable due 2029 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 714,251 |  | 714,251 |  |  |  | $ 714,251 | 714,251 |
Debt Instrument, Face Amount |  | $ 750,000 |  |  |  |  |  | $ 750,000 |  |
Interest rates (in hundredths) | Rate |  | 3.40% |  |  |  |  |  | 3.40% |  |
Parent Company | 3.1% Notes Payable due 2030 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 780,093 |  | 780,093 |  |  |  | $ 780,093 | 780,093 |
Debt Instrument, Face Amount |  | $ 850,000 |  |  |  |  | $ 850,000 | $ 850,000 |  |
Interest rates (in hundredths) | Rate |  | 3.10% |  |  |  |  | 3.10% | 3.10% |  |
Parent Company | 6.35% Notes Payable due 2031 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 600,000 |  | 600,000 |  |  |  | $ 600,000 | 600,000 |
Debt Instrument, Face Amount |  | $ 600,000 |  |  |  | $ 600,000 |  | $ 600,000 |  |
Interest rates (in hundredths) | Rate |  | 6.35% |  |  |  | 6.35% |  | 6.35% |  |
Parent Company | 6.1% Notes Payable due 2032 |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 750,000 |  | 0 |  |  |  | $ 750,000 | 0 |
Debt Instrument, Face Amount |  | $ 750,000 |  |  |  |  |  | $ 750,000 |  |
Interest rates (in hundredths) | Rate |  | 6.10% |  |  |  |  |  | 6.10% |  |
Parent Company | 6.0% Notes Payable due 2035 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 400,000 |  | 400,000 |  |  |  | $ 400,000 | 400,000 |
Debt Instrument, Face Amount |  | $ 400,000 |  |  |  |  |  | $ 400,000 |  |
Interest rates (in hundredths) | Rate |  | 6.00% |  |  |  |  |  | 6.00% |  |
Parent Company | 4.95% Notes Payable due 2047 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 689,006 |  | 689,006 |  |  |  | $ 689,006 | 689,006 |
Debt Instrument, Face Amount |  | $ 700,000 |  |  |  |  |  | $ 700,000 |  |
Interest rates (in hundredths) | Rate |  | 4.95% |  |  |  |  |  | 4.95% |  |
Parent Company | 5.2% Notes Payable due 2048 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 1,000,000 |  | 1,000,000 |  |  |  | $ 1,000,000 | 1,000,000 |
Debt Instrument, Face Amount |  | $ 1,000,000 |  |  |  |  |  | $ 1,000,000 |  |
Interest rates (in hundredths) | Rate |  | 5.20% |  |  |  |  |  | 5.20% |  |
Parent Company | 4.45% Notes Payable due 2049 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 672,530 |  | 672,530 |  |  |  | $ 672,530 | 672,530 |
Debt Instrument, Face Amount |  | $ 750,000 |  |  |  |  |  | $ 750,000 |  |
Interest rates (in hundredths) | Rate |  | 4.45% |  |  |  |  |  | 4.45% |  |
Parent Company | 4.5% Notes Payable due 2050 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 443,015 |  | 443,015 |  |  |  | $ 443,015 | 443,015 |
Debt Instrument, Face Amount |  | $ 500,000 |  |  |  |  | $ 500,000 | $ 500,000 |  |
Interest rates (in hundredths) | Rate |  | 4.50% |  |  |  |  | 4.50% | 4.50% |  |
Parent Company | 7.15% Notes Payable due 2051 [Member] |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |
Total debt |  | $ 300,000 |  | $ 300,000 |  |  |  | $ 300,000 | $ 300,000 |
Debt Instrument, Face Amount |  | $ 300,000 |  |  |  | $ 300,000 |  | $ 300,000 |  |
Interest rates (in hundredths) | Rate |  | 7.15% |  |  |  | 7.15% |  | 7.15% |  |

X
- Definition Total debt to earnings before interest, taxes, depreciation and amortization at period end. + References No definition available. + Details
Name: | oke_IndebtednessToAdjustedEbitdaCurrent
Namespace Prefix: | oke_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total debt to earnings before interest, taxes, depreciation and amortization maximum. + References No definition available. + Details
Name: | oke_IndebtednesstoAdjustedEBITDAMaximum
Namespace Prefix: | oke_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line of Credit Facility, Annual Facility Fee Description + References No definition available. + Details
Name: | oke_LineOfCreditFacilityAnnualFacilityFeeDescription
Namespace Prefix: | oke_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition This item represents the total amount the facility may increase to. + References No definition available. + Details
Name: | oke_LineOfCreditFacilityOptionToIncreaseBorrowingCapacity
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This item represents the amount of sublimit for the issuance of standby letters of credit. + References No definition available. + Details
Name: | oke_LineOfCreditFacilitySublimit
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line of credit facility swingline subfacility + References No definition available. + Details
Name: | oke_LineofCreditFacilitySwinglineSubfacility
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Long-term Debt, Repurchased Face Amount + References No definition available. + Details
Name: | oke_LongtermDebtRepurchasedFaceAmount
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total Aggregate Maturities of Long-Term Debt Outstanding and Interest Obligations on Debt, Year Five + References No definition available. + Details
Name: | oke_TotalAggregateMaturitiesOfLongTermDebtOutstandingAndInterestObligationsOnDebtYearFive
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Total Aggregate Maturities of Long-term Debt Outstanding and Interest Obligations on Debt, Year Four + References No definition available. + Details
Name: | oke_TotalAggregateMaturitiesOfLongTermDebtOutstandingAndInterestObligationsOnDebtYearFour
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Total Aggregate Maturities of Long-term Debt Outstanding and Interest Obligations on Debt, Year One + References No definition available. + Details
Name: | oke_TotalAggregateMaturitiesOfLongTermDebtOutstandingAndInterestObligationsOnDebtYearOne
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Total Aggregate Maturities of Long-Term Debt Outstanding and Interest Obligations on Debt, Year Three + References No definition available. + Details
Name: | oke_TotalAggregateMaturitiesOfLongTermDebtOutstandingAndInterestObligationsOnDebtYearThree
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Total Aggregate Maturities of Long-term Debt Outstanding and Interest Obligations on Debt, Year Two + References No definition available. + Details
Name: | oke_TotalAggregateMaturitiesOfLongTermDebtOutstandingAndInterestObligationsOnDebtYearTwo
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Unamortized portion of terminated interest rate swaps + References No definition available. + Details
Name: | oke_UnamortizedPortionofTerminatedSwaps
Namespace Prefix: | oke_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Carrying value as of the balance sheet date of short-term borrowings using unsecured obligations issued by banks, corporations and other borrowers to investors. The maturities of these money market securities generally do not exceed 270 days. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(13)(2)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(a)(3)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_CommercialPaper
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(1) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of minimum financial levels (for example, tangible net worth and working capital) and achievement of certain financial ratios (for example, working capital ratio and debt service coverage ratio), and adherence to certain clauses which generally require or restrict certain actions (for example, entering into a debt arrangement with equal or greater seniority, and selling or discontinuing a certain business segment or material subsidiary) to be in compliance with the covenant clauses of the debt agreement. May also include a discussion of the adverse consequences that would result if the entity violates or fails to satisfy the covenants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (g) -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentCovenantDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The average effective interest rate during the reporting period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1F -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of principal amount of debt redeemed. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of unamortized debt discount (premium) and debt issuance costs. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(2) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fair value of the amount outstanding under the credit facility. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611 + Details
Name: | us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of interest rate for borrowing under credit facility. Includes, but is not limited to, terms and method for determining interest rate. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19,20) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1E -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601 + Details
Name: | us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of commitment classified as other to be paid in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInFifthYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of commitment classified as other to be paid in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInFourthYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of commitment classified as other to be paid in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of commitment classified as other to be paid in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInSecondYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of commitment classified as other to be paid in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References No definition available. + Details
Name: | us-gaap_OtherCommitmentDueInThirdYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow from additional borrowings, net of cash paid to third parties in connection with debt origination. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromDebtNetOfIssuanceCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of Notes with the highest claim on the assets of the issuer in case of bankruptcy or liquidation (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Senior note holders are paid off in full before any payments are made to junior note holders. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 852 -SubTopic 10 -Section 55 -Paragraph 10 -URI https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766 + Details
Name: | us-gaap_SeniorLongTermNotes
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=oke_A2.5BillionCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=oke_GuardianPipelineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=oke_GuardianTermLoanAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_NotesPayablefromPublicOfferingDue20262031and2051Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_NotesPayablefromPublicOfferingDue20252030and2050Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_NotesPayableFromPublicOfferingDue2032Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OtherCommitmentsAxis=oke_InterestObligationsOnDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OtherCommitmentsAxis=oke_TotalAggregateMaturitiesOfLongTermDebtOutstandingAndInterestObligationsOnDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=oke_GuardianPipelineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_NotesPayables1Due2022Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_NotesPayableDue2025Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=oke_VariableRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_UnsecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=srt_SubsidiaryIssuerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A3.375NotesPayabledue2022Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A5.0NotesPayabledue2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A4.9NotesPayabledue2025Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A6.65NotesPayabledue2036Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A6.85NotesPayabledue2037Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A6.125NotesPayabledue2041Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A6.2NotesPayabledue2043Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=srt_ParentCompanyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_TermLoanAgreementdue2021Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A4.25NotesPayabledue2022Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A7.5NotesPayabledue2023Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A2.75NotesPayabledue2024Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A2.2NotesPayabledue2025Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A5.85NotesPayabledue2026Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A4.0NotesPayabledue2027Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A4.55NotesPayabledue2028Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A6.875NotesPayabledue2028Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A4.35NotesPayabledue2029Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A3.4NotesPayabledue2029Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A3.1NotesPayabledue2030Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A6.35NotesPayabledue2031Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A61NotesPayableDue2032Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A6.0NotesPayabledue2035Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A4.95NotesPayabledue2047Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A5.2NotesPayabledue2048Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A4.45NotesPayabledue2049Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A4.5NotesPayabledue2050Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=oke_A7.15NotesPayabledue2051Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |