<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:c8fe394c-dd7d-44d2-a2da-50b842f7a70c,g:cd250706-2cab-423e-8380-6784efb674fe-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.oneok.com/role/DocumentandEntityInformation" xlink:type="simple" xlink:href="oke-20220930.xsd#DocumentandEntityInformation"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/DocumentandEntityInformation" xlink:type="extended" id="i4c3506c67e3a409fa8734c4b99a691cd_DocumentandEntityInformation">
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_76e0715f-19a8-412d-90c1-251cb3d78b56" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_DocumentType_76e0715f-19a8-412d-90c1-251cb3d78b56" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentQuarterlyReport_11ebd8e4-b2e4-411f-ac9f-22ad9475d0c9" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentQuarterlyReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_DocumentQuarterlyReport_11ebd8e4-b2e4-411f-ac9f-22ad9475d0c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_38a8acfa-b143-4c4a-a512-20691d824b66" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_DocumentPeriodEndDate_38a8acfa-b143-4c4a-a512-20691d824b66" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_105a99e9-59d3-4814-a2e6-5cd9035ab254" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_DocumentTransitionReport_105a99e9-59d3-4814-a2e6-5cd9035ab254" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_469b789d-6eab-4f04-92d4-ba9fe1a25716" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityFileNumber_469b789d-6eab-4f04-92d4-ba9fe1a25716" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_ccbd7c04-a3b4-4d25-bb14-61ca2a145d66" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityRegistrantName_ccbd7c04-a3b4-4d25-bb14-61ca2a145d66" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_a45d0148-9096-4ac6-8f1f-1f5233e158d6" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityIncorporationStateCountryCode_a45d0148-9096-4ac6-8f1f-1f5233e158d6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_4a2357fb-06b5-40f9-b956-275af2454380" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityTaxIdentificationNumber_4a2357fb-06b5-40f9-b956-275af2454380" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_c1366fd2-ab3a-4938-b946-ae0e85180c48" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityAddressAddressLine1_c1366fd2-ab3a-4938-b946-ae0e85180c48" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_7acf9965-ab88-49f6-855c-7114ebe42c41" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityAddressCityOrTown_7acf9965-ab88-49f6-855c-7114ebe42c41" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_ffc7831f-eacc-461b-bd1a-3a3afccdd988" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityAddressStateOrProvince_ffc7831f-eacc-461b-bd1a-3a3afccdd988" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_31930029-4b2e-4a0c-a1f3-c35d4a37ff14" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityAddressPostalZipCode_31930029-4b2e-4a0c-a1f3-c35d4a37ff14" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_2e0106b1-464b-4e0e-b6c8-4d55e962e682" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_CityAreaCode_2e0106b1-464b-4e0e-b6c8-4d55e962e682" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_fc0fc9bd-9bf9-40ca-bcce-267ea77fc6a1" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_LocalPhoneNumber_fc0fc9bd-9bf9-40ca-bcce-267ea77fc6a1" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_82f7afd4-dcdf-4313-a976-ac54c15b5ac3" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_Security12bTitle_82f7afd4-dcdf-4313-a976-ac54c15b5ac3" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_8b78322e-e3e6-483c-b495-62814ba1f7f9" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_TradingSymbol_8b78322e-e3e6-483c-b495-62814ba1f7f9" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_84ec7b86-1ef3-4662-a250-ea33a75895e2" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_SecurityExchangeName_84ec7b86-1ef3-4662-a250-ea33a75895e2" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_3b58ceab-a0a8-408e-8671-77155741f69f" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityCurrentReportingStatus_3b58ceab-a0a8-408e-8671-77155741f69f" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_fd73069e-11db-4dc7-9f2c-59b97b1d60fc" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityInteractiveDataCurrent_fd73069e-11db-4dc7-9f2c-59b97b1d60fc" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_3e0d5cfb-dcdb-41bc-96ee-1eb44b448cc5" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityFilerCategory_3e0d5cfb-dcdb-41bc-96ee-1eb44b448cc5" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_3e3ac31e-ce81-4032-8498-f4d0b280d727" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntitySmallBusiness_3e3ac31e-ce81-4032-8498-f4d0b280d727" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_bbc0a706-c6f9-4b4a-8973-8e0e25226049" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityEmergingGrowthCompany_bbc0a706-c6f9-4b4a-8973-8e0e25226049" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_bdc79386-6706-41c7-8902-6058150c8a10" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityShellCompany_bdc79386-6706-41c7-8902-6058150c8a10" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_bca0c192-6a74-4a0c-9a9c-d222ed77a66a" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_bca0c192-6a74-4a0c-9a9c-d222ed77a66a" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_03dfe1d2-ce27-4137-927e-a5d78dd337f7" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_DocumentInformationLineItems_cac5a424-0002-478d-b6a6-09107cb92efe" xlink:to="loc_dei_DocumentInformationTable_03dfe1d2-ce27-4137-927e-a5d78dd337f7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationDocumentAxis_a1ba452f-f7ff-454f-9ba5-d2f486e88cb5" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentInformationDocumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_DocumentInformationTable_03dfe1d2-ce27-4137-927e-a5d78dd337f7" xlink:to="loc_dei_DocumentInformationDocumentAxis_a1ba452f-f7ff-454f-9ba5-d2f486e88cb5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentDomain_a1ba452f-f7ff-454f-9ba5-d2f486e88cb5_default" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_DocumentInformationDocumentAxis_a1ba452f-f7ff-454f-9ba5-d2f486e88cb5" xlink:to="loc_dei_DocumentDomain_a1ba452f-f7ff-454f-9ba5-d2f486e88cb5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentDomain_d6cdc2c2-ea4b-4f80-991b-86b9838b72a3" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_DocumentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_DocumentInformationDocumentAxis_a1ba452f-f7ff-454f-9ba5-d2f486e88cb5" xlink:to="loc_dei_DocumentDomain_d6cdc2c2-ea4b-4f80-991b-86b9838b72a3" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="oke-20220930.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended" id="i8fdbe88e96c544ec9e0706d7c4012aef_CONSOLIDATEDSTATEMENTSOFINCOME">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_aa9bc6d3-8197-4e55-af78-d4c33f87bf47" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_c964fc12-319b-4c7a-9533-5d061ec63acb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_aa9bc6d3-8197-4e55-af78-d4c33f87bf47" xlink:to="loc_us-gaap_RevenuesAbstract_c964fc12-319b-4c7a-9533-5d061ec63acb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_c11d0afd-46e1-47e6-b725-2b2376a0c368" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_c964fc12-319b-4c7a-9533-5d061ec63acb" xlink:to="loc_us-gaap_Revenues_c11d0afd-46e1-47e6-b725-2b2376a0c368" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_7ed0ca20-cf45-4ab4-9b58-9178f2049172" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_c964fc12-319b-4c7a-9533-5d061ec63acb" xlink:to="loc_us-gaap_CostOfRevenue_7ed0ca20-cf45-4ab4-9b58-9178f2049172" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_248e03a5-c585-4e48-837d-cef438d7fb3d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_aa9bc6d3-8197-4e55-af78-d4c33f87bf47" xlink:to="loc_us-gaap_StatementTable_248e03a5-c585-4e48-837d-cef438d7fb3d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_e38a171d-d565-4624-8f81-99d8f530d311" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_248e03a5-c585-4e48-837d-cef438d7fb3d" xlink:to="loc_srt_ProductOrServiceAxis_e38a171d-d565-4624-8f81-99d8f530d311" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_e38a171d-d565-4624-8f81-99d8f530d311_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_e38a171d-d565-4624-8f81-99d8f530d311" xlink:to="loc_srt_ProductsAndServicesDomain_e38a171d-d565-4624-8f81-99d8f530d311_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_feb6a457-110c-41f4-a982-c8fe0fd82314" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_e38a171d-d565-4624-8f81-99d8f530d311" xlink:to="loc_srt_ProductsAndServicesDomain_feb6a457-110c-41f4-a982-c8fe0fd82314" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CommoditySalesMember_0d803f4f-578a-4890-88f2-c02ef52f9d0b" xlink:href="oke-20220930.xsd#oke_CommoditySalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_feb6a457-110c-41f4-a982-c8fe0fd82314" xlink:to="loc_oke_CommoditySalesMember_0d803f4f-578a-4890-88f2-c02ef52f9d0b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ServicesMember_5e2d7f13-5c90-44ea-a48b-514e00923cd1" xlink:href="oke-20220930.xsd#oke_ServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_feb6a457-110c-41f4-a982-c8fe0fd82314" xlink:to="loc_oke_ServicesMember_5e2d7f13-5c90-44ea-a48b-514e00923cd1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_9b6de85b-88c9-4d05-9a71-4ba6dbcb8df4" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_248e03a5-c585-4e48-837d-cef438d7fb3d" xlink:to="loc_srt_StatementScenarioAxis_9b6de85b-88c9-4d05-9a71-4ba6dbcb8df4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_9b6de85b-88c9-4d05-9a71-4ba6dbcb8df4_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_9b6de85b-88c9-4d05-9a71-4ba6dbcb8df4" xlink:to="loc_srt_ScenarioUnspecifiedDomain_9b6de85b-88c9-4d05-9a71-4ba6dbcb8df4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_55e18f5b-9646-498c-a416-cb05dd1fbd27" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_9b6de85b-88c9-4d05-9a71-4ba6dbcb8df4" xlink:to="loc_srt_ScenarioUnspecifiedDomain_55e18f5b-9646-498c-a416-cb05dd1fbd27" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="simple" xlink:href="oke-20220930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME" xlink:type="extended" id="i1d4c88df5a25491186f6d92aaba6450e_CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_803f4dac-794f-4958-91a2-5e03ba2fd19f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_7531848c-c8a4-40f9-a64b-737be0c3da31" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_803f4dac-794f-4958-91a2-5e03ba2fd19f" xlink:to="loc_us-gaap_ProfitLoss_7531848c-c8a4-40f9-a64b-737be0c3da31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_123b4a76-395b-45e2-b3e3-6df8fef5b8b7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_803f4dac-794f-4958-91a2-5e03ba2fd19f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_123b4a76-395b-45e2-b3e3-6df8fef5b8b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_851940de-e78a-4b74-ac96-ff13991ea7a4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_123b4a76-395b-45e2-b3e3-6df8fef5b8b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_851940de-e78a-4b74-ac96-ff13991ea7a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_e9fe62dd-3fa2-473e-843e-083088ad5eb1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_123b4a76-395b-45e2-b3e3-6df8fef5b8b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_e9fe62dd-3fa2-473e-843e-083088ad5eb1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_29d30a06-364c-4d85-a937-5f0aff424cc9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_123b4a76-395b-45e2-b3e3-6df8fef5b8b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_29d30a06-364c-4d85-a937-5f0aff424cc9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTax_2c12236e-bb62-487c-b807-464563585589" xlink:href="oke-20220930.xsd#oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_123b4a76-395b-45e2-b3e3-6df8fef5b8b7" xlink:to="loc_oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTax_2c12236e-bb62-487c-b807-464563585589" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_684cadc6-a03f-4e46-8a21-45fed1169acb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_123b4a76-395b-45e2-b3e3-6df8fef5b8b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_684cadc6-a03f-4e46-8a21-45fed1169acb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_172c76be-5258-4c1f-a69a-bc12bae70837" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_803f4dac-794f-4958-91a2-5e03ba2fd19f" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_172c76be-5258-4c1f-a69a-bc12bae70837" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_dd7f4222-e4a4-4394-9b87-339fc8d59fc6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_803f4dac-794f-4958-91a2-5e03ba2fd19f" xlink:to="loc_us-gaap_StatementTable_dd7f4222-e4a4-4394-9b87-339fc8d59fc6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_fd82ae87-d814-443c-b6cc-da002699b898" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_dd7f4222-e4a4-4394-9b87-339fc8d59fc6" xlink:to="loc_srt_StatementScenarioAxis_fd82ae87-d814-443c-b6cc-da002699b898" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_fd82ae87-d814-443c-b6cc-da002699b898_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_fd82ae87-d814-443c-b6cc-da002699b898" xlink:to="loc_srt_ScenarioUnspecifiedDomain_fd82ae87-d814-443c-b6cc-da002699b898_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_caa69aa7-7275-4b35-bd2e-1c102ca64600" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_fd82ae87-d814-443c-b6cc-da002699b898" xlink:to="loc_srt_ScenarioUnspecifiedDomain_caa69aa7-7275-4b35-bd2e-1c102ca64600" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMECONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEPARANTHETICAL" xlink:type="simple" xlink:href="oke-20220930.xsd#CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMECONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEPARANTHETICAL"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMECONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEPARANTHETICAL" xlink:type="extended" id="ia812c8d129d94e8ba204d99e9a92d56d_CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMECONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEPARANTHETICAL">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_27da5659-97a2-4b37-abc8-d2cca80c8a19" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax_d0f62884-e48f-4186-a2b3-4b75760b3c76" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_27da5659-97a2-4b37-abc8-d2cca80c8a19" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax_d0f62884-e48f-4186-a2b3-4b75760b3c76" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax_db7e8d12-078c-4ee7-8803-ff4b73ded46a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_27da5659-97a2-4b37-abc8-d2cca80c8a19" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax_db7e8d12-078c-4ee7-8803-ff4b73ded46a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax_04f4a147-3401-43ae-b0f0-033996d77125" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_27da5659-97a2-4b37-abc8-d2cca80c8a19" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansTax_04f4a147-3401-43ae-b0f0-033996d77125" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsTax_947d15de-29b4-494f-af57-d7ae61118d47" xlink:href="oke-20220930.xsd#oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_27da5659-97a2-4b37-abc8-d2cca80c8a19" xlink:to="loc_oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsTax_947d15de-29b4-494f-af57-d7ae61118d47" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_e6bca5fe-7edc-4128-ad5e-96b79445b277" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_27da5659-97a2-4b37-abc8-d2cca80c8a19" xlink:to="loc_us-gaap_StatementTable_e6bca5fe-7edc-4128-ad5e-96b79445b277" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="oke-20220930.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended" id="i6eaa17604e4c42999298011b1a23a67c_CONSOLIDATEDBALANCESHEETS">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_11cb0edd-c510-4cd3-9e4f-538120822f95" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_2329ceb2-ed52-4715-b816-4758cff8c7b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_11cb0edd-c510-4cd3-9e4f-538120822f95" xlink:to="loc_us-gaap_StatementTable_2329ceb2-ed52-4715-b816-4758cff8c7b9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_6d042614-676f-4c82-b16c-7562594925ab" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_2329ceb2-ed52-4715-b816-4758cff8c7b9" xlink:to="loc_srt_StatementScenarioAxis_6d042614-676f-4c82-b16c-7562594925ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_6d042614-676f-4c82-b16c-7562594925ab_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_6d042614-676f-4c82-b16c-7562594925ab" xlink:to="loc_srt_ScenarioUnspecifiedDomain_6d042614-676f-4c82-b16c-7562594925ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_e64884ab-c340-4ab6-8989-ac7bc77606c1" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_6d042614-676f-4c82-b16c-7562594925ab" xlink:to="loc_srt_ScenarioUnspecifiedDomain_e64884ab-c340-4ab6-8989-ac7bc77606c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_5d5c4a8c-6aa4-4f26-be71-25ca3a24c1f8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_2329ceb2-ed52-4715-b816-4758cff8c7b9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_5d5c4a8c-6aa4-4f26-be71-25ca3a24c1f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_5d5c4a8c-6aa4-4f26-be71-25ca3a24c1f8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5d5c4a8c-6aa4-4f26-be71-25ca3a24c1f8" xlink:to="loc_us-gaap_ClassOfStockDomain_5d5c4a8c-6aa4-4f26-be71-25ca3a24c1f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_59c62cb0-8024-4b25-9f68-24550caf27c9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5d5c4a8c-6aa4-4f26-be71-25ca3a24c1f8" xlink:to="loc_us-gaap_ClassOfStockDomain_59c62cb0-8024-4b25-9f68-24550caf27c9" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="oke-20220930.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended" id="ia906251670b044148e06fe1010edf7f6_CONSOLIDATEDBALANCESHEETSParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_7033fd18-d1db-4360-b3b0-158dca727b53" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_3300b726-9639-45c1-b455-d7353bc2c9ce" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7033fd18-d1db-4360-b3b0-158dca727b53" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_3300b726-9639-45c1-b455-d7353bc2c9ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_34b53e5c-f27a-4f2c-a9bc-7ee71e7a6466" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_3300b726-9639-45c1-b455-d7353bc2c9ce" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_34b53e5c-f27a-4f2c-a9bc-7ee71e7a6466" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PartnersCapitalAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_34b53e5c-f27a-4f2c-a9bc-7ee71e7a6466" xlink:to="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_d9917fed-b60a-4804-9ef0-4fb91d5f9726" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_d9917fed-b60a-4804-9ef0-4fb91d5f9726" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_1effcb77-e86c-43af-a8da-fd43b6f7fa76" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_1effcb77-e86c-43af-a8da-fd43b6f7fa76" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_cb631c3f-c9b0-4ed3-87fd-e49ee9acdde0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:to="loc_us-gaap_PreferredStockSharesIssued_cb631c3f-c9b0-4ed3-87fd-e49ee9acdde0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_2e9d0fb7-87db-4844-bf05-c32bec3961c0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_2e9d0fb7-87db-4844-bf05-c32bec3961c0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_ccabef40-7942-4c02-a710-40266a619bbb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_ccabef40-7942-4c02-a710-40266a619bbb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_630fc826-992e-43e2-ae10-ed158180e1a1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:to="loc_us-gaap_CommonStockSharesIssued_630fc826-992e-43e2-ae10-ed158180e1a1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_aca61beb-281c-40ea-a7ad-a3ddfe883af7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_aca61beb-281c-40ea-a7ad-a3ddfe883af7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockShares_79cdde63-e7e7-4a1d-aaf4-53b90336b827" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PartnersCapitalAbstract_53be91a9-5f4f-4e50-8ecb-2dbd58f89370" xlink:to="loc_us-gaap_TreasuryStockShares_79cdde63-e7e7-4a1d-aaf4-53b90336b827" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_d275193b-004c-4c13-965a-f42c8092b0c1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7033fd18-d1db-4360-b3b0-158dca727b53" xlink:to="loc_us-gaap_StatementTable_d275193b-004c-4c13-965a-f42c8092b0c1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_6a7c48f9-a534-4f23-b5e9-5fcff945dd2f" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_d275193b-004c-4c13-965a-f42c8092b0c1" xlink:to="loc_srt_StatementScenarioAxis_6a7c48f9-a534-4f23-b5e9-5fcff945dd2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_6a7c48f9-a534-4f23-b5e9-5fcff945dd2f_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_6a7c48f9-a534-4f23-b5e9-5fcff945dd2f" xlink:to="loc_srt_ScenarioUnspecifiedDomain_6a7c48f9-a534-4f23-b5e9-5fcff945dd2f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_b5e3b32b-bfde-4fb0-9955-48f41db2869a" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_6a7c48f9-a534-4f23-b5e9-5fcff945dd2f" xlink:to="loc_srt_ScenarioUnspecifiedDomain_b5e3b32b-bfde-4fb0-9955-48f41db2869a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2f2c7ef8-205c-4691-b453-4f92e4075712" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_d275193b-004c-4c13-965a-f42c8092b0c1" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2f2c7ef8-205c-4691-b453-4f92e4075712" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_2f2c7ef8-205c-4691-b453-4f92e4075712_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2f2c7ef8-205c-4691-b453-4f92e4075712" xlink:to="loc_us-gaap_ClassOfStockDomain_2f2c7ef8-205c-4691-b453-4f92e4075712_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_64bdc26c-0db9-4a34-a71c-2d7fe4645f0d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2f2c7ef8-205c-4691-b453-4f92e4075712" xlink:to="loc_us-gaap_ClassOfStockDomain_64bdc26c-0db9-4a34-a71c-2d7fe4645f0d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="oke-20220930.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended" id="i8a7ea55871b8453eb7a4028a3ff30c37_CONSOLIDATEDSTATEMENTSOFCASHFLOWS">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_2c56eb8f-c455-4962-8673-de2cfae2c5e1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_0ab3cddd-42f8-43c4-b7c8-c16f61671432" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2c56eb8f-c455-4962-8673-de2cfae2c5e1" xlink:to="loc_us-gaap_StatementTable_0ab3cddd-42f8-43c4-b7c8-c16f61671432" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_8377e460-f928-47bc-a33f-4fb0bdf04a58" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_0ab3cddd-42f8-43c4-b7c8-c16f61671432" xlink:to="loc_srt_StatementScenarioAxis_8377e460-f928-47bc-a33f-4fb0bdf04a58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_8377e460-f928-47bc-a33f-4fb0bdf04a58_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_8377e460-f928-47bc-a33f-4fb0bdf04a58" xlink:to="loc_srt_ScenarioUnspecifiedDomain_8377e460-f928-47bc-a33f-4fb0bdf04a58_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_10262141-7ff4-4c8f-9411-de6722004df7" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_8377e460-f928-47bc-a33f-4fb0bdf04a58" xlink:to="loc_srt_ScenarioUnspecifiedDomain_10262141-7ff4-4c8f-9411-de6722004df7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINEQUITY" xlink:type="simple" xlink:href="oke-20220930.xsd#CONSOLIDATEDSTATEMENTOFCHANGESINEQUITY"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/CONSOLIDATEDSTATEMENTOFCHANGESINEQUITY" xlink:type="extended" id="i70df7c1dcebf4ca0b728af7e4f3bc521_CONSOLIDATEDSTATEMENTOFCHANGESINEQUITY">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_88871fec-4d99-4458-b78a-45b3ac79a567" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_SharesIssued_88871fec-4d99-4458-b78a-45b3ac79a567" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_bf5f4018-e059-486d-b07f-7a60a9a94da6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_StockholdersEquity_bf5f4018-e059-486d-b07f-7a60a9a94da6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_8cab58d8-dfa6-4f47-83f8-9d784be1d248" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_ProfitLoss_8cab58d8-dfa6-4f47-83f8-9d784be1d248" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_a1b0fcf6-8a6a-421f-baef-177153b2878d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_a1b0fcf6-8a6a-421f-baef-177153b2878d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStock_725e1dc1-2fb2-4415-9f6c-cb999ae32ce4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_DividendsPreferredStock_725e1dc1-2fb2-4415-9f6c-cb999ae32ce4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesOther_805bff1f-0694-4f90-bfcf-352a929dccfe" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesOther_805bff1f-0694-4f90-bfcf-352a929dccfe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueOther_40d5fdbd-d925-46f5-9ce7-ad8b52d56a9d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueOther_40d5fdbd-d925-46f5-9ce7-ad8b52d56a9d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStock_8f84074a-d23f-4057-ac29-418d06d98ef7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_DividendsCommonStock_8f84074a-d23f-4057-ac29-418d06d98ef7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityOther_95798142-2876-4158-8702-41f65d1ca271" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_StockholdersEquityOther_95798142-2876-4158-8702-41f65d1ca271" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_d735130f-98bb-4dd1-88ee-b13645c24b6e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_ccf5b176-f96d-4935-8eee-0dd8ecc2d96e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_abbc12a4-1787-4bbf-a949-142d91d5b99a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_ba1d4fab-0dbb-4939-828f-ce10596f0da1" xlink:to="loc_us-gaap_StatementTable_abbc12a4-1787-4bbf-a949-142d91d5b99a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_170c86d4-df43-47cf-8db9-09e27532002f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_abbc12a4-1787-4bbf-a949-142d91d5b99a" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_170c86d4-df43-47cf-8db9-09e27532002f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_170c86d4-df43-47cf-8db9-09e27532002f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_170c86d4-df43-47cf-8db9-09e27532002f" xlink:to="loc_us-gaap_EquityComponentDomain_170c86d4-df43-47cf-8db9-09e27532002f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_4192cee4-8a6a-4f14-b4dc-6a1908f3a99b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_170c86d4-df43-47cf-8db9-09e27532002f" xlink:to="loc_us-gaap_EquityComponentDomain_4192cee4-8a6a-4f14-b4dc-6a1908f3a99b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_86b99f00-5b01-4d73-afc9-32b610ac243f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4192cee4-8a6a-4f14-b4dc-6a1908f3a99b" xlink:to="loc_us-gaap_PreferredStockMember_86b99f00-5b01-4d73-afc9-32b610ac243f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_b6c1e9fe-6d91-4393-a80c-49b853279c40" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4192cee4-8a6a-4f14-b4dc-6a1908f3a99b" xlink:to="loc_us-gaap_CommonStockMember_b6c1e9fe-6d91-4393-a80c-49b853279c40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_fcd1e2af-38c0-4b24-969d-98c6b1a95993" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4192cee4-8a6a-4f14-b4dc-6a1908f3a99b" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_fcd1e2af-38c0-4b24-969d-98c6b1a95993" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_c182d5b9-190c-4cff-97c7-bdee840174d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4192cee4-8a6a-4f14-b4dc-6a1908f3a99b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_c182d5b9-190c-4cff-97c7-bdee840174d6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_cf88ee61-9690-4e8f-9f35-2d7c4f80aa30" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4192cee4-8a6a-4f14-b4dc-6a1908f3a99b" xlink:to="loc_us-gaap_RetainedEarningsMember_cf88ee61-9690-4e8f-9f35-2d7c4f80aa30" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockMember_b7866692-d1e3-4d39-9ab8-d85ea3929e57" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_4192cee4-8a6a-4f14-b4dc-6a1908f3a99b" xlink:to="loc_us-gaap_TreasuryStockMember_b7866692-d1e3-4d39-9ab8-d85ea3929e57" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSNotes" xlink:type="simple" xlink:href="oke-20220930.xsd#ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSNotes"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSNotes" xlink:type="extended" id="ic56e0685be714d6b8813f999425456e1_ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSNotes">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_35ab3f27-5014-4fe1-9e09-5de54420b921" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNoteTextBlock_c55e7d72-3967-44d8-a338-19c60ab4d554" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ComprehensiveIncomeNoteTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_35ab3f27-5014-4fe1-9e09-5de54420b921" xlink:to="loc_us-gaap_ComprehensiveIncomeNoteTextBlock_c55e7d72-3967-44d8-a338-19c60ab4d554" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_5e3afb5e-0c3f-4ce6-b0fd-bd4a50e4f51b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_35ab3f27-5014-4fe1-9e09-5de54420b921" xlink:to="loc_us-gaap_StatementTable_5e3afb5e-0c3f-4ce6-b0fd-bd4a50e4f51b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_8e48518b-0dae-4ab0-b411-90fc1ae730b2" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5e3afb5e-0c3f-4ce6-b0fd-bd4a50e4f51b" xlink:to="loc_srt_StatementScenarioAxis_8e48518b-0dae-4ab0-b411-90fc1ae730b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_8e48518b-0dae-4ab0-b411-90fc1ae730b2_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_8e48518b-0dae-4ab0-b411-90fc1ae730b2" xlink:to="loc_srt_ScenarioUnspecifiedDomain_8e48518b-0dae-4ab0-b411-90fc1ae730b2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_18649242-4a09-470e-a12d-4158bd7505ac" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_8e48518b-0dae-4ab0-b411-90fc1ae730b2" xlink:to="loc_srt_ScenarioUnspecifiedDomain_18649242-4a09-470e-a12d-4158bd7505ac" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/DEBTDEBTTables" xlink:type="simple" xlink:href="oke-20220930.xsd#DEBTDEBTTables"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/DEBTDEBTTables" xlink:type="extended" id="icfcfa8e8354a423595044036a0a59820_DEBTDEBTTables">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_0b45c405-fdc2-4ebb-84d9-a4e548533c02" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDebtTableTextBlock_0e01c141-4d2e-4487-9bd9-e6a7e32bfa89" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfDebtTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0b45c405-fdc2-4ebb-84d9-a4e548533c02" xlink:to="loc_us-gaap_ScheduleOfDebtTableTextBlock_0e01c141-4d2e-4487-9bd9-e6a7e32bfa89" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_2f249cd1-785a-405c-9cb4-3001353b2666" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_0b45c405-fdc2-4ebb-84d9-a4e548533c02" xlink:to="loc_us-gaap_DebtInstrumentTable_2f249cd1-785a-405c-9cb4-3001353b2666" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_42f483a9-c71c-4d41-8f44-eca03794e14f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2f249cd1-785a-405c-9cb4-3001353b2666" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_42f483a9-c71c-4d41-8f44-eca03794e14f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_42f483a9-c71c-4d41-8f44-eca03794e14f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_42f483a9-c71c-4d41-8f44-eca03794e14f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_42f483a9-c71c-4d41-8f44-eca03794e14f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_2f7f7d15-5a93-4928-add9-579bb261c2ed" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_42f483a9-c71c-4d41-8f44-eca03794e14f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_2f7f7d15-5a93-4928-add9-579bb261c2ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_315ca7b3-cbb1-4a8e-8673-eb7a3239b69a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2f249cd1-785a-405c-9cb4-3001353b2666" xlink:to="loc_us-gaap_DebtInstrumentAxis_315ca7b3-cbb1-4a8e-8673-eb7a3239b69a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_315ca7b3-cbb1-4a8e-8673-eb7a3239b69a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_315ca7b3-cbb1-4a8e-8673-eb7a3239b69a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_315ca7b3-cbb1-4a8e-8673-eb7a3239b69a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_652f84a3-786c-47e6-b7d1-baddfa6a9eae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_315ca7b3-cbb1-4a8e-8673-eb7a3239b69a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_652f84a3-786c-47e6-b7d1-baddfa6a9eae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_9d20c7f2-49b9-4a36-99ea-9cb1aff5ec3d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2f249cd1-785a-405c-9cb4-3001353b2666" xlink:to="loc_us-gaap_VariableRateAxis_9d20c7f2-49b9-4a36-99ea-9cb1aff5ec3d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_9d20c7f2-49b9-4a36-99ea-9cb1aff5ec3d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_9d20c7f2-49b9-4a36-99ea-9cb1aff5ec3d" xlink:to="loc_us-gaap_VariableRateDomain_9d20c7f2-49b9-4a36-99ea-9cb1aff5ec3d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_58a352f7-c1e7-4d6c-ad21-b720315eca20" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_9d20c7f2-49b9-4a36-99ea-9cb1aff5ec3d" xlink:to="loc_us-gaap_VariableRateDomain_58a352f7-c1e7-4d6c-ad21-b720315eca20" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_31223bcd-71a5-486f-bb6f-a38252acf162" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_2f249cd1-785a-405c-9cb4-3001353b2666" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_31223bcd-71a5-486f-bb6f-a38252acf162" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_31223bcd-71a5-486f-bb6f-a38252acf162_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_31223bcd-71a5-486f-bb6f-a38252acf162" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_31223bcd-71a5-486f-bb6f-a38252acf162_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_69b02d03-e918-4ad1-9f61-04dde0ad744b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_31223bcd-71a5-486f-bb6f-a38252acf162" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_69b02d03-e918-4ad1-9f61-04dde0ad744b" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSTables" xlink:type="simple" xlink:href="oke-20220930.xsd#ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSTables"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSTables" xlink:type="extended" id="iad7301267d5941758d386a5db69dd9cd_ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSTables">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_210c794f-e25b-4f57-8f37-1fff68aeb7ac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_6859ab70-1d77-4eeb-8c94-9933a9fbb04f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_210c794f-e25b-4f57-8f37-1fff68aeb7ac" xlink:to="loc_us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock_6859ab70-1d77-4eeb-8c94-9933a9fbb04f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ScheduleofAccumulatedOtherComprehensiveIncomeLossforRiskManagementAssetsLiabilitiesTableTextBlock_4e9dc889-fcc9-4d88-85dd-5f9409933d00" xlink:href="oke-20220930.xsd#oke_ScheduleofAccumulatedOtherComprehensiveIncomeLossforRiskManagementAssetsLiabilitiesTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_210c794f-e25b-4f57-8f37-1fff68aeb7ac" xlink:to="loc_oke_ScheduleofAccumulatedOtherComprehensiveIncomeLossforRiskManagementAssetsLiabilitiesTableTextBlock_4e9dc889-fcc9-4d88-85dd-5f9409933d00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_4dfb834a-33ca-4dc7-81e8-29ec0e1b8e3c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_210c794f-e25b-4f57-8f37-1fff68aeb7ac" xlink:to="loc_us-gaap_StatementTable_4dfb834a-33ca-4dc7-81e8-29ec0e1b8e3c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_888e81da-376e-499a-a931-168089d915ea" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_4dfb834a-33ca-4dc7-81e8-29ec0e1b8e3c" xlink:to="loc_srt_StatementScenarioAxis_888e81da-376e-499a-a931-168089d915ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_888e81da-376e-499a-a931-168089d915ea_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_888e81da-376e-499a-a931-168089d915ea" xlink:to="loc_srt_ScenarioUnspecifiedDomain_888e81da-376e-499a-a931-168089d915ea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_78f75ce2-7069-4143-ba49-4cc3f50e0153" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_888e81da-376e-499a-a931-168089d915ea" xlink:to="loc_srt_ScenarioUnspecifiedDomain_78f75ce2-7069-4143-ba49-4cc3f50e0153" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESTables" xlink:type="simple" xlink:href="oke-20220930.xsd#UNCONSOLIDATEDAFFILIATESTables"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESTables" xlink:type="extended" id="i22a11dc9aa4247a4b917110265ffe93e_UNCONSOLIDATEDAFFILIATESTables">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_bb4e3e4d-8784-43dc-b8de-3699ec892957" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentsTextBlock_60e5ccfc-aa77-4cce-af95-7c34159700c9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityMethodInvestmentsTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_bb4e3e4d-8784-43dc-b8de-3699ec892957" xlink:to="loc_us-gaap_EquityMethodInvestmentsTextBlock_60e5ccfc-aa77-4cce-af95-7c34159700c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_a7262b22-3001-4e89-a146-f3a0938b2d38" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_bb4e3e4d-8784-43dc-b8de-3699ec892957" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_a7262b22-3001-4e89-a146-f3a0938b2d38" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_d66e7f2f-2761-46da-8513-bf4591272ecb" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_a7262b22-3001-4e89-a146-f3a0938b2d38" xlink:to="loc_srt_StatementScenarioAxis_d66e7f2f-2761-46da-8513-bf4591272ecb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_d66e7f2f-2761-46da-8513-bf4591272ecb_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_d66e7f2f-2761-46da-8513-bf4591272ecb" xlink:to="loc_srt_ScenarioUnspecifiedDomain_d66e7f2f-2761-46da-8513-bf4591272ecb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_276876ba-bc41-46a9-9296-3e6166454ab2" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_d66e7f2f-2761-46da-8513-bf4591272ecb" xlink:to="loc_srt_ScenarioUnspecifiedDomain_276876ba-bc41-46a9-9296-3e6166454ab2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_EquityInNetEarningsFromInvestmentsMember_a1d5796f-b0de-4c14-9457-6bc39fc66090" xlink:href="oke-20220930.xsd#oke_EquityInNetEarningsFromInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_276876ba-bc41-46a9-9296-3e6166454ab2" xlink:to="loc_oke_EquityInNetEarningsFromInvestmentsMember_a1d5796f-b0de-4c14-9457-6bc39fc66090" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails" xlink:type="extended" id="if0a706d2632240c39ae459b7d7f8d1d0_SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceSettlementsReceivable_46f7e610-05dd-433b-ace4-57caf311891e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InsuranceSettlementsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_us-gaap_InsuranceSettlementsReceivable_46f7e610-05dd-433b-ace4-57caf311891e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MaximumInsuranceRecoverableAmount_1fa7bf75-0aaf-4f97-b912-6b47fea34efe" xlink:href="oke-20220930.xsd#oke_MaximumInsuranceRecoverableAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_oke_MaximumInsuranceRecoverableAmount_1fa7bf75-0aaf-4f97-b912-6b47fea34efe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_InsuranceDeductibles_e6719c9e-cb1e-43d0-baaf-776c8f50529a" xlink:href="oke-20220930.xsd#oke_InsuranceDeductibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_oke_InsuranceDeductibles_e6719c9e-cb1e-43d0-baaf-776c8f50529a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DurationOfWaitingPeriodBeforeBusinessInterruptionCoverageBegins_abbd0072-93fc-42fe-9c5d-72cd40e06b74" xlink:href="oke-20220930.xsd#oke_DurationOfWaitingPeriodBeforeBusinessInterruptionCoverageBegins"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_oke_DurationOfWaitingPeriodBeforeBusinessInterruptionCoverageBegins_abbd0072-93fc-42fe-9c5d-72cd40e06b74" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_InsuranceRecoveriesReceived_cd366912-e907-4f6b-9ff2-699c82df197b" xlink:href="oke-20220930.xsd#oke_InsuranceRecoveriesReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_oke_InsuranceRecoveriesReceived_cd366912-e907-4f6b-9ff2-699c82df197b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyReceivable_8032a6ce-f1db-4c79-9dcc-cda994b93c75" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingencyReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_us-gaap_LossContingencyReceivable_8032a6ce-f1db-4c79-9dcc-cda994b93c75" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceRecoveries_9809159c-9cf4-4ad0-9d46-22c103ca1189" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InsuranceRecoveries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_us-gaap_InsuranceRecoveries_9809159c-9cf4-4ad0-9d46-22c103ca1189" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_3821be8a-6775-43a2-9c74-fca0faaf3034" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_us-gaap_AssetImpairmentCharges_3821be8a-6775-43a2-9c74-fca0faaf3034" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_8ab971e9-7535-4a70-b38e-c710b1937071" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_666cfaed-88fb-453f-99bf-9c1a0e6972b9" xlink:to="loc_us-gaap_StatementTable_8ab971e9-7535-4a70-b38e-c710b1937071" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasLiquidsAxis_230e05c3-88fe-4aeb-98ff-81a300ee107c" xlink:href="oke-20220930.xsd#oke_NaturalGasLiquidsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8ab971e9-7535-4a70-b38e-c710b1937071" xlink:to="loc_oke_NaturalGasLiquidsAxis_230e05c3-88fe-4aeb-98ff-81a300ee107c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasLiquidsDomain_230e05c3-88fe-4aeb-98ff-81a300ee107c_default" xlink:href="oke-20220930.xsd#oke_NaturalGasLiquidsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_NaturalGasLiquidsAxis_230e05c3-88fe-4aeb-98ff-81a300ee107c" xlink:to="loc_oke_NaturalGasLiquidsDomain_230e05c3-88fe-4aeb-98ff-81a300ee107c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasLiquidsDomain_cdfc4423-5c02-4ca8-bdde-145294697b6c" xlink:href="oke-20220930.xsd#oke_NaturalGasLiquidsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_NaturalGasLiquidsAxis_230e05c3-88fe-4aeb-98ff-81a300ee107c" xlink:to="loc_oke_NaturalGasLiquidsDomain_cdfc4423-5c02-4ca8-bdde-145294697b6c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MedfordIncidentMember_823a4d18-be92-4281-8c76-5fc4c07c2ca2" xlink:href="oke-20220930.xsd#oke_MedfordIncidentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_NaturalGasLiquidsDomain_cdfc4423-5c02-4ca8-bdde-145294697b6c" xlink:to="loc_oke_MedfordIncidentMember_823a4d18-be92-4281-8c76-5fc4c07c2ca2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MedfordIncidentAxis_5fa0eba9-6413-4d6e-86b9-066716bb2e30" xlink:href="oke-20220930.xsd#oke_MedfordIncidentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8ab971e9-7535-4a70-b38e-c710b1937071" xlink:to="loc_oke_MedfordIncidentAxis_5fa0eba9-6413-4d6e-86b9-066716bb2e30" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MedfordIncidentDomain_5fa0eba9-6413-4d6e-86b9-066716bb2e30_default" xlink:href="oke-20220930.xsd#oke_MedfordIncidentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_MedfordIncidentAxis_5fa0eba9-6413-4d6e-86b9-066716bb2e30" xlink:to="loc_oke_MedfordIncidentDomain_5fa0eba9-6413-4d6e-86b9-066716bb2e30_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MedfordIncidentDomain_32563c71-a154-47c9-90f0-79878149ba79" xlink:href="oke-20220930.xsd#oke_MedfordIncidentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_MedfordIncidentAxis_5fa0eba9-6413-4d6e-86b9-066716bb2e30" xlink:to="loc_oke_MedfordIncidentDomain_32563c71-a154-47c9-90f0-79878149ba79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_PropertyDamageAndBusinessInterruptionMember_ba8b7cb6-89ae-417f-b0fc-d9778bea9941" xlink:href="oke-20220930.xsd#oke_PropertyDamageAndBusinessInterruptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_MedfordIncidentDomain_32563c71-a154-47c9-90f0-79878149ba79" xlink:to="loc_oke_PropertyDamageAndBusinessInterruptionMember_ba8b7cb6-89ae-417f-b0fc-d9778bea9941" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_PropertyDamageMember_efa29796-139e-4c73-820d-bda8cc4c226f" xlink:href="oke-20220930.xsd#oke_PropertyDamageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_MedfordIncidentDomain_32563c71-a154-47c9-90f0-79878149ba79" xlink:to="loc_oke_PropertyDamageMember_efa29796-139e-4c73-820d-bda8cc4c226f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_BusinessInterruptionMember_041d763d-b4a3-4d41-99b5-af9064546028" xlink:href="oke-20220930.xsd#oke_BusinessInterruptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_MedfordIncidentDomain_32563c71-a154-47c9-90f0-79878149ba79" xlink:to="loc_oke_BusinessInterruptionMember_041d763d-b4a3-4d41-99b5-af9064546028" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_InsuranceRecoveriesMember_6eff7ab5-5aa7-4119-84ac-411100ec3a89" xlink:href="oke-20220930.xsd#oke_InsuranceRecoveriesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_MedfordIncidentDomain_32563c71-a154-47c9-90f0-79878149ba79" xlink:to="loc_oke_InsuranceRecoveriesMember_6eff7ab5-5aa7-4119-84ac-411100ec3a89" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReceivablesRelatedToIncurredCostsAndLossesAxis_5e60f66a-5974-4633-8aa3-6ab2b0e0515c" xlink:href="oke-20220930.xsd#oke_ReceivablesRelatedToIncurredCostsAndLossesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8ab971e9-7535-4a70-b38e-c710b1937071" xlink:to="loc_oke_ReceivablesRelatedToIncurredCostsAndLossesAxis_5e60f66a-5974-4633-8aa3-6ab2b0e0515c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReceivablesRelatedToThirdPartyFractionationCostsDomain_5e60f66a-5974-4633-8aa3-6ab2b0e0515c_default" xlink:href="oke-20220930.xsd#oke_ReceivablesRelatedToThirdPartyFractionationCostsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_ReceivablesRelatedToIncurredCostsAndLossesAxis_5e60f66a-5974-4633-8aa3-6ab2b0e0515c" xlink:to="loc_oke_ReceivablesRelatedToThirdPartyFractionationCostsDomain_5e60f66a-5974-4633-8aa3-6ab2b0e0515c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReceivablesRelatedToThirdPartyFractionationCostsDomain_52301a92-0e19-4cba-9115-92079104398b" xlink:href="oke-20220930.xsd#oke_ReceivablesRelatedToThirdPartyFractionationCostsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_ReceivablesRelatedToIncurredCostsAndLossesAxis_5e60f66a-5974-4633-8aa3-6ab2b0e0515c" xlink:to="loc_oke_ReceivablesRelatedToThirdPartyFractionationCostsDomain_52301a92-0e19-4cba-9115-92079104398b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_BusinessInterruptionInsuranceMember_ff37ebfc-7217-4744-b3f8-b2530b9ccf61" xlink:href="oke-20220930.xsd#oke_BusinessInterruptionInsuranceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_ReceivablesRelatedToThirdPartyFractionationCostsDomain_52301a92-0e19-4cba-9115-92079104398b" xlink:to="loc_oke_BusinessInterruptionInsuranceMember_ff37ebfc-7217-4744-b3f8-b2530b9ccf61" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReceivablesRelatedToIncurredCostsAndLossesDomain_ef764eef-1d12-45a7-8d54-6d6c059d7ade" xlink:href="oke-20220930.xsd#oke_ReceivablesRelatedToIncurredCostsAndLossesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_ReceivablesRelatedToIncurredCostsAndLossesAxis_5e60f66a-5974-4633-8aa3-6ab2b0e0515c" xlink:to="loc_oke_ReceivablesRelatedToIncurredCostsAndLossesDomain_ef764eef-1d12-45a7-8d54-6d6c059d7ade" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_BusinessInterruptionMember_8f85f977-1be7-4aea-8b4c-12f227b3ac97" xlink:href="oke-20220930.xsd#oke_BusinessInterruptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_ReceivablesRelatedToIncurredCostsAndLossesDomain_ef764eef-1d12-45a7-8d54-6d6c059d7ade" xlink:to="loc_oke_BusinessInterruptionMember_8f85f977-1be7-4aea-8b4c-12f227b3ac97" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_dfb05f5e-390a-4a88-9d68-8715cc815419" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8ab971e9-7535-4a70-b38e-c710b1937071" xlink:to="loc_srt_ProductOrServiceAxis_dfb05f5e-390a-4a88-9d68-8715cc815419" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_dfb05f5e-390a-4a88-9d68-8715cc815419_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_dfb05f5e-390a-4a88-9d68-8715cc815419" xlink:to="loc_srt_ProductsAndServicesDomain_dfb05f5e-390a-4a88-9d68-8715cc815419_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_4aef3023-5bb3-4684-8d25-e4ec23f30128" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_dfb05f5e-390a-4a88-9d68-8715cc815419" xlink:to="loc_srt_ProductsAndServicesDomain_4aef3023-5bb3-4684-8d25-e4ec23f30128" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CommoditySalesMember_dac80fa5-fa91-45ee-8217-df77b5d32ff7" xlink:href="oke-20220930.xsd#oke_CommoditySalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_4aef3023-5bb3-4684-8d25-e4ec23f30128" xlink:to="loc_oke_CommoditySalesMember_dac80fa5-fa91-45ee-8217-df77b5d32ff7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ServicesMember_c7d645da-e4ab-4077-8684-8cd789aed50c" xlink:href="oke-20220930.xsd#oke_ServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_4aef3023-5bb3-4684-8d25-e4ec23f30128" xlink:to="loc_oke_ServicesMember_c7d645da-e4ab-4077-8684-8cd789aed50c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CostOfSalesAndFuelAxis_f6c64933-2b34-409c-b424-17cc52493857" xlink:href="oke-20220930.xsd#oke_CostOfSalesAndFuelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8ab971e9-7535-4a70-b38e-c710b1937071" xlink:to="loc_oke_CostOfSalesAndFuelAxis_f6c64933-2b34-409c-b424-17cc52493857" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CostOfSalesAndFuelDomain_f6c64933-2b34-409c-b424-17cc52493857_default" xlink:href="oke-20220930.xsd#oke_CostOfSalesAndFuelDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_CostOfSalesAndFuelAxis_f6c64933-2b34-409c-b424-17cc52493857" xlink:to="loc_oke_CostOfSalesAndFuelDomain_f6c64933-2b34-409c-b424-17cc52493857_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CostOfSalesAndFuelDomain_70a77eb4-9884-4434-8849-9a743fe58757" xlink:href="oke-20220930.xsd#oke_CostOfSalesAndFuelDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_CostOfSalesAndFuelAxis_f6c64933-2b34-409c-b424-17cc52493857" xlink:to="loc_oke_CostOfSalesAndFuelDomain_70a77eb4-9884-4434-8849-9a743fe58757" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_3adfe08a-23c4-410d-b49b-ffbbce8edf22" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_CostOfSalesAndFuelDomain_70a77eb4-9884-4434-8849-9a743fe58757" xlink:to="loc_us-gaap_CostOfSalesMember_3adfe08a-23c4-410d-b49b-ffbbce8edf22" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/FAIRVALUEMEASUREMENTSPart1Details" xlink:type="simple" xlink:href="oke-20220930.xsd#FAIRVALUEMEASUREMENTSPart1Details"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/FAIRVALUEMEASUREMENTSPart1Details" xlink:type="extended" id="i6bdbd45ac92449a09de2a313747c15d1_FAIRVALUEMEASUREMENTSPart1Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_e69d0127-9182-4065-929a-62a998f75a43" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_e69d0127-9182-4065-929a-62a998f75a43" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativeCollateralRighttoReclaimCashTotal_256f612b-3b92-461f-acb7-68509320fd13" xlink:href="oke-20220930.xsd#oke_DerivativeCollateralRighttoReclaimCashTotal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_oke_DerivativeCollateralRighttoReclaimCashTotal_256f612b-3b92-461f-acb7-68509320fd13" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_f41fdad4-bbf2-4618-910e-833ee0c1817f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_f41fdad4-bbf2-4618-910e-833ee0c1817f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimCash_6af2e697-32a1-42f4-ba96-6b334f7f7602" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeCollateralRightToReclaimCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_us-gaap_DerivativeCollateralRightToReclaimCash_6af2e697-32a1-42f4-ba96-6b334f7f7602" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_0b25d028-c8b2-4185-960c-7767f3ce1349" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_us-gaap_LongTermDebtFairValue_0b25d028-c8b2-4185-960c-7767f3ce1349" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_58f8d9e8-85f0-4b7c-9d31-1dd439505844" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_us-gaap_LongTermDebt_58f8d9e8-85f0-4b7c-9d31-1dd439505844" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_20a29a2d-f55d-4a72-8ed5-07a88ca7fe4e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_us-gaap_AssetsAbstract_20a29a2d-f55d-4a72-8ed5-07a88ca7fe4e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedPhysicalCommoditiesAtFairValue_fc21ae82-efee-4dfd-9bdf-90d3a2e8fbde" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinancialInstrumentsOwnedPhysicalCommoditiesAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_20a29a2d-f55d-4a72-8ed5-07a88ca7fe4e" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedPhysicalCommoditiesAtFairValue_fc21ae82-efee-4dfd-9bdf-90d3a2e8fbde" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_65ad545c-f058-4d13-886f-f1798bc9503a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateDerivativeAssetsAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_20a29a2d-f55d-4a72-8ed5-07a88ca7fe4e" xlink:to="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_65ad545c-f058-4d13-886f-f1798bc9503a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_32e369f1-3d2e-4d90-842a-b47f2d07842a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_20a29a2d-f55d-4a72-8ed5-07a88ca7fe4e" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_32e369f1-3d2e-4d90-842a-b47f2d07842a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_ce973daf-784d-4287-a66f-4f4a1490d1f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_20a29a2d-f55d-4a72-8ed5-07a88ca7fe4e" xlink:to="loc_us-gaap_DerivativeAssets_ce973daf-784d-4287-a66f-4f4a1490d1f0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_c493fe74-aa8b-41ca-b71a-196f56a3251f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_20a29a2d-f55d-4a72-8ed5-07a88ca7fe4e" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiabilityAndObligationToReturnCashOffset_c493fe74-aa8b-41ca-b71a-196f56a3251f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_fd0b9677-8934-4748-94ff-e8fd969fc66c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_us-gaap_LiabilitiesAbstract_fd0b9677-8934-4748-94ff-e8fd969fc66c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateDerivativeLiabilitiesAtFairValue_bf9ca76d-4b85-4d94-b9f4-403d45a92c01" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateDerivativeLiabilitiesAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fd0b9677-8934-4748-94ff-e8fd969fc66c" xlink:to="loc_us-gaap_InterestRateDerivativeLiabilitiesAtFairValue_bf9ca76d-4b85-4d94-b9f4-403d45a92c01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_134382bf-3552-4b07-aa53-201378933bde" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fd0b9677-8934-4748-94ff-e8fd969fc66c" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_134382bf-3552-4b07-aa53-201378933bde" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_8973c0ee-b7bd-42fd-8fb7-476a57348256" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fd0b9677-8934-4748-94ff-e8fd969fc66c" xlink:to="loc_us-gaap_DerivativeLiabilities_8973c0ee-b7bd-42fd-8fb7-476a57348256" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_e7886206-110b-4f69-859a-77fd3534b9a4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_fd0b9677-8934-4748-94ff-e8fd969fc66c" xlink:to="loc_us-gaap_DerivativeLiabilityFairValueGrossAssetAndRightToReclaimCashOffset_e7886206-110b-4f69-859a-77fd3534b9a4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88c86b90-f776-49f5-8670-e5acd623c978" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_0bc09d44-acbc-40fe-8a3e-651f909b2b25" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88c86b90-f776-49f5-8670-e5acd623c978" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0ed82931-f8f9-445e-a09c-1aeeee9ee4f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88c86b90-f776-49f5-8670-e5acd623c978" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0ed82931-f8f9-445e-a09c-1aeeee9ee4f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_0ed82931-f8f9-445e-a09c-1aeeee9ee4f6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0ed82931-f8f9-445e-a09c-1aeeee9ee4f6" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_0ed82931-f8f9-445e-a09c-1aeeee9ee4f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7aefe49d-9b23-4f0a-91bf-a0b4a2d46ac4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_0ed82931-f8f9-445e-a09c-1aeeee9ee4f6" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7aefe49d-9b23-4f0a-91bf-a0b4a2d46ac4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_4d268dcc-5ada-4f9e-b592-5f1cc3e9ca1f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_7aefe49d-9b23-4f0a-91bf-a0b4a2d46ac4" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_4d268dcc-5ada-4f9e-b592-5f1cc3e9ca1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_0a4d4b19-69bd-467b-93e4-fdb086437639" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88c86b90-f776-49f5-8670-e5acd623c978" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_0a4d4b19-69bd-467b-93e4-fdb086437639" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_0a4d4b19-69bd-467b-93e4-fdb086437639_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_0a4d4b19-69bd-467b-93e4-fdb086437639" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_0a4d4b19-69bd-467b-93e4-fdb086437639_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_c2efb58b-0bfc-4fb3-843a-d203ffa8de9a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_0a4d4b19-69bd-467b-93e4-fdb086437639" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_c2efb58b-0bfc-4fb3-843a-d203ffa8de9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_37095aa4-ead8-44a4-9ee5-597fd4e50d04" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_c2efb58b-0bfc-4fb3-843a-d203ffa8de9a" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_37095aa4-ead8-44a4-9ee5-597fd4e50d04" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_1c54b77b-8196-4abc-96a4-f39eb2597034" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_c2efb58b-0bfc-4fb3-843a-d203ffa8de9a" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_1c54b77b-8196-4abc-96a4-f39eb2597034" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_34a21254-b023-427f-831c-857f184f79a1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88c86b90-f776-49f5-8670-e5acd623c978" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_34a21254-b023-427f-831c-857f184f79a1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_34a21254-b023-427f-831c-857f184f79a1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_34a21254-b023-427f-831c-857f184f79a1" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_34a21254-b023-427f-831c-857f184f79a1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e5e0db1f-6dc1-46ed-a4c8-d09bdf20d71b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_34a21254-b023-427f-831c-857f184f79a1" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e5e0db1f-6dc1-46ed-a4c8-d09bdf20d71b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_d2f1dc14-b698-4f2f-ab7e-f7c2e7aa8410" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e5e0db1f-6dc1-46ed-a4c8-d09bdf20d71b" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_d2f1dc14-b698-4f2f-ab7e-f7c2e7aa8410" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_541e730b-10ac-402d-9adb-23071392c4fd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e5e0db1f-6dc1-46ed-a4c8-d09bdf20d71b" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_541e730b-10ac-402d-9adb-23071392c4fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_bd8dd89e-b082-412c-bf03-ec1cfe228553" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e5e0db1f-6dc1-46ed-a4c8-d09bdf20d71b" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_bd8dd89e-b082-412c-bf03-ec1cfe228553" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_186b503d-1d7a-4113-90b7-280be56f1ac2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_88c86b90-f776-49f5-8670-e5acd623c978" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_186b503d-1d7a-4113-90b7-280be56f1ac2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_186b503d-1d7a-4113-90b7-280be56f1ac2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_186b503d-1d7a-4113-90b7-280be56f1ac2" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_186b503d-1d7a-4113-90b7-280be56f1ac2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_dff0be05-ffa6-4f44-955f-88039c985083" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_186b503d-1d7a-4113-90b7-280be56f1ac2" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_dff0be05-ffa6-4f44-955f-88039c985083" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_FinancialContractsMember_37e52b8a-2802-4f1a-9a9d-0f9da18f59e2" xlink:href="oke-20220930.xsd#oke_FinancialContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_dff0be05-ffa6-4f44-955f-88039c985083" xlink:to="loc_oke_FinancialContractsMember_37e52b8a-2802-4f1a-9a9d-0f9da18f59e2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_b2718616-73b0-4762-8bea-2684ee04eebd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_dff0be05-ffa6-4f44-955f-88039c985083" xlink:to="loc_us-gaap_InterestRateContractMember_b2718616-73b0-4762-8bea-2684ee04eebd" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/FAIRVALUEMEASUREMENTSPart2Details" xlink:type="simple" xlink:href="oke-20220930.xsd#FAIRVALUEMEASUREMENTSPart2Details"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/FAIRVALUEMEASUREMENTSPart2Details" xlink:type="extended" id="ie2270cd07f1047a0899156876c21486e_FAIRVALUEMEASUREMENTSPart2Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9ebc2962-b1a1-4a2a-8d9d-ae332870dbb0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_ba1dfc5d-f52f-4159-a93d-3456c276ea1c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9ebc2962-b1a1-4a2a-8d9d-ae332870dbb0" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_ba1dfc5d-f52f-4159-a93d-3456c276ea1c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements_57060f08-8543-4e67-bb46-1ff340534e89" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9ebc2962-b1a1-4a2a-8d9d-ae332870dbb0" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements_57060f08-8543-4e67-bb46-1ff340534e89" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationPurchases_626de4f8-33c3-476c-8cd6-0cdd3cd465f7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationPurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9ebc2962-b1a1-4a2a-8d9d-ae332870dbb0" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationPurchases_626de4f8-33c3-476c-8cd6-0cdd3cd465f7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInOtherComprehensiveIncomeLoss_affdb25b-2590-4f74-b40e-584127a29adb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInOtherComprehensiveIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9ebc2962-b1a1-4a2a-8d9d-ae332870dbb0" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInOtherComprehensiveIncomeLoss_affdb25b-2590-4f74-b40e-584127a29adb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_2555fbe1-d580-4e48-9ba0-3d44c5b8a737" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_b06b53c5-3230-478d-ab23-4fa819c593ac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9ebc2962-b1a1-4a2a-8d9d-ae332870dbb0" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_b06b53c5-3230-478d-ab23-4fa819c593ac" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_4274ebda-ed41-4817-a3cf-eb3ca69624ea" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_9ebc2962-b1a1-4a2a-8d9d-ae332870dbb0" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_4274ebda-ed41-4817-a3cf-eb3ca69624ea" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart1Details" xlink:type="simple" xlink:href="oke-20220930.xsd#RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart1Details"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart1Details" xlink:type="extended" id="i0e25185c27c24252a134216f29d431e2_RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart1Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_32307cee-971b-4e1f-9458-0db596303148" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativesFairValueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeNet_d569d557-ccd7-4f8d-8809-8c1c4d15a0c0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeFairValueOfDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_32307cee-971b-4e1f-9458-0db596303148" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeNet_d569d557-ccd7-4f8d-8809-8c1c4d15a0c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_07f2c230-5e61-4df2-b42f-7009dbe4c4f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_32307cee-971b-4e1f-9458-0db596303148" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_07f2c230-5e61-4df2-b42f-7009dbe4c4f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_e707c3e3-f58d-43e4-bf47-a6725455eaac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_32307cee-971b-4e1f-9458-0db596303148" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_e707c3e3-f58d-43e4-bf47-a6725455eaac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue_37ff81d5-d2ee-4fe6-8d8b-8bce34b4529c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeNetLiabilityPositionAggregateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_32307cee-971b-4e1f-9458-0db596303148" xlink:to="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue_37ff81d5-d2ee-4fe6-8d8b-8bce34b4529c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_379c25a2-ddc5-4c16-a90e-b768548ece81" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_32307cee-971b-4e1f-9458-0db596303148" xlink:to="loc_us-gaap_DerivativeNotionalAmount_379c25a2-ddc5-4c16-a90e-b768548ece81" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_c5f185a9-7a09-414f-b057-d0dd3ede1f6a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_32307cee-971b-4e1f-9458-0db596303148" xlink:to="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_c5f185a9-7a09-414f-b057-d0dd3ede1f6a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_32307cee-971b-4e1f-9458-0db596303148" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_2105ccb0-1116-403e-aa72-ad4094018dec" xlink:href="oke-20220930.xsd#oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:to="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_2105ccb0-1116-403e-aa72-ad4094018dec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MethodForSettingNotionalAmountDomain_2105ccb0-1116-403e-aa72-ad4094018dec_default" xlink:href="oke-20220930.xsd#oke_MethodForSettingNotionalAmountDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_2105ccb0-1116-403e-aa72-ad4094018dec" xlink:to="loc_oke_MethodForSettingNotionalAmountDomain_2105ccb0-1116-403e-aa72-ad4094018dec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MethodForSettingNotionalAmountDomain_a4f13ef0-ff09-4e6f-aaf9-be0bd75ca5c6" xlink:href="oke-20220930.xsd#oke_MethodForSettingNotionalAmountDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_2105ccb0-1116-403e-aa72-ad4094018dec" xlink:to="loc_oke_MethodForSettingNotionalAmountDomain_a4f13ef0-ff09-4e6f-aaf9-be0bd75ca5c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_88275b4c-c24c-498a-8c64-5c758fb169e3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_MethodForSettingNotionalAmountDomain_a4f13ef0-ff09-4e6f-aaf9-be0bd75ca5c6" xlink:to="loc_us-gaap_InterestRateContractMember_88275b4c-c24c-498a-8c64-5c758fb169e3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_a23c648c-8b4c-4903-8761-6c2f43fcb3b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_a23c648c-8b4c-4903-8761-6c2f43fcb3b9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_a23c648c-8b4c-4903-8761-6c2f43fcb3b9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_a23c648c-8b4c-4903-8761-6c2f43fcb3b9" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_a23c648c-8b4c-4903-8761-6c2f43fcb3b9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_787d98c3-76a2-4f36-ac00-c963a99bd753" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_a23c648c-8b4c-4903-8761-6c2f43fcb3b9" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_787d98c3-76a2-4f36-ac00-c963a99bd753" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentAssetsMember_af389b53-e386-4a8c-87fc-095791a35621" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherCurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_787d98c3-76a2-4f36-ac00-c963a99bd753" xlink:to="loc_us-gaap_OtherCurrentAssetsMember_af389b53-e386-4a8c-87fc-095791a35621" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesMember_e13bb6d5-ac4a-4c60-91a3-51dd48c9a48d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherCurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_787d98c3-76a2-4f36-ac00-c963a99bd753" xlink:to="loc_us-gaap_OtherCurrentLiabilitiesMember_e13bb6d5-ac4a-4c60-91a3-51dd48c9a48d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesMember_26b957cd-8fef-4699-a485-f2d939ed31d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_787d98c3-76a2-4f36-ac00-c963a99bd753" xlink:to="loc_us-gaap_OtherLiabilitiesMember_26b957cd-8fef-4699-a485-f2d939ed31d6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_FullyNettedAssetsLiabilitiesMember_e73c147d-3679-4f88-9454-de0810c078bf" xlink:href="oke-20220930.xsd#oke_FullyNettedAssetsLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_787d98c3-76a2-4f36-ac00-c963a99bd753" xlink:to="loc_oke_FullyNettedAssetsLiabilitiesMember_e73c147d-3679-4f88-9454-de0810c078bf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameAxis_ef3815fc-a3c7-4859-8921-ac7ee239d839" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:to="loc_oke_ReportableSegmentByNameAxis_ef3815fc-a3c7-4859-8921-ac7ee239d839" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameDomain_ef3815fc-a3c7-4859-8921-ac7ee239d839_default" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_ReportableSegmentByNameAxis_ef3815fc-a3c7-4859-8921-ac7ee239d839" xlink:to="loc_oke_ReportableSegmentByNameDomain_ef3815fc-a3c7-4859-8921-ac7ee239d839_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameDomain_16e5cc25-2ece-49f3-b485-ee6eaef28fa1" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_ReportableSegmentByNameAxis_ef3815fc-a3c7-4859-8921-ac7ee239d839" xlink:to="loc_oke_ReportableSegmentByNameDomain_16e5cc25-2ece-49f3-b485-ee6eaef28fa1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasLiquidsMember_16a52cbc-fcde-4ea7-9c3e-9ea3093f051d" xlink:href="oke-20220930.xsd#oke_NaturalGasLiquidsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_ReportableSegmentByNameDomain_16e5cc25-2ece-49f3-b485-ee6eaef28fa1" xlink:to="loc_oke_NaturalGasLiquidsMember_16a52cbc-fcde-4ea7-9c3e-9ea3093f051d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasPipelinesMember_b9184572-b065-4781-bef2-5e1590c64858" xlink:href="oke-20220930.xsd#oke_NaturalGasPipelinesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_ReportableSegmentByNameDomain_16e5cc25-2ece-49f3-b485-ee6eaef28fa1" xlink:to="loc_oke_NaturalGasPipelinesMember_b9184572-b065-4781-bef2-5e1590c64858" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_b7894966-844f-4e18-ac6d-9ab2713e9a64" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_b7894966-844f-4e18-ac6d-9ab2713e9a64" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_b7894966-844f-4e18-ac6d-9ab2713e9a64_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_b7894966-844f-4e18-ac6d-9ab2713e9a64" xlink:to="loc_us-gaap_HedgingRelationshipDomain_b7894966-844f-4e18-ac6d-9ab2713e9a64_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_ab565699-5b75-4677-ad7e-0f5f73bcd179" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_b7894966-844f-4e18-ac6d-9ab2713e9a64" xlink:to="loc_us-gaap_HedgingRelationshipDomain_ab565699-5b75-4677-ad7e-0f5f73bcd179" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_5b9b7212-a97c-4943-9443-69decbc1c048" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_ab565699-5b75-4677-ad7e-0f5f73bcd179" xlink:to="loc_us-gaap_CashFlowHedgingMember_5b9b7212-a97c-4943-9443-69decbc1c048" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_f43c77ac-cf2d-482d-b458-872c642cde3b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_f43c77ac-cf2d-482d-b458-872c642cde3b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_f43c77ac-cf2d-482d-b458-872c642cde3b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_f43c77ac-cf2d-482d-b458-872c642cde3b" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_f43c77ac-cf2d-482d-b458-872c642cde3b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_63c8d9eb-bfcb-483f-8fe9-c8bd54ed70e0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_f43c77ac-cf2d-482d-b458-872c642cde3b" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_63c8d9eb-bfcb-483f-8fe9-c8bd54ed70e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForwardContractsMember_0d2c3d93-43a5-4975-bf29-471e0cd0b2f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForwardContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_63c8d9eb-bfcb-483f-8fe9-c8bd54ed70e0" xlink:to="loc_us-gaap_ForwardContractsMember_0d2c3d93-43a5-4975-bf29-471e0cd0b2f5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_006c388a-3a65-4ae2-9264-9656e8734a83" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_63c8d9eb-bfcb-483f-8fe9-c8bd54ed70e0" xlink:to="loc_us-gaap_CommodityContractMember_006c388a-3a65-4ae2-9264-9656e8734a83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_091b4d8e-33e3-4b38-a546-142833867150" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_63c8d9eb-bfcb-483f-8fe9-c8bd54ed70e0" xlink:to="loc_us-gaap_InterestRateContractMember_091b4d8e-33e3-4b38-a546-142833867150" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativeInstrumentContractTypeBySubtypeAxis_11798aa1-81b2-4fb5-a487-c83c001036a5" xlink:href="oke-20220930.xsd#oke_DerivativeInstrumentContractTypeBySubtypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:to="loc_oke_DerivativeInstrumentContractTypeBySubtypeAxis_11798aa1-81b2-4fb5-a487-c83c001036a5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativeContractSubtypeDomain_11798aa1-81b2-4fb5-a487-c83c001036a5_default" xlink:href="oke-20220930.xsd#oke_DerivativeContractSubtypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_DerivativeInstrumentContractTypeBySubtypeAxis_11798aa1-81b2-4fb5-a487-c83c001036a5" xlink:to="loc_oke_DerivativeContractSubtypeDomain_11798aa1-81b2-4fb5-a487-c83c001036a5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativeContractSubtypeDomain_fa55bfbf-41b6-4f63-b594-cc36f68ecdf3" xlink:href="oke-20220930.xsd#oke_DerivativeContractSubtypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_DerivativeInstrumentContractTypeBySubtypeAxis_11798aa1-81b2-4fb5-a487-c83c001036a5" xlink:to="loc_oke_DerivativeContractSubtypeDomain_fa55bfbf-41b6-4f63-b594-cc36f68ecdf3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_FinancialDerivativeInstrumentMember_f6736fb2-3ec7-4446-85e5-6011f4abe10c" xlink:href="oke-20220930.xsd#oke_FinancialDerivativeInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_DerivativeContractSubtypeDomain_fa55bfbf-41b6-4f63-b594-cc36f68ecdf3" xlink:to="loc_oke_FinancialDerivativeInstrumentMember_f6736fb2-3ec7-4446-85e5-6011f4abe10c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_PhysicalDerivativeInstrumentMember_18a4e9e5-e932-4040-9239-87c928389272" xlink:href="oke-20220930.xsd#oke_PhysicalDerivativeInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_DerivativeContractSubtypeDomain_fa55bfbf-41b6-4f63-b594-cc36f68ecdf3" xlink:to="loc_oke_PhysicalDerivativeInstrumentMember_18a4e9e5-e932-4040-9239-87c928389272" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_61b7a4ed-daa6-4d13-81c8-f0b55bcfb137" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_588db70b-c36e-4c8d-89d8-dab733725594" xlink:to="loc_us-gaap_HedgingDesignationAxis_61b7a4ed-daa6-4d13-81c8-f0b55bcfb137" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_61b7a4ed-daa6-4d13-81c8-f0b55bcfb137_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_61b7a4ed-daa6-4d13-81c8-f0b55bcfb137" xlink:to="loc_us-gaap_HedgingDesignationDomain_61b7a4ed-daa6-4d13-81c8-f0b55bcfb137_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_204fbe72-70cb-493a-8b64-c16f84483b42" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_61b7a4ed-daa6-4d13-81c8-f0b55bcfb137" xlink:to="loc_us-gaap_HedgingDesignationDomain_204fbe72-70cb-493a-8b64-c16f84483b42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_f196c698-061a-4c1a-bd5d-3b653efd327d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_204fbe72-70cb-493a-8b64-c16f84483b42" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_f196c698-061a-4c1a-bd5d-3b653efd327d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NondesignatedMember_473bd231-4b46-43c4-b5e5-19ba6eb51d0d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NondesignatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_204fbe72-70cb-493a-8b64-c16f84483b42" xlink:to="loc_us-gaap_NondesignatedMember_473bd231-4b46-43c4-b5e5-19ba6eb51d0d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart2Details" xlink:type="simple" xlink:href="oke-20220930.xsd#RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart2Details"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart2Details" xlink:type="extended" id="ia099b4709b754c638165dcbd04a242cd_RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart2Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_dd27b615-02c7-4290-8939-47661c1936e2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNonmonetaryNotionalAmountVolume_5bd830df-8896-43b8-a41e-f4bc5c66df7e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeNonmonetaryNotionalAmountVolume"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_dd27b615-02c7-4290-8939-47661c1936e2" xlink:to="loc_us-gaap_DerivativeNonmonetaryNotionalAmountVolume_5bd830df-8896-43b8-a41e-f4bc5c66df7e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_17e71443-1dcd-4581-8152-555714aad5cb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_dd27b615-02c7-4290-8939-47661c1936e2" xlink:to="loc_us-gaap_DerivativeNotionalAmount_17e71443-1dcd-4581-8152-555714aad5cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeNet_0d5ad3e1-9b4c-4384-91dc-21d36dbb5fb0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeFairValueOfDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_dd27b615-02c7-4290-8939-47661c1936e2" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeNet_0d5ad3e1-9b4c-4384-91dc-21d36dbb5fb0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_dd27b615-02c7-4290-8939-47661c1936e2" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ForwardStartingandTreasuryLockContractsAxis_9271938e-2cc6-44f6-bd7a-8aa9dd76501e" xlink:href="oke-20220930.xsd#oke_ForwardStartingandTreasuryLockContractsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_oke_ForwardStartingandTreasuryLockContractsAxis_9271938e-2cc6-44f6-bd7a-8aa9dd76501e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ForwardStartingandTreasuryLockContractsDomain_9271938e-2cc6-44f6-bd7a-8aa9dd76501e_default" xlink:href="oke-20220930.xsd#oke_ForwardStartingandTreasuryLockContractsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_ForwardStartingandTreasuryLockContractsAxis_9271938e-2cc6-44f6-bd7a-8aa9dd76501e" xlink:to="loc_oke_ForwardStartingandTreasuryLockContractsDomain_9271938e-2cc6-44f6-bd7a-8aa9dd76501e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ForwardStartingandTreasuryLockContractsDomain_fc5bf88a-d102-45c4-b0be-1fdf395f5a77" xlink:href="oke-20220930.xsd#oke_ForwardStartingandTreasuryLockContractsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_ForwardStartingandTreasuryLockContractsAxis_9271938e-2cc6-44f6-bd7a-8aa9dd76501e" xlink:to="loc_oke_ForwardStartingandTreasuryLockContractsDomain_fc5bf88a-d102-45c4-b0be-1fdf395f5a77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_a8257beb-49c8-42ab-8e00-796adc2e8a08" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_srt_ConsolidatedEntitiesAxis_a8257beb-49c8-42ab-8e00-796adc2e8a08" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_a8257beb-49c8-42ab-8e00-796adc2e8a08_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_a8257beb-49c8-42ab-8e00-796adc2e8a08" xlink:to="loc_srt_ConsolidatedEntitiesDomain_a8257beb-49c8-42ab-8e00-796adc2e8a08_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_f6b4d7a6-83f1-44f7-9aa2-4de73ff49e10" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_a8257beb-49c8-42ab-8e00-796adc2e8a08" xlink:to="loc_srt_ConsolidatedEntitiesDomain_f6b4d7a6-83f1-44f7-9aa2-4de73ff49e10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_d5047d26-8cc9-467d-91a0-13ab02328f2b" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_f6b4d7a6-83f1-44f7-9aa2-4de73ff49e10" xlink:to="loc_srt_ParentCompanyMember_d5047d26-8cc9-467d-91a0-13ab02328f2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_a493a784-f2ef-4dac-8e94-6ff9c4e9df77" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_a493a784-f2ef-4dac-8e94-6ff9c4e9df77" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_a493a784-f2ef-4dac-8e94-6ff9c4e9df77_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a493a784-f2ef-4dac-8e94-6ff9c4e9df77" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_a493a784-f2ef-4dac-8e94-6ff9c4e9df77_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d53bfc73-dd97-4800-b3c5-7fba91f27092" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a493a784-f2ef-4dac-8e94-6ff9c4e9df77" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d53bfc73-dd97-4800-b3c5-7fba91f27092" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ForecastedDebtIssuancesMember_6b8651c3-a2b4-45a8-b0be-76e952d062a6" xlink:href="oke-20220930.xsd#oke_ForecastedDebtIssuancesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_d53bfc73-dd97-4800-b3c5-7fba91f27092" xlink:to="loc_oke_ForecastedDebtIssuancesMember_6b8651c3-a2b4-45a8-b0be-76e952d062a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_c399bdcf-31a9-48c9-bd30-dca5a575ad5d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_us-gaap_HedgingDesignationAxis_c399bdcf-31a9-48c9-bd30-dca5a575ad5d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_c399bdcf-31a9-48c9-bd30-dca5a575ad5d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_c399bdcf-31a9-48c9-bd30-dca5a575ad5d" xlink:to="loc_us-gaap_HedgingDesignationDomain_c399bdcf-31a9-48c9-bd30-dca5a575ad5d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_43f2bb15-422a-418d-b414-50a7be905861" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_c399bdcf-31a9-48c9-bd30-dca5a575ad5d" xlink:to="loc_us-gaap_HedgingDesignationDomain_43f2bb15-422a-418d-b414-50a7be905861" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_776ae05a-6744-423c-9386-105271911e24" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_43f2bb15-422a-418d-b414-50a7be905861" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_776ae05a-6744-423c-9386-105271911e24" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NondesignatedMember_29185d87-ce51-41c1-b54d-74a1ba4b241b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NondesignatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_43f2bb15-422a-418d-b414-50a7be905861" xlink:to="loc_us-gaap_NondesignatedMember_29185d87-ce51-41c1-b54d-74a1ba4b241b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_230aa90e-79b7-4f68-9572-1d3de71a170f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_230aa90e-79b7-4f68-9572-1d3de71a170f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_230aa90e-79b7-4f68-9572-1d3de71a170f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_230aa90e-79b7-4f68-9572-1d3de71a170f" xlink:to="loc_us-gaap_HedgingRelationshipDomain_230aa90e-79b7-4f68-9572-1d3de71a170f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_e0bf773e-4cad-4a94-a2b1-172f55e2621b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_230aa90e-79b7-4f68-9572-1d3de71a170f" xlink:to="loc_us-gaap_HedgingRelationshipDomain_e0bf773e-4cad-4a94-a2b1-172f55e2621b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_5662ec1a-ae85-43c2-b292-71e0ea66c926" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_e0bf773e-4cad-4a94-a2b1-172f55e2621b" xlink:to="loc_us-gaap_CashFlowHedgingMember_5662ec1a-ae85-43c2-b292-71e0ea66c926" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_a0e43793-93d3-45c0-97e5-aa1f24c9792c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_a0e43793-93d3-45c0-97e5-aa1f24c9792c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_a0e43793-93d3-45c0-97e5-aa1f24c9792c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_a0e43793-93d3-45c0-97e5-aa1f24c9792c" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_a0e43793-93d3-45c0-97e5-aa1f24c9792c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_bc36905d-6b6a-4a80-9160-c1d19bbef587" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_a0e43793-93d3-45c0-97e5-aa1f24c9792c" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_bc36905d-6b6a-4a80-9160-c1d19bbef587" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForwardContractsMember_a8578e15-1d30-4abf-8c7f-4599c1716f4c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForwardContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_bc36905d-6b6a-4a80-9160-c1d19bbef587" xlink:to="loc_us-gaap_ForwardContractsMember_a8578e15-1d30-4abf-8c7f-4599c1716f4c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_0b8b9b83-4739-434f-b764-67c735e69082" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_bc36905d-6b6a-4a80-9160-c1d19bbef587" xlink:to="loc_us-gaap_CommodityContractMember_0b8b9b83-4739-434f-b764-67c735e69082" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_c67ef042-38c1-48d3-8e31-51f3316cc2f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_bc36905d-6b6a-4a80-9160-c1d19bbef587" xlink:to="loc_us-gaap_InterestRateContractMember_c67ef042-38c1-48d3-8e31-51f3316cc2f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FutureMember_645026a1-7128-490a-8d66-bc1a54e3bce0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FutureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_bc36905d-6b6a-4a80-9160-c1d19bbef587" xlink:to="loc_us-gaap_FutureMember_645026a1-7128-490a-8d66-bc1a54e3bce0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativesByCommodityAxis_7005466a-37c8-434d-b41c-462d6ea8495f" xlink:href="oke-20220930.xsd#oke_DerivativesByCommodityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_oke_DerivativesByCommodityAxis_7005466a-37c8-434d-b41c-462d6ea8495f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CommodityDomain_7005466a-37c8-434d-b41c-462d6ea8495f_default" xlink:href="oke-20220930.xsd#oke_CommodityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_DerivativesByCommodityAxis_7005466a-37c8-434d-b41c-462d6ea8495f" xlink:to="loc_oke_CommodityDomain_7005466a-37c8-434d-b41c-462d6ea8495f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_CommodityDomain_a25062d7-a991-445f-b16f-a5169be1318c" xlink:href="oke-20220930.xsd#oke_CommodityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_DerivativesByCommodityAxis_7005466a-37c8-434d-b41c-462d6ea8495f" xlink:to="loc_oke_CommodityDomain_a25062d7-a991-445f-b16f-a5169be1318c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NaturalGasReservesMember_26829909-c1e9-4578-8db0-ec800fb31994" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NaturalGasReservesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_CommodityDomain_a25062d7-a991-445f-b16f-a5169be1318c" xlink:to="loc_srt_NaturalGasReservesMember_26829909-c1e9-4578-8db0-ec800fb31994" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CrudeOilAndNGLPerBarrelMember_213c5af9-aea4-4e35-9cdd-174401adb09c" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_CrudeOilAndNGLPerBarrelMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_CommodityDomain_a25062d7-a991-445f-b16f-a5169be1318c" xlink:to="loc_srt_CrudeOilAndNGLPerBarrelMember_213c5af9-aea4-4e35-9cdd-174401adb09c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativesByCommodityDomain_f3986480-abff-4976-af6e-021d86a0a21f" xlink:href="oke-20220930.xsd#oke_DerivativesByCommodityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_DerivativesByCommodityAxis_7005466a-37c8-434d-b41c-462d6ea8495f" xlink:to="loc_oke_DerivativesByCommodityDomain_f3986480-abff-4976-af6e-021d86a0a21f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_7c5617a4-7d6c-4db7-bf0d-c90c85f9d753" xlink:href="oke-20220930.xsd#oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_7c5617a4-7d6c-4db7-bf0d-c90c85f9d753" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MethodForSettingNotionalAmountDomain_7c5617a4-7d6c-4db7-bf0d-c90c85f9d753_default" xlink:href="oke-20220930.xsd#oke_MethodForSettingNotionalAmountDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_7c5617a4-7d6c-4db7-bf0d-c90c85f9d753" xlink:to="loc_oke_MethodForSettingNotionalAmountDomain_7c5617a4-7d6c-4db7-bf0d-c90c85f9d753_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_MethodForSettingNotionalAmountDomain_c91a7823-40fb-4576-a9cb-818341512ef2" xlink:href="oke-20220930.xsd#oke_MethodForSettingNotionalAmountDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_7c5617a4-7d6c-4db7-bf0d-c90c85f9d753" xlink:to="loc_oke_MethodForSettingNotionalAmountDomain_c91a7823-40fb-4576-a9cb-818341512ef2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_FixedPriceMember_33f5dc13-932e-428b-83a7-9da45b2786fc" xlink:href="oke-20220930.xsd#oke_FixedPriceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_MethodForSettingNotionalAmountDomain_c91a7823-40fb-4576-a9cb-818341512ef2" xlink:to="loc_oke_FixedPriceMember_33f5dc13-932e-428b-83a7-9da45b2786fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_BasisMember_ead821ec-28d3-4d86-9a97-be5e67231163" xlink:href="oke-20220930.xsd#oke_BasisMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_MethodForSettingNotionalAmountDomain_c91a7823-40fb-4576-a9cb-818341512ef2" xlink:to="loc_oke_BasisMember_ead821ec-28d3-4d86-9a97-be5e67231163" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_b8aa30e6-2d52-4bb7-b916-973f9cfb6d6a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_MethodForSettingNotionalAmountDomain_c91a7823-40fb-4576-a9cb-818341512ef2" xlink:to="loc_us-gaap_InterestRateContractMember_b8aa30e6-2d52-4bb7-b916-973f9cfb6d6a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountDomain_73c09bf1-3ae0-429f-ac15-78fbe1b1e763" xlink:href="oke-20220930.xsd#oke_DerivativeInstrumentByMethodForSettingNotionalAmountDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountAxis_7c5617a4-7d6c-4db7-bf0d-c90c85f9d753" xlink:to="loc_oke_DerivativeInstrumentByMethodForSettingNotionalAmountDomain_73c09bf1-3ae0-429f-ac15-78fbe1b1e763" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativePositonByTransactionTypeAxis_927499eb-4b9d-4129-8e01-6fb731b67180" xlink:href="oke-20220930.xsd#oke_DerivativePositonByTransactionTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_fc39b905-04ff-41d4-81ac-08ef11b9c930" xlink:to="loc_oke_DerivativePositonByTransactionTypeAxis_927499eb-4b9d-4129-8e01-6fb731b67180" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_TransactionTypeDomain_927499eb-4b9d-4129-8e01-6fb731b67180_default" xlink:href="oke-20220930.xsd#oke_TransactionTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_DerivativePositonByTransactionTypeAxis_927499eb-4b9d-4129-8e01-6fb731b67180" xlink:to="loc_oke_TransactionTypeDomain_927499eb-4b9d-4129-8e01-6fb731b67180_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_TransactionTypeDomain_67000c14-c5a7-4d42-9dd5-6486893ebc35" xlink:href="oke-20220930.xsd#oke_TransactionTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_DerivativePositonByTransactionTypeAxis_927499eb-4b9d-4129-8e01-6fb731b67180" xlink:to="loc_oke_TransactionTypeDomain_67000c14-c5a7-4d42-9dd5-6486893ebc35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_PurchasorMember_a48d96ce-1821-453f-a650-fd8674aef5a9" xlink:href="oke-20220930.xsd#oke_PurchasorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_TransactionTypeDomain_67000c14-c5a7-4d42-9dd5-6486893ebc35" xlink:to="loc_oke_PurchasorMember_a48d96ce-1821-453f-a650-fd8674aef5a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_SellorMember_eb79ac7d-88d2-41ca-9455-8ceca65a9a9e" xlink:href="oke-20220930.xsd#oke_SellorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_TransactionTypeDomain_67000c14-c5a7-4d42-9dd5-6486893ebc35" xlink:to="loc_oke_SellorMember_eb79ac7d-88d2-41ca-9455-8ceca65a9a9e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart3Details" xlink:type="simple" xlink:href="oke-20220930.xsd#RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart3Details"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart3Details" xlink:type="extended" id="i18af00dab02d4a9eb409b1fc0074723f_RISKMANAGEMENTANDHEDGINGACTIVITIESUSINGDERIVATIVESPart3Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_0f39120e-22f4-475b-9f93-25122ef141fd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_DerivativeInstrumentsGainLossRecognizedinOtherComprehensiveLossNet_3c54e716-8d48-4298-8dfb-34a16a6c7802" xlink:href="oke-20220930.xsd#oke_DerivativeInstrumentsGainLossRecognizedinOtherComprehensiveLossNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_0f39120e-22f4-475b-9f93-25122ef141fd" xlink:to="loc_oke_DerivativeInstrumentsGainLossRecognizedinOtherComprehensiveLossNet_3c54e716-8d48-4298-8dfb-34a16a6c7802" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_d213290e-603a-46c0-a443-4e75133f9a58" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_0f39120e-22f4-475b-9f93-25122ef141fd" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_d213290e-603a-46c0-a443-4e75133f9a58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_1a6e3bf5-310e-4c0d-88ee-b9413f5d25ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_0f39120e-22f4-475b-9f93-25122ef141fd" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_1a6e3bf5-310e-4c0d-88ee-b9413f5d25ff" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_84cf836c-5541-4097-ac77-37e49aa70423" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_1a6e3bf5-310e-4c0d-88ee-b9413f5d25ff" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_84cf836c-5541-4097-ac77-37e49aa70423" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_84cf836c-5541-4097-ac77-37e49aa70423_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_84cf836c-5541-4097-ac77-37e49aa70423" xlink:to="loc_us-gaap_EquityComponentDomain_84cf836c-5541-4097-ac77-37e49aa70423_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_0ae4848f-0cc1-4f00-b4ef-5842ae7e5f00" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_84cf836c-5541-4097-ac77-37e49aa70423" xlink:to="loc_us-gaap_EquityComponentDomain_0ae4848f-0cc1-4f00-b4ef-5842ae7e5f00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_62614c0e-7780-4194-9599-2abc9af8ec28" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0ae4848f-0cc1-4f00-b4ef-5842ae7e5f00" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_62614c0e-7780-4194-9599-2abc9af8ec28" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_faf0d93e-8d4c-4326-922d-524e85bb57cf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_1a6e3bf5-310e-4c0d-88ee-b9413f5d25ff" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_faf0d93e-8d4c-4326-922d-524e85bb57cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_faf0d93e-8d4c-4326-922d-524e85bb57cf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_faf0d93e-8d4c-4326-922d-524e85bb57cf" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_faf0d93e-8d4c-4326-922d-524e85bb57cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_b7018e76-69f5-4a58-8a48-c93c6463bd3f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_faf0d93e-8d4c-4326-922d-524e85bb57cf" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_b7018e76-69f5-4a58-8a48-c93c6463bd3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_0a32d4c5-2e1e-405f-bd02-7132a5c14f70" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_b7018e76-69f5-4a58-8a48-c93c6463bd3f" xlink:to="loc_us-gaap_CommodityContractMember_0a32d4c5-2e1e-405f-bd02-7132a5c14f70" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_f5101baf-36d8-4fbe-a2e1-24d9b5c21053" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_b7018e76-69f5-4a58-8a48-c93c6463bd3f" xlink:to="loc_us-gaap_InterestRateContractMember_f5101baf-36d8-4fbe-a2e1-24d9b5c21053" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FutureMember_173dbb1b-90c7-4c31-92f0-3d35940181ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FutureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_b7018e76-69f5-4a58-8a48-c93c6463bd3f" xlink:to="loc_us-gaap_FutureMember_173dbb1b-90c7-4c31-92f0-3d35940181ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_11811ed3-6717-45f0-8f4b-ab6550f18bfc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_1a6e3bf5-310e-4c0d-88ee-b9413f5d25ff" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_11811ed3-6717-45f0-8f4b-ab6550f18bfc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_11811ed3-6717-45f0-8f4b-ab6550f18bfc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_11811ed3-6717-45f0-8f4b-ab6550f18bfc" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_11811ed3-6717-45f0-8f4b-ab6550f18bfc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_b9c03e70-d976-4f1b-bce9-fb9ab1ccfa1e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_11811ed3-6717-45f0-8f4b-ab6550f18bfc" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_b9c03e70-d976-4f1b-bce9-fb9ab1ccfa1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesMember_08a949ce-a4a3-4817-b255-24b5dc694b49" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_b9c03e70-d976-4f1b-bce9-fb9ab1ccfa1e" xlink:to="loc_us-gaap_SalesMember_08a949ce-a4a3-4817-b255-24b5dc694b49" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_7a6afaa0-a80e-4861-b899-4ec9b80dcd43" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_b9c03e70-d976-4f1b-bce9-fb9ab1ccfa1e" xlink:to="loc_us-gaap_CostOfSalesMember_7a6afaa0-a80e-4861-b899-4ec9b80dcd43" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseMember_c71c68e1-2d27-4225-9fef-d1c69c128c44" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_b9c03e70-d976-4f1b-bce9-fb9ab1ccfa1e" xlink:to="loc_us-gaap_InterestExpenseMember_c71c68e1-2d27-4225-9fef-d1c69c128c44" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6dde5e9d-6c53-4010-a847-7b3e66e8de71" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_1a6e3bf5-310e-4c0d-88ee-b9413f5d25ff" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6dde5e9d-6c53-4010-a847-7b3e66e8de71" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_6dde5e9d-6c53-4010-a847-7b3e66e8de71_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6dde5e9d-6c53-4010-a847-7b3e66e8de71" xlink:to="loc_us-gaap_HedgingRelationshipDomain_6dde5e9d-6c53-4010-a847-7b3e66e8de71_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_0ea99ba0-f5cd-43db-bdb5-1cd64893a8a7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6dde5e9d-6c53-4010-a847-7b3e66e8de71" xlink:to="loc_us-gaap_HedgingRelationshipDomain_0ea99ba0-f5cd-43db-bdb5-1cd64893a8a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_7f451b46-b2b4-4459-a1bb-be1346d6c282" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_0ea99ba0-f5cd-43db-bdb5-1cd64893a8a7" xlink:to="loc_us-gaap_CashFlowHedgingMember_7f451b46-b2b4-4459-a1bb-be1346d6c282" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/DEBTDEBTDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#DEBTDEBTDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/DEBTDEBTDetails" xlink:type="extended" id="i207bb17e47314c3cb5bfa5394e14a84b_DEBTDEBTDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPaper_dc795fa1-2f91-4fa3-85d2-13ef8b529df5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommercialPaper"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_CommercialPaper_dc795fa1-2f91-4fa3-85d2-13ef8b529df5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_95fb3838-a8d0-4246-9859-33a6bd348544" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_95fb3838-a8d0-4246-9859-33a6bd348544" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_f5a55f7a-1f99-4bae-86d1-5bae829b52c9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_f5a55f7a-1f99-4bae-86d1-5bae829b52c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_e018b245-1c16-4bb2-aa57-c11fc5bf328c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_e018b245-1c16-4bb2-aa57-c11fc5bf328c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_UnamortizedPortionofTerminatedSwaps_fd92774b-bdf8-4875-8e9f-6642fd9b69d9" xlink:href="oke-20220930.xsd#oke_UnamortizedPortionofTerminatedSwaps"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_oke_UnamortizedPortionofTerminatedSwaps_fd92774b-bdf8-4875-8e9f-6642fd9b69d9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_401f2deb-24dc-4893-8425-4f65d134513e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_401f2deb-24dc-4893-8425-4f65d134513e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_ecb25a53-0fd7-4ef1-aa38-6d4e91ac6b47" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_LongTermDebtCurrent_ecb25a53-0fd7-4ef1-aa38-6d4e91ac6b47" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_5d4528a9-af40-4122-b282-025ac641d688" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShortTermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_ShortTermBorrowings_5d4528a9-af40-4122-b282-025ac641d688" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_de75b252-88c5-49f7-87ea-b7bd4fac397b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_de75b252-88c5-49f7-87ea-b7bd4fac397b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_9a373ca1-ee9d-42ef-9f2c-9e65b1d5255c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_9a373ca1-ee9d-42ef-9f2c-9e65b1d5255c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCovenantDescription_790b3b65-da8a-4788-ab14-3fbac97a3fdd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCovenantDescription"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_DebtInstrumentCovenantDescription_790b3b65-da8a-4788-ab14-3fbac97a3fdd" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding_7b5e6848-514f-440b-979d-4c4e612803e2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_LineOfCreditFacilityFairValueOfAmountOutstanding_7b5e6848-514f-440b-979d-4c4e612803e2" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_IndebtednessToAdjustedEbitdaCurrent_d77e6c05-e40b-4c4d-b7ea-3a1c5ce54657" xlink:href="oke-20220930.xsd#oke_IndebtednessToAdjustedEbitdaCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_oke_IndebtednessToAdjustedEbitdaCurrent_d77e6c05-e40b-4c4d-b7ea-3a1c5ce54657" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_IndebtednesstoAdjustedEBITDAMaximum_545cd29a-071c-4519-8290-a198cac5c2ac" xlink:href="oke-20220930.xsd#oke_IndebtednesstoAdjustedEBITDAMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_oke_IndebtednesstoAdjustedEBITDAMaximum_545cd29a-071c-4519-8290-a198cac5c2ac" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_IndebtednessToAdjustedEBITDAFromAcquisitionsMaximum_ef786105-0c1e-4c0f-85b3-233657e6e378" xlink:href="oke-20220930.xsd#oke_IndebtednessToAdjustedEBITDAFromAcquisitionsMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_oke_IndebtednessToAdjustedEBITDAFromAcquisitionsMaximum_ef786105-0c1e-4c0f-85b3-233657e6e378" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferred_0b24d0e1-19db-4f8f-b592-fed8d8d243cf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetAcquisitionConsiderationTransferred"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferred_0b24d0e1-19db-4f8f-b592-fed8d8d243cf" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_LineOfCreditFacilitySublimit_078f4f5f-715b-45b2-a0b5-c89fc9209190" xlink:href="oke-20220930.xsd#oke_LineOfCreditFacilitySublimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_oke_LineOfCreditFacilitySublimit_078f4f5f-715b-45b2-a0b5-c89fc9209190" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_LineOfCreditFacilitySwinglineSubfacility_a737f32b-08e0-4b83-af34-8ac04ccf239b" xlink:href="oke-20220930.xsd#oke_LineOfCreditFacilitySwinglineSubfacility"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_oke_LineOfCreditFacilitySwinglineSubfacility_a737f32b-08e0-4b83-af34-8ac04ccf239b" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_LineOfCreditFacilityOptionToIncreaseBorrowingCapacity_a2913326-ff5d-42f2-baae-0a9903188cf1" xlink:href="oke-20220930.xsd#oke_LineOfCreditFacilityOptionToIncreaseBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_oke_LineOfCreditFacilityOptionToIncreaseBorrowingCapacity_a2913326-ff5d-42f2-baae-0a9903188cf1" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_847cab3b-a2c6-4bc6-b661-e767c9b3c7c8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityInterestRateDescription"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_847cab3b-a2c6-4bc6-b661-e767c9b3c7c8" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_LineOfCreditFacilityAnnualFacilityFeeDescription_cd6720f1-df86-47b2-b967-e44e9dd55f35" xlink:href="oke-20220930.xsd#oke_LineOfCreditFacilityAnnualFacilityFeeDescription"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_oke_LineOfCreditFacilityAnnualFacilityFeeDescription_cd6720f1-df86-47b2-b967-e44e9dd55f35" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_7e880175-b3db-486f-9aca-fa28755eddc3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_7e880175-b3db-486f-9aca-fa28755eddc3" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_5e9cfe84-5384-426c-8217-f494135c8468" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShortTermDebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_5e9cfe84-5384-426c-8217-f494135c8468" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_13f56039-9388-4da4-899a-13f1c3f42977" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_RepaymentsOfDebt_13f56039-9388-4da4-899a-13f1c3f42977" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_d8e71edc-f717-4fb5-94b3-ce704b11d9dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_e2db0d08-2131-4bc1-81a5-c4a9536505bd" xlink:to="loc_us-gaap_DebtInstrumentTable_d8e71edc-f717-4fb5-94b3-ce704b11d9dc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_204db151-8d32-4714-899c-67448903da01" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d8e71edc-f717-4fb5-94b3-ce704b11d9dc" xlink:to="loc_srt_ConsolidatedEntitiesAxis_204db151-8d32-4714-899c-67448903da01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_204db151-8d32-4714-899c-67448903da01_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_204db151-8d32-4714-899c-67448903da01" xlink:to="loc_srt_ConsolidatedEntitiesDomain_204db151-8d32-4714-899c-67448903da01_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_b524f914-0552-4663-a611-6871cf8dd9ea" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_204db151-8d32-4714-899c-67448903da01" xlink:to="loc_srt_ConsolidatedEntitiesDomain_b524f914-0552-4663-a611-6871cf8dd9ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiaryIssuerMember_4e0d9d61-3fe0-4d9d-9cc8-31ac15e51f57" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SubsidiaryIssuerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_b524f914-0552-4663-a611-6871cf8dd9ea" xlink:to="loc_srt_SubsidiaryIssuerMember_4e0d9d61-3fe0-4d9d-9cc8-31ac15e51f57" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember_97b70f22-3fc9-4a73-b280-f2e54d77007e" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ParentCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_b524f914-0552-4663-a611-6871cf8dd9ea" xlink:to="loc_srt_ParentCompanyMember_97b70f22-3fc9-4a73-b280-f2e54d77007e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_b146cb45-59cd-42ce-b2ac-19a6279025e5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d8e71edc-f717-4fb5-94b3-ce704b11d9dc" xlink:to="loc_us-gaap_DebtInstrumentAxis_b146cb45-59cd-42ce-b2ac-19a6279025e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_b146cb45-59cd-42ce-b2ac-19a6279025e5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_b146cb45-59cd-42ce-b2ac-19a6279025e5" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_b146cb45-59cd-42ce-b2ac-19a6279025e5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_b146cb45-59cd-42ce-b2ac-19a6279025e5" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A3.375NotesPayabledue2022Member_c4a90d72-ae32-4bb2-9dbe-6e4c178a8ff7" xlink:href="oke-20220930.xsd#oke_A3.375NotesPayabledue2022Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A3.375NotesPayabledue2022Member_c4a90d72-ae32-4bb2-9dbe-6e4c178a8ff7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A5.0NotesPayabledue2023Member_c91a9936-5b1f-4d9a-a204-b999ee6c2055" xlink:href="oke-20220930.xsd#oke_A5.0NotesPayabledue2023Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A5.0NotesPayabledue2023Member_c91a9936-5b1f-4d9a-a204-b999ee6c2055" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A7.5NotesPayabledue2023Member_70829def-322d-421b-917e-ba3f2e01b41a" xlink:href="oke-20220930.xsd#oke_A7.5NotesPayabledue2023Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A7.5NotesPayabledue2023Member_70829def-322d-421b-917e-ba3f2e01b41a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A2.75NotesPayabledue2024Member_258b4e6d-6387-4847-9897-3b53f4b19c5e" xlink:href="oke-20220930.xsd#oke_A2.75NotesPayabledue2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A2.75NotesPayabledue2024Member_258b4e6d-6387-4847-9897-3b53f4b19c5e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A4.9NotesPayabledue2025Member_1e1cf253-b149-4e37-be3a-ec63398d9a67" xlink:href="oke-20220930.xsd#oke_A4.9NotesPayabledue2025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A4.9NotesPayabledue2025Member_1e1cf253-b149-4e37-be3a-ec63398d9a67" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A2.2NotesPayabledue2025Member_7a156822-9566-4412-a02b-30d6d3f9a13e" xlink:href="oke-20220930.xsd#oke_A2.2NotesPayabledue2025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A2.2NotesPayabledue2025Member_7a156822-9566-4412-a02b-30d6d3f9a13e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A5.85NotesPayabledue2026Member_7dafc41f-9336-4a24-a5f5-48211fb27743" xlink:href="oke-20220930.xsd#oke_A5.85NotesPayabledue2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A5.85NotesPayabledue2026Member_7dafc41f-9336-4a24-a5f5-48211fb27743" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A4.0NotesPayabledue2027Member_5c9679f0-2be0-466f-9131-e5d735795942" xlink:href="oke-20220930.xsd#oke_A4.0NotesPayabledue2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A4.0NotesPayabledue2027Member_5c9679f0-2be0-466f-9131-e5d735795942" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A4.55NotesPayabledue2028Member_f1e3e2da-9b53-4e78-a0a2-6ed5649dbe56" xlink:href="oke-20220930.xsd#oke_A4.55NotesPayabledue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A4.55NotesPayabledue2028Member_f1e3e2da-9b53-4e78-a0a2-6ed5649dbe56" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A6.875NotesPayabledue2028Member_55b17b48-bd5f-40fd-a55a-100f669002b3" xlink:href="oke-20220930.xsd#oke_A6.875NotesPayabledue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A6.875NotesPayabledue2028Member_55b17b48-bd5f-40fd-a55a-100f669002b3" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A4.35NotesPayabledue2029Member_db660657-2440-4fc6-a19f-4aa8e81a1b02" xlink:href="oke-20220930.xsd#oke_A4.35NotesPayabledue2029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A4.35NotesPayabledue2029Member_db660657-2440-4fc6-a19f-4aa8e81a1b02" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A3.4NotesPayabledue2029Member_da8634bf-ff17-4a0e-bf89-7045ced344d2" xlink:href="oke-20220930.xsd#oke_A3.4NotesPayabledue2029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A3.4NotesPayabledue2029Member_da8634bf-ff17-4a0e-bf89-7045ced344d2" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A3.1NotesPayabledue2030Member_e60b1baf-7f00-4237-aaa9-9b36d68c943a" xlink:href="oke-20220930.xsd#oke_A3.1NotesPayabledue2030Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A3.1NotesPayabledue2030Member_e60b1baf-7f00-4237-aaa9-9b36d68c943a" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A6.35NotesPayabledue2031Member_b8b5ec8b-5699-482a-b502-48994f05810b" xlink:href="oke-20220930.xsd#oke_A6.35NotesPayabledue2031Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A6.35NotesPayabledue2031Member_b8b5ec8b-5699-482a-b502-48994f05810b" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A6.0NotesPayabledue2035Member_cb549142-4b6c-4dee-b93c-419dc5064966" xlink:href="oke-20220930.xsd#oke_A6.0NotesPayabledue2035Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A6.0NotesPayabledue2035Member_cb549142-4b6c-4dee-b93c-419dc5064966" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A6.65NotesPayabledue2036Member_6ca35ab2-3776-462a-83b7-ca86c64de118" xlink:href="oke-20220930.xsd#oke_A6.65NotesPayabledue2036Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A6.65NotesPayabledue2036Member_6ca35ab2-3776-462a-83b7-ca86c64de118" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A6.85NotesPayabledue2037Member_f26d054f-48a4-49a3-ac5b-b6dea72a3cab" xlink:href="oke-20220930.xsd#oke_A6.85NotesPayabledue2037Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A6.85NotesPayabledue2037Member_f26d054f-48a4-49a3-ac5b-b6dea72a3cab" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A6.125NotesPayabledue2041Member_b4b53c47-5c38-4452-9503-b3511378800d" xlink:href="oke-20220930.xsd#oke_A6.125NotesPayabledue2041Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A6.125NotesPayabledue2041Member_b4b53c47-5c38-4452-9503-b3511378800d" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A6.2NotesPayabledue2043Member_e4a0d765-e0ef-4043-b247-fa7c1106751b" xlink:href="oke-20220930.xsd#oke_A6.2NotesPayabledue2043Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A6.2NotesPayabledue2043Member_e4a0d765-e0ef-4043-b247-fa7c1106751b" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A4.95NotesPayabledue2047Member_6b22bd7f-84a5-445b-9245-f84dc440d47b" xlink:href="oke-20220930.xsd#oke_A4.95NotesPayabledue2047Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A4.95NotesPayabledue2047Member_6b22bd7f-84a5-445b-9245-f84dc440d47b" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A5.2NotesPayabledue2048Member_7089e9a4-5809-482e-ad12-f9de150e547f" xlink:href="oke-20220930.xsd#oke_A5.2NotesPayabledue2048Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A5.2NotesPayabledue2048Member_7089e9a4-5809-482e-ad12-f9de150e547f" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A4.45NotesPayabledue2049Member_dec5d722-f886-452a-bd32-58a39cd0dd69" xlink:href="oke-20220930.xsd#oke_A4.45NotesPayabledue2049Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A4.45NotesPayabledue2049Member_dec5d722-f886-452a-bd32-58a39cd0dd69" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A4.5NotesPayabledue2050Member_e127d225-229b-4339-94e7-d1642d557405" xlink:href="oke-20220930.xsd#oke_A4.5NotesPayabledue2050Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A4.5NotesPayabledue2050Member_e127d225-229b-4339-94e7-d1642d557405" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A7.15NotesPayabledue2051Member_b775da18-deeb-486b-9150-05de8ac23265" xlink:href="oke-20220930.xsd#oke_A7.15NotesPayabledue2051Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_A7.15NotesPayabledue2051Member_b775da18-deeb-486b-9150-05de8ac23265" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NotesPayableDue2025Member_1fede028-cd28-41cc-8be0-2d1375b12ed2" xlink:href="oke-20220930.xsd#oke_NotesPayableDue2025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3a3d6ad7-f900-4209-a90c-3f43f538455d" xlink:to="loc_oke_NotesPayableDue2025Member_1fede028-cd28-41cc-8be0-2d1375b12ed2" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_2f880d6e-a470-44f4-9db3-e2e7151a391c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d8e71edc-f717-4fb5-94b3-ce704b11d9dc" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_2f880d6e-a470-44f4-9db3-e2e7151a391c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_2f880d6e-a470-44f4-9db3-e2e7151a391c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_2f880d6e-a470-44f4-9db3-e2e7151a391c" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_2f880d6e-a470-44f4-9db3-e2e7151a391c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_926b45a2-2a9e-4f1a-8edc-2accd52acc4f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_2f880d6e-a470-44f4-9db3-e2e7151a391c" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_926b45a2-2a9e-4f1a-8edc-2accd52acc4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_A2.5BillionCreditAgreementMember_e73be3dc-4700-45db-b0a7-d2376a205082" xlink:href="oke-20220930.xsd#oke_A2.5BillionCreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_926b45a2-2a9e-4f1a-8edc-2accd52acc4f" xlink:to="loc_oke_A2.5BillionCreditAgreementMember_e73be3dc-4700-45db-b0a7-d2376a205082" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_GuardianPipelineMember_82d20bf4-bb07-48ab-a478-5a200d359749" xlink:href="oke-20220930.xsd#oke_GuardianPipelineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_926b45a2-2a9e-4f1a-8edc-2accd52acc4f" xlink:to="loc_oke_GuardianPipelineMember_82d20bf4-bb07-48ab-a478-5a200d359749" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_GuardianTermLoanAgreement_385f9b17-2ab3-4668-974a-58a3d3b33082" xlink:href="oke-20220930.xsd#oke_GuardianTermLoanAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_926b45a2-2a9e-4f1a-8edc-2accd52acc4f" xlink:to="loc_oke_GuardianTermLoanAgreement_385f9b17-2ab3-4668-974a-58a3d3b33082" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_b0fb9763-542a-4aba-bb13-2b7a4ae84603" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d8e71edc-f717-4fb5-94b3-ce704b11d9dc" xlink:to="loc_us-gaap_VariableRateAxis_b0fb9763-542a-4aba-bb13-2b7a4ae84603" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_b0fb9763-542a-4aba-bb13-2b7a4ae84603_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_b0fb9763-542a-4aba-bb13-2b7a4ae84603" xlink:to="loc_us-gaap_VariableRateDomain_b0fb9763-542a-4aba-bb13-2b7a4ae84603_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_b58324c9-e89e-4f9d-8fb6-77143584a71b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_b0fb9763-542a-4aba-bb13-2b7a4ae84603" xlink:to="loc_us-gaap_VariableRateDomain_b58324c9-e89e-4f9d-8fb6-77143584a71b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_VariableRateMember_a080ba44-7d66-4a76-88dc-0ad80bf8aa41" xlink:href="oke-20220930.xsd#oke_VariableRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_b58324c9-e89e-4f9d-8fb6-77143584a71b" xlink:to="loc_oke_VariableRateMember_a080ba44-7d66-4a76-88dc-0ad80bf8aa41" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_47f07e1d-ed51-4914-bbdb-ec02083634de" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d8e71edc-f717-4fb5-94b3-ce704b11d9dc" xlink:to="loc_dei_LegalEntityAxis_47f07e1d-ed51-4914-bbdb-ec02083634de" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_47f07e1d-ed51-4914-bbdb-ec02083634de_default" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_47f07e1d-ed51-4914-bbdb-ec02083634de" xlink:to="loc_dei_EntityDomain_47f07e1d-ed51-4914-bbdb-ec02083634de_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_1d59008b-a724-47e3-aa57-27cf832a8247" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_47f07e1d-ed51-4914-bbdb-ec02083634de" xlink:to="loc_dei_EntityDomain_1d59008b-a724-47e3-aa57-27cf832a8247" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_GuardianPipelineMember_e55d50d6-bf2d-4fdb-979b-d34f2eb3bd0b" xlink:href="oke-20220930.xsd#oke_GuardianPipelineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_1d59008b-a724-47e3-aa57-27cf832a8247" xlink:to="loc_oke_GuardianPipelineMember_e55d50d6-bf2d-4fdb-979b-d34f2eb3bd0b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_e6b7a6ce-b3d6-4314-bf74-49cab2a5c3ec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d8e71edc-f717-4fb5-94b3-ce704b11d9dc" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_e6b7a6ce-b3d6-4314-bf74-49cab2a5c3ec" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_e6b7a6ce-b3d6-4314-bf74-49cab2a5c3ec_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_e6b7a6ce-b3d6-4314-bf74-49cab2a5c3ec" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_e6b7a6ce-b3d6-4314-bf74-49cab2a5c3ec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_879f6362-8600-4915-b926-cbbc2fad90c1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_e6b7a6ce-b3d6-4314-bf74-49cab2a5c3ec" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_879f6362-8600-4915-b926-cbbc2fad90c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_e8939afe-b863-4ccb-b58d-174a56f2540a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_879f6362-8600-4915-b926-cbbc2fad90c1" xlink:to="loc_us-gaap_SubsequentEventMember_e8939afe-b863-4ccb-b58d-174a56f2540a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/EQUITYDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#EQUITYDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/EQUITYDetails" xlink:type="extended" id="i4af0aa3b08b7435b91b427cb7b49f109_EQUITYDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_de72e557-f79a-4ce7-a1cc-ed349353a2a7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockDividendsPerShareCashPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_de72e557-f79a-4ce7-a1cc-ed349353a2a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_ad6584ec-cb90-468d-9862-7cfd202e818f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockDividendsPerShareDeclared"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_ad6584ec-cb90-468d-9862-7cfd202e818f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_5c2cf1ee-13eb-4ca6-b8da-5e963835b37e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPayableDateOfRecordDayMonthAndYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:to="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_5c2cf1ee-13eb-4ca6-b8da-5e963835b37e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_02ee3d73-0097-4280-ad5e-2e1d080402af" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendPayableDateToBePaidDayMonthAndYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_02ee3d73-0097-4280-ad5e-2e1d080402af" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendRatePercentage_a8bf2d88-9c8c-45b6-ba1e-5efe7d613b13" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PreferredStockDividendRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:to="loc_us-gaap_PreferredStockDividendRatePercentage_a8bf2d88-9c8c-45b6-ba1e-5efe7d613b13" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStockCash_e46dcc24-8b60-4e67-a74b-5f2e9bb3e6ef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPreferredStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:to="loc_us-gaap_DividendsPreferredStockCash_e46dcc24-8b60-4e67-a74b-5f2e9bb3e6ef" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStock_b6f140c6-fe2f-49fa-8c5b-932212bd527a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsPreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:to="loc_us-gaap_DividendsPreferredStock_b6f140c6-fe2f-49fa-8c5b-932212bd527a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_b7f45e4c-e6f6-417d-a721-67d8d3f943f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_7d48be6b-dfe9-44a6-9730-8b28481b318e" xlink:to="loc_us-gaap_StatementTable_b7f45e4c-e6f6-417d-a721-67d8d3f943f0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_3cab6473-0ad9-42fd-a1eb-ad443d920f9f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_b7f45e4c-e6f6-417d-a721-67d8d3f943f0" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_3cab6473-0ad9-42fd-a1eb-ad443d920f9f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_3cab6473-0ad9-42fd-a1eb-ad443d920f9f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_3cab6473-0ad9-42fd-a1eb-ad443d920f9f" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_3cab6473-0ad9-42fd-a1eb-ad443d920f9f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_536d24b3-a688-49b2-9e66-d7cedeaa8f00" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_3cab6473-0ad9-42fd-a1eb-ad443d920f9f" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_536d24b3-a688-49b2-9e66-d7cedeaa8f00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_e10db43e-d42c-4bbe-b49f-273f2f3c4e10" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_536d24b3-a688-49b2-9e66-d7cedeaa8f00" xlink:to="loc_us-gaap_SubsequentEventMember_e10db43e-d42c-4bbe-b49f-273f2f3c4e10" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_4c99fafc-7514-4a2c-8ad8-53321f08ba0c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_b7f45e4c-e6f6-417d-a721-67d8d3f943f0" xlink:to="loc_us-gaap_StatementClassOfStockAxis_4c99fafc-7514-4a2c-8ad8-53321f08ba0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_4c99fafc-7514-4a2c-8ad8-53321f08ba0c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4c99fafc-7514-4a2c-8ad8-53321f08ba0c" xlink:to="loc_us-gaap_ClassOfStockDomain_4c99fafc-7514-4a2c-8ad8-53321f08ba0c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_85704bf8-bcb1-4bf0-8d07-d671dac01194" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4c99fafc-7514-4a2c-8ad8-53321f08ba0c" xlink:to="loc_us-gaap_ClassOfStockDomain_85704bf8-bcb1-4bf0-8d07-d671dac01194" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesEPreferredStockMember_980e0373-100c-4ad5-9fd8-8e7be78c5905" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SeriesEPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_85704bf8-bcb1-4bf0-8d07-d671dac01194" xlink:to="loc_us-gaap_SeriesEPreferredStockMember_980e0373-100c-4ad5-9fd8-8e7be78c5905" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_2e414d3c-c0df-4c66-ab31-854e7411ce11" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_b7f45e4c-e6f6-417d-a721-67d8d3f943f0" xlink:to="loc_dei_LegalEntityAxis_2e414d3c-c0df-4c66-ab31-854e7411ce11" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_2e414d3c-c0df-4c66-ab31-854e7411ce11_default" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_2e414d3c-c0df-4c66-ab31-854e7411ce11" xlink:to="loc_dei_EntityDomain_2e414d3c-c0df-4c66-ab31-854e7411ce11_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_d2c4e805-5618-4134-87d9-7bc1788f10ec" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_2e414d3c-c0df-4c66-ab31-854e7411ce11" xlink:to="loc_dei_EntityDomain_d2c4e805-5618-4134-87d9-7bc1788f10ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ONEOKMember_fd9b7c19-8ad6-4280-9c5e-37e06caa712a" xlink:href="oke-20220930.xsd#oke_ONEOKMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d2c4e805-5618-4134-87d9-7bc1788f10ec" xlink:to="loc_oke_ONEOKMember_fd9b7c19-8ad6-4280-9c5e-37e06caa712a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_6d1aaf48-acd4-4288-b66b-8052653d38ab" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_b7f45e4c-e6f6-417d-a721-67d8d3f943f0" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6d1aaf48-acd4-4288-b66b-8052653d38ab" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_6d1aaf48-acd4-4288-b66b-8052653d38ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6d1aaf48-acd4-4288-b66b-8052653d38ab" xlink:to="loc_us-gaap_EquityComponentDomain_6d1aaf48-acd4-4288-b66b-8052653d38ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_044031c9-9c96-4933-b239-613e1b39266f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6d1aaf48-acd4-4288-b66b-8052653d38ab" xlink:to="loc_us-gaap_EquityComponentDomain_044031c9-9c96-4933-b239-613e1b39266f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_IssuedUnderEquityAgreementMember_f44741d2-d917-4959-9cfb-f5f0d88c4869" xlink:href="oke-20220930.xsd#oke_IssuedUnderEquityAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_044031c9-9c96-4933-b239-613e1b39266f" xlink:to="loc_oke_IssuedUnderEquityAgreementMember_f44741d2-d917-4959-9cfb-f5f0d88c4869" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSDetails" xlink:type="extended" id="i4fa456181e764dee8e2a605fc3623e69_ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax_17a65eba-6cf9-480b-8b0b-a0b4a6143213" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax_17a65eba-6cf9-480b-8b0b-a0b4a6143213" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_fb4961c1-52eb-4f56-80ea-4b2ecae8b392" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_fb4961c1-52eb-4f56-80ea-4b2ecae8b392" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_AccumulatedOtherComprehensiveIncomeLossCumulativeChangeinOtherComprehensiveIncomeLossfromEquityMethodInvestmentsEffectNetofTax_0ce5ed81-4f22-4712-856b-3428c3431130" xlink:href="oke-20220930.xsd#oke_AccumulatedOtherComprehensiveIncomeLossCumulativeChangeinOtherComprehensiveIncomeLossfromEquityMethodInvestmentsEffectNetofTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_AccumulatedOtherComprehensiveIncomeLossCumulativeChangeinOtherComprehensiveIncomeLossfromEquityMethodInvestmentsEffectNetofTax_0ce5ed81-4f22-4712-856b-3428c3431130" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_3bf7ea94-e97f-4e97-a1f1-abbfe8fa0396" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_3bf7ea94-e97f-4e97-a1f1-abbfe8fa0396" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_081ba55e-3410-4006-95f1-f6a3f4d9491f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_081ba55e-3410-4006-95f1-f6a3f4d9491f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_bca5bee6-275b-45c6-912f-83264732da8f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_bca5bee6-275b-45c6-912f-83264732da8f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherComprehensiveIncomeLossAmountAttributabletoEquityMethodInvestmentsbeforeReclassificationAdjustmentsNetofTax_5ad69d80-f79f-4424-935b-a760280cdc2f" xlink:href="oke-20220930.xsd#oke_OtherComprehensiveIncomeLossAmountAttributabletoEquityMethodInvestmentsbeforeReclassificationAdjustmentsNetofTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_OtherComprehensiveIncomeLossAmountAttributabletoEquityMethodInvestmentsbeforeReclassificationAdjustmentsNetofTax_5ad69d80-f79f-4424-935b-a760280cdc2f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherComprehensiveIncomeLossBeforeReclassifications_34f6e783-60dd-4590-8dc1-b88afd76b169" xlink:href="oke-20220930.xsd#oke_OtherComprehensiveIncomeLossBeforeReclassifications"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_OtherComprehensiveIncomeLossBeforeReclassifications_34f6e783-60dd-4590-8dc1-b88afd76b169" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_e2d044d4-e3e4-42e6-8ed3-143df0ce3b99" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_e2d044d4-e3e4-42e6-8ed3-143df0ce3b99" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax_c160c2ad-ad74-419a-9fd0-75bcafd5493c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax_c160c2ad-ad74-419a-9fd0-75bcafd5493c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherComprehensiveIncomeLossReclassificationAdjustmentfromAOCIforOtherComprehensiveIncomeAttributabletoEquityMethodInvestmentsNetofTax_be6878dd-2388-446b-86e3-f19439a72a8b" xlink:href="oke-20220930.xsd#oke_OtherComprehensiveIncomeLossReclassificationAdjustmentfromAOCIforOtherComprehensiveIncomeAttributabletoEquityMethodInvestmentsNetofTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_OtherComprehensiveIncomeLossReclassificationAdjustmentfromAOCIforOtherComprehensiveIncomeAttributabletoEquityMethodInvestmentsNetofTax_be6878dd-2388-446b-86e3-f19439a72a8b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherComprehensiveIncomeLossReclassificationAdjustmentIncludedInNetIncomeNetOfTax_861d9c5d-04c6-423e-8eab-df03c0e67b6c" xlink:href="oke-20220930.xsd#oke_OtherComprehensiveIncomeLossReclassificationAdjustmentIncludedInNetIncomeNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_OtherComprehensiveIncomeLossReclassificationAdjustmentIncludedInNetIncomeNetOfTax_861d9c5d-04c6-423e-8eab-df03c0e67b6c" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_72f1d23f-8e04-49b1-a7db-487dc7d0852f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossDerivativesQualifyingAsHedgesNetOfTax_72f1d23f-8e04-49b1-a7db-487dc7d0852f" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_bc98da64-d9c8-4500-adac-363553652fee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_bc98da64-d9c8-4500-adac-363553652fee" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTaxAttributabletoParent_be2e3781-8934-4e46-881b-ddc2cb4ac4c1" xlink:href="oke-20220930.xsd#oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTaxAttributabletoParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_OtherComprehensiveIncomeLossPortionAttributabletoEquityMethodInvestmentsNetofTaxAttributabletoParent_be2e3781-8934-4e46-881b-ddc2cb4ac4c1" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_bb8339ff-86ec-4ba1-8932-2bcf018028ae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_bb8339ff-86ec-4ba1-8932-2bcf018028ae" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax_9fd8f8c0-d840-45ea-900f-1da55e8ffa11" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_a3097d09-56bd-4e84-8a4a-921962aa5ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_AccumulatedOtherComprehensiveIncomeLossCumulativeChangeinOtherComprehensiveIncomeLossfromEquityMethodInvestmentsEffectNetofTax_35718f21-0e15-41c4-bf9d-0e12ad3eb381" xlink:href="oke-20220930.xsd#oke_AccumulatedOtherComprehensiveIncomeLossCumulativeChangeinOtherComprehensiveIncomeLossfromEquityMethodInvestmentsEffectNetofTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_43d54e41-7389-4b31-a08e-18a35d01b061" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_UnrealizedGainLossOnCashFlowHedgesNetOfTaxAccumulatedOtherComprehensiveIncomeLoss_8dc95d8b-b441-47cf-ad34-3f8e0637d9a0" xlink:href="oke-20220930.xsd#oke_UnrealizedGainLossOnCashFlowHedgesNetOfTaxAccumulatedOtherComprehensiveIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_UnrealizedGainLossOnCashFlowHedgesNetOfTaxAccumulatedOtherComprehensiveIncomeLoss_8dc95d8b-b441-47cf-ad34-3f8e0637d9a0" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_AmountOfAccumulatedOtherComprehensiveIncomeLossAttributablePrimarilyToSettledInterestRateSwaps_ecbbc8b8-9f4f-4bcd-b509-f7be1b21ff9a" xlink:href="oke-20220930.xsd#oke_AmountOfAccumulatedOtherComprehensiveIncomeLossAttributablePrimarilyToSettledInterestRateSwaps"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_AmountOfAccumulatedOtherComprehensiveIncomeLossAttributablePrimarilyToSettledInterestRateSwaps_ecbbc8b8-9f4f-4bcd-b509-f7be1b21ff9a" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_Amountofaccumulatedothercomprehensiveincomelossattributableprimarilytoforwardstartinginterestrateswaps._a556935f-da3b-4702-98f1-02ffa333e7b0" xlink:href="oke-20220930.xsd#oke_Amountofaccumulatedothercomprehensiveincomelossattributableprimarilytoforwardstartinginterestrateswaps."/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_oke_Amountofaccumulatedothercomprehensiveincomelossattributableprimarilytoforwardstartinginterestrateswaps._a556935f-da3b-4702-98f1-02ffa333e7b0" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PriceRiskCashFlowHedgeUnrealizedGainLossToBeReclassifiedDuringNext12Months_2004bf61-e839-40c1-9aba-e4827839f074" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PriceRiskCashFlowHedgeUnrealizedGainLossToBeReclassifiedDuringNext12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_PriceRiskCashFlowHedgeUnrealizedGainLossToBeReclassifiedDuringNext12Months_2004bf61-e839-40c1-9aba-e4827839f074" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet_4b2a5b76-72cd-427c-9b88-ccfeac6b7924" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet_4b2a5b76-72cd-427c-9b88-ccfeac6b7924" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_7cc1e3ed-0969-4b1e-90d8-21b0e051295b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_9bace4b8-2836-4100-9181-faa8571e186c" xlink:to="loc_us-gaap_StatementTable_7cc1e3ed-0969-4b1e-90d8-21b0e051295b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6b7592b8-82c9-48af-aaeb-d94d7655c42e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7cc1e3ed-0969-4b1e-90d8-21b0e051295b" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6b7592b8-82c9-48af-aaeb-d94d7655c42e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_6b7592b8-82c9-48af-aaeb-d94d7655c42e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6b7592b8-82c9-48af-aaeb-d94d7655c42e" xlink:to="loc_us-gaap_HedgingRelationshipDomain_6b7592b8-82c9-48af-aaeb-d94d7655c42e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_bb1099ca-a6ee-4b2c-99e3-4161c8e07583" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_6b7592b8-82c9-48af-aaeb-d94d7655c42e" xlink:to="loc_us-gaap_HedgingRelationshipDomain_bb1099ca-a6ee-4b2c-99e3-4161c8e07583" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_cd66f097-ffc8-40e2-b15a-f63f98704007" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_bb1099ca-a6ee-4b2c-99e3-4161c8e07583" xlink:to="loc_us-gaap_CashFlowHedgingMember_cd66f097-ffc8-40e2-b15a-f63f98704007" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_c45ca2f7-aa7a-4256-b9fc-180bac557001" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7cc1e3ed-0969-4b1e-90d8-21b0e051295b" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_c45ca2f7-aa7a-4256-b9fc-180bac557001" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c45ca2f7-aa7a-4256-b9fc-180bac557001_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c45ca2f7-aa7a-4256-b9fc-180bac557001" xlink:to="loc_us-gaap_EquityComponentDomain_c45ca2f7-aa7a-4256-b9fc-180bac557001_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_6079ccc2-c0f2-41b4-b620-22b1e0599fd8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c45ca2f7-aa7a-4256-b9fc-180bac557001" xlink:to="loc_us-gaap_EquityComponentDomain_6079ccc2-c0f2-41b4-b620-22b1e0599fd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_dbd99942-d01f-4997-b353-921f98de3f87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_6079ccc2-c0f2-41b4-b620-22b1e0599fd8" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_dbd99942-d01f-4997-b353-921f98de3f87" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_4f3adb52-e468-4c9d-bdd9-ae7a63000af5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7cc1e3ed-0969-4b1e-90d8-21b0e051295b" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_4f3adb52-e468-4c9d-bdd9-ae7a63000af5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_4f3adb52-e468-4c9d-bdd9-ae7a63000af5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_4f3adb52-e468-4c9d-bdd9-ae7a63000af5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_4f3adb52-e468-4c9d-bdd9-ae7a63000af5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_94534106-c816-42f6-9803-841ebc9d64cd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_4f3adb52-e468-4c9d-bdd9-ae7a63000af5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_94534106-c816-42f6-9803-841ebc9d64cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityContractMember_8c7e92d0-5984-4acd-924d-ebbb4c9a4dfc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommodityContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_94534106-c816-42f6-9803-841ebc9d64cd" xlink:to="loc_us-gaap_CommodityContractMember_8c7e92d0-5984-4acd-924d-ebbb4c9a4dfc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember_400a8728-4a50-4438-94c9-9cc51b99da72" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestRateContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_94534106-c816-42f6-9803-841ebc9d64cd" xlink:to="loc_us-gaap_InterestRateContractMember_400a8728-4a50-4438-94c9-9cc51b99da72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForwardContractsMember_9e51c497-31b7-4f02-a31a-efde8f008188" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForwardContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_94534106-c816-42f6-9803-841ebc9d64cd" xlink:to="loc_us-gaap_ForwardContractsMember_9e51c497-31b7-4f02-a31a-efde8f008188" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/EARNINGSPERSHAREEARNINGSPERSHAREDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#EARNINGSPERSHAREEARNINGSPERSHAREDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/EARNINGSPERSHAREEARNINGSPERSHAREDetails" xlink:type="extended" id="i81f6ef2d3744485b9950575eeeff1b19_EARNINGSPERSHAREEARNINGSPERSHAREDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_16abbf05-6b1a-45c0-b8b2-5b221f9a2821" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_a02c4c17-3c9b-42f1-a83f-ba369c5afaa1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_16abbf05-6b1a-45c0-b8b2-5b221f9a2821" xlink:to="loc_us-gaap_StatementTable_a02c4c17-3c9b-42f1-a83f-ba369c5afaa1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_9c1f39a3-1909-48d3-bc1a-ddde38350e44" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a02c4c17-3c9b-42f1-a83f-ba369c5afaa1" xlink:to="loc_srt_StatementScenarioAxis_9c1f39a3-1909-48d3-bc1a-ddde38350e44" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_9c1f39a3-1909-48d3-bc1a-ddde38350e44_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_9c1f39a3-1909-48d3-bc1a-ddde38350e44" xlink:to="loc_srt_ScenarioUnspecifiedDomain_9c1f39a3-1909-48d3-bc1a-ddde38350e44_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_3eddbd15-98e5-4195-92bc-0b1ab662cafa" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_9c1f39a3-1909-48d3-bc1a-ddde38350e44" xlink:to="loc_srt_ScenarioUnspecifiedDomain_3eddbd15-98e5-4195-92bc-0b1ab662cafa" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/EMPLOYEEBENEFITPLANSEMPLOYEEBENEFITPLANSDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#EMPLOYEEBENEFITPLANSEMPLOYEEBENEFITPLANSDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/EMPLOYEEBENEFITPLANSEMPLOYEEBENEFITPLANSDetails" xlink:type="extended" id="i7a6dbc5326454f7483734d72aeb735f1_EMPLOYEEBENEFITPLANSEMPLOYEEBENEFITPLANSDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_66f59294-a07b-4c41-b4d3-95bc0579bc3e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_2c9081b6-747f-4ee6-a354-41c6e42972b3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_66f59294-a07b-4c41-b4d3-95bc0579bc3e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossTax_2c9081b6-747f-4ee6-a354-41c6e42972b3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_c479a320-790d-42af-af39-add28f7937d3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_66f59294-a07b-4c41-b4d3-95bc0579bc3e" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_c479a320-790d-42af-af39-add28f7937d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_830cbd21-d2bb-4c60-8c85-f4831630613b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_66f59294-a07b-4c41-b4d3-95bc0579bc3e" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_830cbd21-d2bb-4c60-8c85-f4831630613b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_0e211bf3-832b-4e3d-9107-831e64e147f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_830cbd21-d2bb-4c60-8c85-f4831630613b" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_0e211bf3-832b-4e3d-9107-831e64e147f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_0e211bf3-832b-4e3d-9107-831e64e147f6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0e211bf3-832b-4e3d-9107-831e64e147f6" xlink:to="loc_us-gaap_EquityComponentDomain_0e211bf3-832b-4e3d-9107-831e64e147f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_d0f8a488-8ced-4fa7-aa91-4be79945d0d9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0e211bf3-832b-4e3d-9107-831e64e147f6" xlink:to="loc_us-gaap_EquityComponentDomain_d0f8a488-8ced-4fa7-aa91-4be79945d0d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_a69326d4-08b9-42f4-9d8d-c7a306d28404" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_d0f8a488-8ced-4fa7-aa91-4be79945d0d9" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_a69326d4-08b9-42f4-9d8d-c7a306d28404" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#UNCONSOLIDATEDAFFILIATESDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/UNCONSOLIDATEDAFFILIATESDetails" xlink:type="extended" id="i9b52428c61c7425990d49a2a0db41053_UNCONSOLIDATEDAFFILIATESDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_7cf4ca28-f76e-4e1b-af8f-0c2220a7ea97" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_35c6e5dd-2d35-4c02-974b-8216ac6cd752" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_7cf4ca28-f76e-4e1b-af8f-0c2220a7ea97" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_35c6e5dd-2d35-4c02-974b-8216ac6cd752" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_3b241fbe-d8c8-4f40-b5bb-731390f74be3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_7cf4ca28-f76e-4e1b-af8f-0c2220a7ea97" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_3b241fbe-d8c8-4f40-b5bb-731390f74be3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_8154cc3c-dea5-4e3c-80e1-7b5b3cc416a1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_7cf4ca28-f76e-4e1b-af8f-0c2220a7ea97" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_8154cc3c-dea5-4e3c-80e1-7b5b3cc416a1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameAxis_37d9b96c-c7ab-4482-92d3-7472c3fc71ac" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_8154cc3c-dea5-4e3c-80e1-7b5b3cc416a1" xlink:to="loc_oke_ReportableSegmentByNameAxis_37d9b96c-c7ab-4482-92d3-7472c3fc71ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameDomain_37d9b96c-c7ab-4482-92d3-7472c3fc71ac_default" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_ReportableSegmentByNameAxis_37d9b96c-c7ab-4482-92d3-7472c3fc71ac" xlink:to="loc_oke_ReportableSegmentByNameDomain_37d9b96c-c7ab-4482-92d3-7472c3fc71ac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameDomain_48ec9cac-bb6e-4d89-9e6c-054ce41ae4d6" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_ReportableSegmentByNameAxis_37d9b96c-c7ab-4482-92d3-7472c3fc71ac" xlink:to="loc_oke_ReportableSegmentByNameDomain_48ec9cac-bb6e-4d89-9e6c-054ce41ae4d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasLiquidsMember_f18dbeda-fce9-4ee0-b545-7606156e501b" xlink:href="oke-20220930.xsd#oke_NaturalGasLiquidsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_ReportableSegmentByNameDomain_48ec9cac-bb6e-4d89-9e6c-054ce41ae4d6" xlink:to="loc_oke_NaturalGasLiquidsMember_f18dbeda-fce9-4ee0-b545-7606156e501b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasGatheringAndProcessingMember_d2377f8a-d53b-4a8d-910f-27a5cab80912" xlink:href="oke-20220930.xsd#oke_NaturalGasGatheringAndProcessingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_ReportableSegmentByNameDomain_48ec9cac-bb6e-4d89-9e6c-054ce41ae4d6" xlink:to="loc_oke_NaturalGasGatheringAndProcessingMember_d2377f8a-d53b-4a8d-910f-27a5cab80912" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OperationsAreaAxis_1252eff4-827a-4294-bb84-f62ed0e4c4ed" xlink:href="oke-20220930.xsd#oke_OperationsAreaAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_8154cc3c-dea5-4e3c-80e1-7b5b3cc416a1" xlink:to="loc_oke_OperationsAreaAxis_1252eff4-827a-4294-bb84-f62ed0e4c4ed" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OperationsAreaDomain_1252eff4-827a-4294-bb84-f62ed0e4c4ed_default" xlink:href="oke-20220930.xsd#oke_OperationsAreaDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_OperationsAreaAxis_1252eff4-827a-4294-bb84-f62ed0e4c4ed" xlink:to="loc_oke_OperationsAreaDomain_1252eff4-827a-4294-bb84-f62ed0e4c4ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OperationsAreaDomain_0883e985-ef48-4059-982e-b3dde16c793b" xlink:href="oke-20220930.xsd#oke_OperationsAreaDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_OperationsAreaAxis_1252eff4-827a-4294-bb84-f62ed0e4c4ed" xlink:to="loc_oke_OperationsAreaDomain_0883e985-ef48-4059-982e-b3dde16c793b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_ce166e67-c954-40e2-a2f6-e7d83a22857c" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_8154cc3c-dea5-4e3c-80e1-7b5b3cc416a1" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_ce166e67-c954-40e2-a2f6-e7d83a22857c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_ce166e67-c954-40e2-a2f6-e7d83a22857c_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_ce166e67-c954-40e2-a2f6-e7d83a22857c" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_ce166e67-c954-40e2-a2f6-e7d83a22857c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_30b82b66-a521-4a35-9289-3bb508c769ef" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_ce166e67-c954-40e2-a2f6-e7d83a22857c" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_30b82b66-a521-4a35-9289-3bb508c769ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NorthernBorderPipelineMember_601f9d90-d113-4f77-8a96-acf4cf252e0d" xlink:href="oke-20220930.xsd#oke_NorthernBorderPipelineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_30b82b66-a521-4a35-9289-3bb508c769ef" xlink:to="loc_oke_NorthernBorderPipelineMember_601f9d90-d113-4f77-8a96-acf4cf252e0d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RoadrunnerGasTransmissionMember_0173661d-bd1b-4d6c-acf0-bef71fba7e98" xlink:href="oke-20220930.xsd#oke_RoadrunnerGasTransmissionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_30b82b66-a521-4a35-9289-3bb508c769ef" xlink:to="loc_oke_RoadrunnerGasTransmissionMember_0173661d-bd1b-4d6c-acf0-bef71fba7e98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OverlandPassPipelineCompanyMember_b2b66e1a-e1e6-4150-a6d9-b1c7579665ec" xlink:href="oke-20220930.xsd#oke_OverlandPassPipelineCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_30b82b66-a521-4a35-9289-3bb508c769ef" xlink:to="loc_oke_OverlandPassPipelineCompanyMember_b2b66e1a-e1e6-4150-a6d9-b1c7579665ec" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherUnconsolidatedAffiliateMember_676a39da-675a-4608-bf07-a7001713a148" xlink:href="oke-20220930.xsd#oke_OtherUnconsolidatedAffiliateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_30b82b66-a521-4a35-9289-3bb508c769ef" xlink:to="loc_oke_OtherUnconsolidatedAffiliateMember_676a39da-675a-4608-bf07-a7001713a148" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_948ccd5b-fc41-40be-902d-dc04fea05c92" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_8154cc3c-dea5-4e3c-80e1-7b5b3cc416a1" xlink:to="loc_dei_LegalEntityAxis_948ccd5b-fc41-40be-902d-dc04fea05c92" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_948ccd5b-fc41-40be-902d-dc04fea05c92_default" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_948ccd5b-fc41-40be-902d-dc04fea05c92" xlink:to="loc_dei_EntityDomain_948ccd5b-fc41-40be-902d-dc04fea05c92_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_e1f08647-2646-4bed-99df-dde48b96506b" xlink:href="https://xbrl.sec.gov/dei/2022/dei-2022.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_948ccd5b-fc41-40be-902d-dc04fea05c92" xlink:to="loc_dei_EntityDomain_e1f08647-2646-4bed-99df-dde48b96506b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_UnconsolidatedAffiliatesMember_43cc1c34-1e1b-4848-b7b4-d0741f5c5cf6" xlink:href="oke-20220930.xsd#oke_UnconsolidatedAffiliatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_e1f08647-2646-4bed-99df-dde48b96506b" xlink:to="loc_oke_UnconsolidatedAffiliatesMember_43cc1c34-1e1b-4848-b7b4-d0741f5c5cf6" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/LEASESDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#LEASESDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/LEASESDetails" xlink:type="extended" id="ied7d525f62ab4b33904743d75d9a4671_LEASESDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_c2aa1adb-a497-4168-ad81-a354b3c25d61" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_cf515022-2dd9-4ab8-9de9-4b1794e0690c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_c2aa1adb-a497-4168-ad81-a354b3c25d61" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_cf515022-2dd9-4ab8-9de9-4b1794e0690c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_7afa50ae-d5ee-4a17-9fa6-96136257e477" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_c2aa1adb-a497-4168-ad81-a354b3c25d61" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_7afa50ae-d5ee-4a17-9fa6-96136257e477" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_f43e41d5-2a1a-4c8d-a2d2-b42a050b2ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_c2aa1adb-a497-4168-ad81-a354b3c25d61" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_f43e41d5-2a1a-4c8d-a2d2-b42a050b2ed1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_5bdf59e6-a461-48ae-8166-f1001acb67ec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_c2aa1adb-a497-4168-ad81-a354b3c25d61" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent_5bdf59e6-a461-48ae-8166-f1001acb67ec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_7e6865e6-4a38-44d8-9c10-ebb9527c1dec" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_c2aa1adb-a497-4168-ad81-a354b3c25d61" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_7e6865e6-4a38-44d8-9c10-ebb9527c1dec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/REVENUESDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#REVENUESDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/REVENUESDetails" xlink:type="extended" id="i663e018021da4d84ab8f128b1819cfc3_REVENUESDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_11413e0c-f7fd-4b9f-ac35-67a090f45082" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_4796bc15-fc75-4a43-b934-830cae0d56c3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_11413e0c-f7fd-4b9f-ac35-67a090f45082" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_4796bc15-fc75-4a43-b934-830cae0d56c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuePerformanceObligationDescriptionOfTiming_14b85ca5-af66-4b97-a937-9d582f761efd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenuePerformanceObligationDescriptionOfTiming"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_11413e0c-f7fd-4b9f-ac35-67a090f45082" xlink:to="loc_us-gaap_RevenuePerformanceObligationDescriptionOfTiming_14b85ca5-af66-4b97-a937-9d582f761efd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_eb256d56-9481-4e67-bde1-6e84295034e4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_11413e0c-f7fd-4b9f-ac35-67a090f45082" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_eb256d56-9481-4e67-bde1-6e84295034e4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RevenueRemainingPerformanceObligationAxis_c4b9a6ae-d214-45c5-9212-c92e0b475750" xlink:href="oke-20220930.xsd#oke_RevenueRemainingPerformanceObligationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_eb256d56-9481-4e67-bde1-6e84295034e4" xlink:to="loc_oke_RevenueRemainingPerformanceObligationAxis_c4b9a6ae-d214-45c5-9212-c92e0b475750" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RevenueRemainingPerformanceObligationDomain_c4b9a6ae-d214-45c5-9212-c92e0b475750_default" xlink:href="oke-20220930.xsd#oke_RevenueRemainingPerformanceObligationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_RevenueRemainingPerformanceObligationAxis_c4b9a6ae-d214-45c5-9212-c92e0b475750" xlink:to="loc_oke_RevenueRemainingPerformanceObligationDomain_c4b9a6ae-d214-45c5-9212-c92e0b475750_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RevenueRemainingPerformanceObligationDomain_56ef248d-4565-46e0-a41f-ad1476ddee74" xlink:href="oke-20220930.xsd#oke_RevenueRemainingPerformanceObligationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_RevenueRemainingPerformanceObligationAxis_c4b9a6ae-d214-45c5-9212-c92e0b475750" xlink:to="loc_oke_RevenueRemainingPerformanceObligationDomain_56ef248d-4565-46e0-a41f-ad1476ddee74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RemainingContractTermsMember_26c51363-99ee-4144-9e84-927712e40ae7" xlink:href="oke-20220930.xsd#oke_RemainingContractTermsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_RevenueRemainingPerformanceObligationDomain_56ef248d-4565-46e0-a41f-ad1476ddee74" xlink:to="loc_oke_RemainingContractTermsMember_26c51363-99ee-4144-9e84-927712e40ae7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_b101da9f-799f-4b81-92ee-9c22fd1ea9cd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_eb256d56-9481-4e67-bde1-6e84295034e4" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_b101da9f-799f-4b81-92ee-9c22fd1ea9cd" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/REVENUESDetails_1" xlink:type="simple" xlink:href="oke-20220930.xsd#REVENUESDetails_1"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/REVENUESDetails_1" xlink:type="extended" id="i34099fc02d1a40eb8532ae38da6ed4be_REVENUESDetails_1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_11413e0c-f7fd-4b9f-ac35-67a090f45082" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_4796bc15-fc75-4a43-b934-830cae0d56c3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_11413e0c-f7fd-4b9f-ac35-67a090f45082" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_4796bc15-fc75-4a43-b934-830cae0d56c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuePerformanceObligationDescriptionOfTiming_14b85ca5-af66-4b97-a937-9d582f761efd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenuePerformanceObligationDescriptionOfTiming"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_11413e0c-f7fd-4b9f-ac35-67a090f45082" xlink:to="loc_us-gaap_RevenuePerformanceObligationDescriptionOfTiming_14b85ca5-af66-4b97-a937-9d582f761efd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_eb256d56-9481-4e67-bde1-6e84295034e4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_11413e0c-f7fd-4b9f-ac35-67a090f45082" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_eb256d56-9481-4e67-bde1-6e84295034e4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RevenueRemainingPerformanceObligationAxis_c4b9a6ae-d214-45c5-9212-c92e0b475750" xlink:href="oke-20220930.xsd#oke_RevenueRemainingPerformanceObligationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_eb256d56-9481-4e67-bde1-6e84295034e4" xlink:to="loc_oke_RevenueRemainingPerformanceObligationAxis_c4b9a6ae-d214-45c5-9212-c92e0b475750" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RevenueRemainingPerformanceObligationDomain_c4b9a6ae-d214-45c5-9212-c92e0b475750_default" xlink:href="oke-20220930.xsd#oke_RevenueRemainingPerformanceObligationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_RevenueRemainingPerformanceObligationAxis_c4b9a6ae-d214-45c5-9212-c92e0b475750" xlink:to="loc_oke_RevenueRemainingPerformanceObligationDomain_c4b9a6ae-d214-45c5-9212-c92e0b475750_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RevenueRemainingPerformanceObligationDomain_56ef248d-4565-46e0-a41f-ad1476ddee74" xlink:href="oke-20220930.xsd#oke_RevenueRemainingPerformanceObligationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_RevenueRemainingPerformanceObligationAxis_c4b9a6ae-d214-45c5-9212-c92e0b475750" xlink:to="loc_oke_RevenueRemainingPerformanceObligationDomain_56ef248d-4565-46e0-a41f-ad1476ddee74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RemainingContractTermsMember_26c51363-99ee-4144-9e84-927712e40ae7" xlink:href="oke-20220930.xsd#oke_RemainingContractTermsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_RevenueRemainingPerformanceObligationDomain_56ef248d-4565-46e0-a41f-ad1476ddee74" xlink:to="loc_oke_RemainingContractTermsMember_26c51363-99ee-4144-9e84-927712e40ae7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.oneok.com/role/SEGMENTSDetails" xlink:type="simple" xlink:href="oke-20220930.xsd#SEGMENTSDetails"/>
  <link:definitionLink xlink:role="http://www.oneok.com/role/SEGMENTSDetails" xlink:type="extended" id="i0353ae93072244ccab1879650002ec72_SEGMENTSDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_68d29643-0f00-4a49-9281-9f49500074a1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6302b1e0-a4a2-421c-a431-a75953d5eab1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_68d29643-0f00-4a49-9281-9f49500074a1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6302b1e0-a4a2-421c-a431-a75953d5eab1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingInformationProfitLossAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_68d29643-0f00-4a49-9281-9f49500074a1" xlink:to="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_2d8fbfa9-cccf-41a4-b70b-1c5f8a7467d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_Revenues_2d8fbfa9-cccf-41a4-b70b-1c5f8a7467d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_46a39b2b-c647-4325-8e56-79bbc18bede6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CostOfRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_CostOfRevenue_46a39b2b-c647-4325-8e56-79bbc18bede6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DirectOperatingCosts_7aa2a3ec-1a1c-4b5a-a657-1f565977b7bb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DirectOperatingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_DirectOperatingCosts_7aa2a3ec-1a1c-4b5a-a657-1f565977b7bb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_a2ac090e-69f0-4e59-ab9d-1a7fb91ed783" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_a2ac090e-69f0-4e59-ab9d-1a7fb91ed783" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NoncashCompensationExpenseAndOther_1784c9b2-efd0-4ff9-9831-65a8328a273a" xlink:href="oke-20220930.xsd#oke_NoncashCompensationExpenseAndOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_oke_NoncashCompensationExpenseAndOther_1784c9b2-efd0-4ff9-9831-65a8328a273a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_AdjustedEBITDA_2daaf457-56de-47db-a0e4-e43695992cee" xlink:href="oke-20220930.xsd#oke_AdjustedEBITDA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_oke_AdjustedEBITDA_2daaf457-56de-47db-a0e4-e43695992cee" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_f4172ee8-6fc3-4c17-96a8-a5f18389dac3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_f4172ee8-6fc3-4c17-96a8-a5f18389dac3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_00f08296-5225-4d3a-adeb-fb4ebd994200" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_EquityMethodInvestments_00f08296-5225-4d3a-adeb-fb4ebd994200" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_e4a35c0a-bd76-45a4-a467-ec5b9fdf5dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_Assets_e4a35c0a-bd76-45a4-a467-ec5b9fdf5dcc" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_80e8ac82-d7f3-4c54-ab0f-60cb9fdcce32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_80e8ac82-d7f3-4c54-ab0f-60cb9fdcce32" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_15166777-1014-4404-bb25-0be000416324" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_ProfitLoss_15166777-1014-4404-bb25-0be000416324" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_0c4c88a6-0493-4d23-baee-c3443aeac3b2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_InterestExpense_0c4c88a6-0493-4d23-baee-c3443aeac3b2" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_88ac1f4a-1491-403d-8859-0f87830ae1d1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_88ac1f4a-1491-403d-8859-0f87830ae1d1" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensationNoncash_b3473f74-ff36-4c83-872a-5e0d880308e9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensationNoncash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensationNoncash_b3473f74-ff36-4c83-872a-5e0d880308e9" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherCorporateCostsandNoncashItems_03558909-fed1-4cbb-9543-cb8d62a1d686" xlink:href="oke-20220930.xsd#oke_OtherCorporateCostsandNoncashItems"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_8a6f73af-c3b4-4f91-939e-ada898e03be0" xlink:to="loc_oke_OtherCorporateCostsandNoncashItems_03558909-fed1-4cbb-9543-cb8d62a1d686" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_20952357-53db-404b-848d-b404c9b5e4de" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_68d29643-0f00-4a49-9281-9f49500074a1" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_20952357-53db-404b-848d-b404c9b5e4de" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_68d29643-0f00-4a49-9281-9f49500074a1" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_758e2159-6884-4f2b-9451-e21da0d0b76e" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:to="loc_srt_ProductOrServiceAxis_758e2159-6884-4f2b-9451-e21da0d0b76e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_758e2159-6884-4f2b-9451-e21da0d0b76e_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_758e2159-6884-4f2b-9451-e21da0d0b76e" xlink:to="loc_srt_ProductsAndServicesDomain_758e2159-6884-4f2b-9451-e21da0d0b76e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_97c4c447-12dd-46de-bca3-c0e17bc87be8" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_758e2159-6884-4f2b-9451-e21da0d0b76e" xlink:to="loc_srt_ProductsAndServicesDomain_97c4c447-12dd-46de-bca3-c0e17bc87be8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NGLandCondensateSalesMember_220a5131-6826-42bc-8089-e90322d776bc" xlink:href="oke-20220930.xsd#oke_NGLandCondensateSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_97c4c447-12dd-46de-bca3-c0e17bc87be8" xlink:to="loc_oke_NGLandCondensateSalesMember_220a5131-6826-42bc-8089-e90322d776bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ResidueNaturalGasSalesMember_ff48e2c3-a05d-45d2-b794-3b5feed9437c" xlink:href="oke-20220930.xsd#oke_ResidueNaturalGasSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_97c4c447-12dd-46de-bca3-c0e17bc87be8" xlink:to="loc_oke_ResidueNaturalGasSalesMember_ff48e2c3-a05d-45d2-b794-3b5feed9437c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_GatheringandExchangeServicesRevenueMember_8f2e6c77-fcbf-4c07-84a4-c98c0f9a4cbf" xlink:href="oke-20220930.xsd#oke_GatheringandExchangeServicesRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_97c4c447-12dd-46de-bca3-c0e17bc87be8" xlink:to="loc_oke_GatheringandExchangeServicesRevenueMember_8f2e6c77-fcbf-4c07-84a4-c98c0f9a4cbf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_TransportationandStorageRevenueMember_d36b54b4-7956-4ae8-bbbb-d32effa9a719" xlink:href="oke-20220930.xsd#oke_TransportationandStorageRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_97c4c447-12dd-46de-bca3-c0e17bc87be8" xlink:to="loc_oke_TransportationandStorageRevenueMember_d36b54b4-7956-4ae8-bbbb-d32effa9a719" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherMember_831d25d3-f3c0-41e0-a0ec-fd5a628012a2" xlink:href="oke-20220930.xsd#oke_OtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_97c4c447-12dd-46de-bca3-c0e17bc87be8" xlink:to="loc_oke_OtherMember_831d25d3-f3c0-41e0-a0ec-fd5a628012a2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_95f69980-5ffb-4d34-8a2f-5e39cfa2cdb3" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:to="loc_srt_MajorCustomersAxis_95f69980-5ffb-4d34-8a2f-5e39cfa2cdb3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_95f69980-5ffb-4d34-8a2f-5e39cfa2cdb3_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_95f69980-5ffb-4d34-8a2f-5e39cfa2cdb3" xlink:to="loc_srt_NameOfMajorCustomerDomain_95f69980-5ffb-4d34-8a2f-5e39cfa2cdb3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_e98ef097-a117-4f0c-b4bb-5721ec9e190c" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_95f69980-5ffb-4d34-8a2f-5e39cfa2cdb3" xlink:to="loc_srt_NameOfMajorCustomerDomain_e98ef097-a117-4f0c-b4bb-5721ec9e190c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherMember_76a1281e-d6bd-40f4-9404-12be91db9377" xlink:href="oke-20220930.xsd#oke_OtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_e98ef097-a117-4f0c-b4bb-5721ec9e190c" xlink:to="loc_oke_OtherMember_76a1281e-d6bd-40f4-9404-12be91db9377" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_TransportationandStorageRevenueMember_e3f6bc91-efd2-4c48-a94f-c726af8299d6" xlink:href="oke-20220930.xsd#oke_TransportationandStorageRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_e98ef097-a117-4f0c-b4bb-5721ec9e190c" xlink:to="loc_oke_TransportationandStorageRevenueMember_e3f6bc91-efd2-4c48-a94f-c726af8299d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_GatheringandExchangeServicesRevenueMember_a96ece0a-790c-4646-8c42-02490cc89f3c" xlink:href="oke-20220930.xsd#oke_GatheringandExchangeServicesRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_e98ef097-a117-4f0c-b4bb-5721ec9e190c" xlink:to="loc_oke_GatheringandExchangeServicesRevenueMember_a96ece0a-790c-4646-8c42-02490cc89f3c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ResidueNaturalGasSalesMember_e069d6eb-a746-4e77-a4b7-cfacf8af96ff" xlink:href="oke-20220930.xsd#oke_ResidueNaturalGasSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_e98ef097-a117-4f0c-b4bb-5721ec9e190c" xlink:to="loc_oke_ResidueNaturalGasSalesMember_e069d6eb-a746-4e77-a4b7-cfacf8af96ff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NGLandCondensateSalesMember_afb5a90b-20bf-41e9-af95-4e6c576d0ab7" xlink:href="oke-20220930.xsd#oke_NGLandCondensateSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_e98ef097-a117-4f0c-b4bb-5721ec9e190c" xlink:to="loc_oke_NGLandCondensateSalesMember_afb5a90b-20bf-41e9-af95-4e6c576d0ab7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NoncustomerDomain_ffb12c29-42fc-4119-b342-f244f605bd77" xlink:href="oke-20220930.xsd#oke_NoncustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_e98ef097-a117-4f0c-b4bb-5721ec9e190c" xlink:to="loc_oke_NoncustomerDomain_ffb12c29-42fc-4119-b342-f244f605bd77" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RegulatedSegmentByNameAxis_4cfbf3f0-5039-4135-a5d2-aed9262a9fd9" xlink:href="oke-20220930.xsd#oke_RegulatedSegmentByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:to="loc_oke_RegulatedSegmentByNameAxis_4cfbf3f0-5039-4135-a5d2-aed9262a9fd9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RegulatedSegmentByNameDomain_4cfbf3f0-5039-4135-a5d2-aed9262a9fd9_default" xlink:href="oke-20220930.xsd#oke_RegulatedSegmentByNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_RegulatedSegmentByNameAxis_4cfbf3f0-5039-4135-a5d2-aed9262a9fd9" xlink:to="loc_oke_RegulatedSegmentByNameDomain_4cfbf3f0-5039-4135-a5d2-aed9262a9fd9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_RegulatedSegmentByNameDomain_771f0be0-8c4a-40b1-a31e-a500b97661a7" xlink:href="oke-20220930.xsd#oke_RegulatedSegmentByNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_RegulatedSegmentByNameAxis_4cfbf3f0-5039-4135-a5d2-aed9262a9fd9" xlink:to="loc_oke_RegulatedSegmentByNameDomain_771f0be0-8c4a-40b1-a31e-a500b97661a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasLiquidsRegulatedMember_24d15946-20a9-4c04-b3f3-ade4fa6a7d5a" xlink:href="oke-20220930.xsd#oke_NaturalGasLiquidsRegulatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_RegulatedSegmentByNameDomain_771f0be0-8c4a-40b1-a31e-a500b97661a7" xlink:to="loc_oke_NaturalGasLiquidsRegulatedMember_24d15946-20a9-4c04-b3f3-ade4fa6a7d5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasPipelinesRegulatedMember_b93e906a-b517-48b7-a9de-dc7f642581b2" xlink:href="oke-20220930.xsd#oke_NaturalGasPipelinesRegulatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_RegulatedSegmentByNameDomain_771f0be0-8c4a-40b1-a31e-a500b97661a7" xlink:to="loc_oke_NaturalGasPipelinesRegulatedMember_b93e906a-b517-48b7-a9de-dc7f642581b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_IntersegmentRevenuesbyNameAxis_03b67fad-c388-43e4-8fad-a15b625c1022" xlink:href="oke-20220930.xsd#oke_IntersegmentRevenuesbyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:to="loc_oke_IntersegmentRevenuesbyNameAxis_03b67fad-c388-43e4-8fad-a15b625c1022" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_IntersegmentRevenuesbyNameDomain_03b67fad-c388-43e4-8fad-a15b625c1022_default" xlink:href="oke-20220930.xsd#oke_IntersegmentRevenuesbyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_IntersegmentRevenuesbyNameAxis_03b67fad-c388-43e4-8fad-a15b625c1022" xlink:to="loc_oke_IntersegmentRevenuesbyNameDomain_03b67fad-c388-43e4-8fad-a15b625c1022_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_IntersegmentRevenuesbyNameDomain_5e2cea91-f2c0-4783-a8d1-c2fe70710641" xlink:href="oke-20220930.xsd#oke_IntersegmentRevenuesbyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_IntersegmentRevenuesbyNameAxis_03b67fad-c388-43e4-8fad-a15b625c1022" xlink:to="loc_oke_IntersegmentRevenuesbyNameDomain_5e2cea91-f2c0-4783-a8d1-c2fe70710641" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasGatheringandProcessingIntersegmentMember_b1810ecf-7440-4cec-b379-079e11d5371b" xlink:href="oke-20220930.xsd#oke_NaturalGasGatheringandProcessingIntersegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_IntersegmentRevenuesbyNameDomain_5e2cea91-f2c0-4783-a8d1-c2fe70710641" xlink:to="loc_oke_NaturalGasGatheringandProcessingIntersegmentMember_b1810ecf-7440-4cec-b379-079e11d5371b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_d4527c9d-dc8c-4715-a73b-1e21a46ea1c5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_d4527c9d-dc8c-4715-a73b-1e21a46ea1c5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_d4527c9d-dc8c-4715-a73b-1e21a46ea1c5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_d4527c9d-dc8c-4715-a73b-1e21a46ea1c5" xlink:to="loc_us-gaap_SegmentDomain_d4527c9d-dc8c-4715-a73b-1e21a46ea1c5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_3e88ca56-95ac-4252-977b-7d35bef9e563" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_d4527c9d-dc8c-4715-a73b-1e21a46ea1c5" xlink:to="loc_us-gaap_SegmentDomain_3e88ca56-95ac-4252-977b-7d35bef9e563" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasGatheringAndProcessingMember_6029f96e-86ed-477d-ac32-11d6cf1bd3ac" xlink:href="oke-20220930.xsd#oke_NaturalGasGatheringAndProcessingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3e88ca56-95ac-4252-977b-7d35bef9e563" xlink:to="loc_oke_NaturalGasGatheringAndProcessingMember_6029f96e-86ed-477d-ac32-11d6cf1bd3ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasLiquidsMember_fbcb8d92-2514-4dc1-ba4d-aeba8268d805" xlink:href="oke-20220930.xsd#oke_NaturalGasLiquidsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3e88ca56-95ac-4252-977b-7d35bef9e563" xlink:to="loc_oke_NaturalGasLiquidsMember_fbcb8d92-2514-4dc1-ba4d-aeba8268d805" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasPipelinesMember_eb3b3a0a-74b1-4279-b818-a0ae2ee2f749" xlink:href="oke-20220930.xsd#oke_NaturalGasPipelinesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3e88ca56-95ac-4252-977b-7d35bef9e563" xlink:to="loc_oke_NaturalGasPipelinesMember_eb3b3a0a-74b1-4279-b818-a0ae2ee2f749" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_TotalSegmentsMember_aa911026-2bc3-42ed-8a70-6a03d6b2f1de" xlink:href="oke-20220930.xsd#oke_TotalSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3e88ca56-95ac-4252-977b-7d35bef9e563" xlink:to="loc_oke_TotalSegmentsMember_aa911026-2bc3-42ed-8a70-6a03d6b2f1de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_OtherAndEliminationsMember_b3611fcd-8430-4335-a47e-f9a199052d8c" xlink:href="oke-20220930.xsd#oke_OtherAndEliminationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_3e88ca56-95ac-4252-977b-7d35bef9e563" xlink:to="loc_oke_OtherAndEliminationsMember_b3611fcd-8430-4335-a47e-f9a199052d8c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameAxis_521e66f6-d288-47a2-a373-5069542bd751" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:to="loc_oke_ReportableSegmentByNameAxis_521e66f6-d288-47a2-a373-5069542bd751" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameDomain_521e66f6-d288-47a2-a373-5069542bd751_default" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_oke_ReportableSegmentByNameAxis_521e66f6-d288-47a2-a373-5069542bd751" xlink:to="loc_oke_ReportableSegmentByNameDomain_521e66f6-d288-47a2-a373-5069542bd751_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ReportableSegmentByNameDomain_800ec490-b1bb-4ca9-a49c-6c54fd1a1260" xlink:href="oke-20220930.xsd#oke_ReportableSegmentByNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_oke_ReportableSegmentByNameAxis_521e66f6-d288-47a2-a373-5069542bd751" xlink:to="loc_oke_ReportableSegmentByNameDomain_800ec490-b1bb-4ca9-a49c-6c54fd1a1260" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasGatheringAndProcessingMember_b280165c-c3ea-4ce5-b717-bb035f52b2e5" xlink:href="oke-20220930.xsd#oke_NaturalGasGatheringAndProcessingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_ReportableSegmentByNameDomain_800ec490-b1bb-4ca9-a49c-6c54fd1a1260" xlink:to="loc_oke_NaturalGasGatheringAndProcessingMember_b280165c-c3ea-4ce5-b717-bb035f52b2e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_NaturalGasLiquidsMember_5f295579-4526-4832-bdde-66217daa2963" xlink:href="oke-20220930.xsd#oke_NaturalGasLiquidsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_oke_ReportableSegmentByNameDomain_800ec490-b1bb-4ca9-a49c-6c54fd1a1260" xlink:to="loc_oke_NaturalGasLiquidsMember_5f295579-4526-4832-bdde-66217daa2963" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1ed02dd8-c47d-421f-bf4c-f9819fe5cd23" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1ed02dd8-c47d-421f-bf4c-f9819fe5cd23" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_1ed02dd8-c47d-421f-bf4c-f9819fe5cd23_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1ed02dd8-c47d-421f-bf4c-f9819fe5cd23" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_1ed02dd8-c47d-421f-bf4c-f9819fe5cd23_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_ffd2b3b6-a08b-4db4-8552-268bfaab28d9" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_1ed02dd8-c47d-421f-bf4c-f9819fe5cd23" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_ffd2b3b6-a08b-4db4-8552-268bfaab28d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_VeniceEnergyServicesCompanyMember_f14007e5-2dc8-4c5a-9ff4-a3070cb0a898" xlink:href="oke-20220930.xsd#oke_VeniceEnergyServicesCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_ffd2b3b6-a08b-4db4-8552-268bfaab28d9" xlink:to="loc_oke_VeniceEnergyServicesCompanyMember_f14007e5-2dc8-4c5a-9ff4-a3070cb0a898" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_oke_ChisholmPipelineCompanyMember_8b90577f-63f5-40c6-b275-1a006155fb7f" xlink:href="oke-20220930.xsd#oke_ChisholmPipelineCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_ffd2b3b6-a08b-4db4-8552-268bfaab28d9" xlink:to="loc_oke_ChisholmPipelineCompanyMember_8b90577f-63f5-40c6-b275-1a006155fb7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_a2338cf5-0751-446d-b360-57c08a22ce1b" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_dabc5475-aa58-4abf-b5bd-3c72d9446e32" xlink:to="loc_srt_ConsolidationItemsAxis_a2338cf5-0751-446d-b360-57c08a22ce1b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_a2338cf5-0751-446d-b360-57c08a22ce1b_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_a2338cf5-0751-446d-b360-57c08a22ce1b" xlink:to="loc_srt_ConsolidationItemsDomain_a2338cf5-0751-446d-b360-57c08a22ce1b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_93bfe020-bdc4-423d-86c0-d7bf3cfebb83" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_a2338cf5-0751-446d-b360-57c08a22ce1b" xlink:to="loc_srt_ConsolidationItemsDomain_93bfe020-bdc4-423d-86c0-d7bf3cfebb83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_e11cf712-9424-4a47-83c4-2cfa52b05d2c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_93bfe020-bdc4-423d-86c0-d7bf3cfebb83" xlink:to="loc_us-gaap_OperatingSegmentsMember_e11cf712-9424-4a47-83c4-2cfa52b05d2c" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
