XML 51 R39.htm IDEA: XBRL DOCUMENT
v3.23.1

DEBT DEBT (Details) $ in Millions | 3 Months Ended |
--- | --- | ---
Jun. 30, 2023 USD ($) Rate | Mar. 31, 2023 USD ($) Rate | Dec. 31, 2022 USD ($)
Debt Instrument [Line Items] |  |  |
Total debt |  | $ 13,336 | $ 13,731
Unamortized portion of terminated swaps |  | 9 | 10
Unamortized debt issuance costs and discounts |  | (117) | (120)
Current maturities of long-term debt |  | (500) | (925)
Long-term debt |  | 12,728 | 12,696
$2.5 Billion Credit Agreement [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Line of Credit Facility, Maximum Borrowing Capacity |  | $ 2,500 |
Debt Instrument, Covenant Description |  | Among other things, 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. |
Indebtedness To Adjusted EBITDA Maximum |  | 5.0 |
Line of Credit Facility, Amount Outstanding |  | $ 0 |
Indebtedness To Adjusted EBITDA Current |  | 2.8 |
Viking Term Loan Agreement |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Covenant Description |  | In March 2023, Viking entered into a $60 million senior unsecured Term Loan Agreement. The Viking Term Loan Agreement matures in March 2026 and bears interest at Term SOFR plus an applicable margin based on Viking’s credit rating at the time of determination plus an adjustment of 10 basis points. Under Viking’s current credit ratings, the applicable margin is 125 basis points. The Viking Term Loan Agreement allows prepayment of all or any portion outstanding without penalty or premium. During the first quarter 2023, Viking drew $50 million available under the agreement and the proceeds were used primarily to repay intercompany debt with ONEOK. The remainder was used for general corporate purposes. The remaining $10 million is available to be drawn until June 30, 2023. As of March 31, 2023, Viking is in compliance with all covenants under the Viking Term Loan Agreement. |
Viking Pipeline |  |  |
Debt Instrument [Line Items] |  |  |
Line of Credit Facility, Interest Rate Description |  | bears interest at Term SOFR plus an applicable margin based on Viking’s credit rating at the time of determination plus an adjustment of 10 basis points. Under Viking’s current credit ratings, the applicable margin is 125 basis points. |
Notes Payable due 2025 | Variable Rate | Guardian Pipeline |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 120 |
Total debt |  | $ 120 | 120
Debt Instrument, Interest Rate During Period | Rate |  | 6.03% |
Notes Payable due 2026 | Variable Rate | Viking Pipeline |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 60 |
Total debt |  | $ 50 | 0
Debt Instrument, Interest Rate During Period | Rate |  | 6.16% |
Subsidiary Issuer [Member] | 5.0% Notes Payable due 2023 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 425 |
Interest Rate (in hundredths) | Rate |  | 5.00% |
Total debt |  | $ 0 | 425
Repayments of Debt |  | $ 425 |
Debt Instrument, Redemption Price, Percentage |  | 100.00% |
Subsidiary Issuer [Member] | 4.9% Notes Payable due 2025 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 500 |
Interest Rate (in hundredths) | Rate |  | 4.90% |
Total debt |  | $ 500 | 500
Subsidiary Issuer [Member] | 6.65% Notes Payable due 2036 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 600 |
Interest Rate (in hundredths) | Rate |  | 6.65% |
Total debt |  | $ 600 | 600
Subsidiary Issuer [Member] | 6.85% Notes Payable due 2037 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 600 |
Interest Rate (in hundredths) | Rate |  | 6.85% |
Total debt |  | $ 600 | 600
Subsidiary Issuer [Member] | 6.125% Notes Payable due 2041 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 650 |
Interest Rate (in hundredths) | Rate |  | 6.125% |
Total debt |  | $ 650 | 650
Subsidiary Issuer [Member] | 6.2% Notes Payable due 2043 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 400 |
Interest Rate (in hundredths) | Rate |  | 6.20% |
Total debt |  | $ 400 | 400
Parent Company |  |  |
Debt Instrument [Line Items] |  |  |
Commercial Paper |  | 0 | 0
Parent Company | 7.5% Notes Payable due 2023 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 500 |
Interest Rate (in hundredths) | Rate |  | 7.50% |
Total debt |  | $ 500 | 500
Parent Company | 7.5% Notes Payable due 2023 [Member] | Subsequent Event [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Interest Rate (in hundredths) | Rate | 7.50% |  |
Repayments of Debt | $ 500 |  |
Debt Instrument, Redemption Price, Percentage | 100.00% |  |
Parent Company | 2.75% Notes Payable due 2024 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 500 |
Interest Rate (in hundredths) | Rate |  | 2.75% |
Total debt |  | $ 500 | 500
Parent Company | 2.2% Notes Payable due 2025 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 400 |
Interest Rate (in hundredths) | Rate |  | 2.20% |
Total debt |  | $ 387 | 387
Parent Company | 5.85% Notes Payable due 2026 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 600 |
Interest Rate (in hundredths) | Rate |  | 5.85% |
Total debt |  | $ 600 | 600
Parent Company | 4.0% Notes Payable due 2027 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 500 |
Interest Rate (in hundredths) | Rate |  | 4.00% |
Total debt |  | $ 500 | 500
Parent Company | 4.55% Notes Payable due 2028 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 800 |
Interest Rate (in hundredths) | Rate |  | 4.55% |
Total debt |  | $ 800 | 800
Parent Company | 6.875% Notes Payable due 2028 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 100 |
Interest Rate (in hundredths) | Rate |  | 6.875% |
Total debt |  | $ 100 | 100
Parent Company | 4.35% Notes Payable due 2029 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 700 |
Interest Rate (in hundredths) | Rate |  | 4.35% |
Total debt |  | $ 700 | 700
Parent Company | 3.4% Notes Payable due 2029 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 750 |
Interest Rate (in hundredths) | Rate |  | 3.40% |
Total debt |  | $ 714 | 714
Parent Company | 3.1% Notes Payable due 2030 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 850 |
Interest Rate (in hundredths) | Rate |  | 3.10% |
Total debt |  | $ 780 | 780
Parent Company | 6.35% Notes Payable due 2031 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 600 |
Interest Rate (in hundredths) | Rate |  | 6.35% |
Total debt |  | $ 600 | 600
Parent Company | 6.1% Notes Payable due 2032 |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 750 |
Interest Rate (in hundredths) | Rate |  | 6.10% |
Total debt |  | $ 750 | 750
Parent Company | 6.0% Notes Payable due 2035 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 400 |
Interest Rate (in hundredths) | Rate |  | 6.00% |
Total debt |  | $ 400 | 400
Parent Company | 4.95% Notes Payable due 2047 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 700 |
Interest Rate (in hundredths) | Rate |  | 4.95% |
Total debt |  | $ 689 | 689
Parent Company | 5.2% Notes Payable due 2048 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 1,000 |
Interest Rate (in hundredths) | Rate |  | 5.20% |
Total debt |  | $ 1,000 | 1,000
Parent Company | 4.45% Notes Payable due 2049 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 750 |
Interest Rate (in hundredths) | Rate |  | 4.45% |
Total debt |  | $ 653 | 673
Parent Company | 4.5% Notes Payable due 2050 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 500 |
Interest Rate (in hundredths) | Rate |  | 4.50% |
Total debt |  | $ 443 | 443
Parent Company | 7.15% Notes Payable due 2051 [Member] |  |  |
Debt Instrument [Line Items] |  |  |
Debt Instrument, Face Amount |  | $ 300 |
Interest Rate (in hundredths) | Rate |  | 7.15% |
Total debt |  | $ 300 | $ 300

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 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 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 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, 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 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
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=oke_A2.5BillionCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_LineOfCreditFacilityAxis=oke_VikingPipelineMember
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: | dei_LegalEntityAxis=oke_GuardianPipelineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | dei_LegalEntityAxis=oke_VikingPipelineMember
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_A5.0NotesPayabledue2023Member
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_A7.5NotesPayabledue2023Member
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_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: |