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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:99aaadd3-defc-4000-815b-0839c6f78fef,g:7d439e72-eaa5-49f3-8035-55181f6622b8-->
<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.klx.com/role/CondensedConsolidatedStatementsofStockholdersDeficit" xlink:type="simple" xlink:href="klxe-20220930.xsd#CondensedConsolidatedStatementsofStockholdersDeficit"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/CondensedConsolidatedStatementsofStockholdersDeficit" xlink:type="extended" id="i5bce7d011b6b4c29aaae4703df111840_CondensedConsolidatedStatementsofStockholdersDeficit">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_0a513e3a-bacf-4d46-b5fe-035fafc3a2ed" 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_AccountingStandardsUpdateExtensibleList_5ed22a39-a69f-4ae2-8d1b-47f05bf9d283" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountingStandardsUpdateExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0a513e3a-bacf-4d46-b5fe-035fafc3a2ed" xlink:to="loc_us-gaap_AccountingStandardsUpdateExtensibleList_5ed22a39-a69f-4ae2-8d1b-47f05bf9d283" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0a513e3a-bacf-4d46-b5fe-035fafc3a2ed" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_fa1cd831-c609-49e5-99ac-1f941bb2ed66" 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_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_fa1cd831-c609-49e5-99ac-1f941bb2ed66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_5efc8b08-876c-4b25-bc81-2cfad797e502" 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_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:to="loc_us-gaap_StockholdersEquity_5efc8b08-876c-4b25-bc81-2cfad797e502" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_4e0c874f-face-45e4-8d8e-770933a36c47" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_4e0c874f-face-45e4-8d8e-770933a36c47" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_c1173094-e6c4-4183-a7e9-cca6f906f183" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_c1173094-e6c4-4183-a7e9-cca6f906f183" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_19fdf71a-f7cf-4668-86e7-3126f10dad95" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_19fdf71a-f7cf-4668-86e7-3126f10dad95" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_c9ec12c4-9f0b-4e5e-b25a-befc94f24c9a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_c9ec12c4-9f0b-4e5e-b25a-befc94f24c9a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_083ba3fb-6ffd-4f9d-af59-982fa2ac0ffb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_083ba3fb-6ffd-4f9d-af59-982fa2ac0ffb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1e6e71a9-580e-48c2-a709-d8ecfe89e6c4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_ab699d64-f37e-4ec9-ac98-c36068d8aaa8" xlink:to="loc_us-gaap_NetIncomeLoss_1e6e71a9-580e-48c2-a709-d8ecfe89e6c4" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_8ddd2d0a-d1b8-4942-b083-be7c4e2eadef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7b8c5d58-3ff6-477d-897b-a2bdd3115b12" 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_64d206d7-175a-419c-a167-cb085fe0550a" 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_0a513e3a-bacf-4d46-b5fe-035fafc3a2ed" xlink:to="loc_us-gaap_StatementTable_64d206d7-175a-419c-a167-cb085fe0550a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_639f9537-400f-4842-9d0d-fcbe8de7e4b3" 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_64d206d7-175a-419c-a167-cb085fe0550a" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_639f9537-400f-4842-9d0d-fcbe8de7e4b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_639f9537-400f-4842-9d0d-fcbe8de7e4b3_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_639f9537-400f-4842-9d0d-fcbe8de7e4b3" xlink:to="loc_us-gaap_EquityComponentDomain_639f9537-400f-4842-9d0d-fcbe8de7e4b3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_d46e35cc-dac3-4138-9b72-e42ccdb92b8f" 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_639f9537-400f-4842-9d0d-fcbe8de7e4b3" xlink:to="loc_us-gaap_EquityComponentDomain_d46e35cc-dac3-4138-9b72-e42ccdb92b8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_7796f93b-b409-4839-832b-03d94a9443c1" 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_d46e35cc-dac3-4138-9b72-e42ccdb92b8f" xlink:to="loc_us-gaap_CommonStockMember_7796f93b-b409-4839-832b-03d94a9443c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_133d895a-284c-4fb7-a711-9ee67bb95012" 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_d46e35cc-dac3-4138-9b72-e42ccdb92b8f" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_133d895a-284c-4fb7-a711-9ee67bb95012" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_760abf55-bfd7-4324-bb24-0b76992b29dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_d46e35cc-dac3-4138-9b72-e42ccdb92b8f" xlink:to="loc_us-gaap_TreasuryStockCommonMember_760abf55-bfd7-4324-bb24-0b76992b29dc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_ac815606-bcfa-421f-bc0d-4a95760c21b9" 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_d46e35cc-dac3-4138-9b72-e42ccdb92b8f" xlink:to="loc_us-gaap_RetainedEarningsMember_ac815606-bcfa-421f-bc0d-4a95760c21b9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_374b837b-ab87-4ebc-a625-04bf79092aa4" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_64d206d7-175a-419c-a167-cb085fe0550a" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_374b837b-ab87-4ebc-a625-04bf79092aa4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_374b837b-ab87-4ebc-a625-04bf79092aa4_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_374b837b-ab87-4ebc-a625-04bf79092aa4" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_374b837b-ab87-4ebc-a625-04bf79092aa4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_07c3b01f-389c-466b-9759-23a9e59bbf6d" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_374b837b-ab87-4ebc-a625-04bf79092aa4" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_07c3b01f-389c-466b-9759-23a9e59bbf6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_c85b5384-260e-4970-81da-5eac53a8e160" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_07c3b01f-389c-466b-9759-23a9e59bbf6d" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_c85b5384-260e-4970-81da-5eac53a8e160" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/PropertyandEquipmentNetPropertyandEquipmentDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#PropertyandEquipmentNetPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/PropertyandEquipmentNetPropertyandEquipmentDetails" xlink:type="extended" id="iff5cd3c9e0d04b4daf8d3033f3f364d5_PropertyandEquipmentNetPropertyandEquipmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_c9bd4753-4706-41a9-bf70-0692290d413c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_8605da24-26af-4524-b1e7-df3ef794e6c8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_c9bd4753-4706-41a9-bf70-0692290d413c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_8605da24-26af-4524-b1e7-df3ef794e6c8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_70339c92-8622-4824-ac08-b81a1f089b38" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_c9bd4753-4706-41a9-bf70-0692290d413c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_70339c92-8622-4824-ac08-b81a1f089b38" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_041acfda-3996-4005-a081-f42d37d23676" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_c9bd4753-4706-41a9-bf70-0692290d413c" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_041acfda-3996-4005-a081-f42d37d23676" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_dceca13b-b9a7-41a8-88ed-5a16b46bd072" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_c9bd4753-4706-41a9-bf70-0692290d413c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_dceca13b-b9a7-41a8-88ed-5a16b46bd072" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_e1b81d0a-bff0-44fd-91e9-3e77ff41de4f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_c9bd4753-4706-41a9-bf70-0692290d413c" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_e1b81d0a-bff0-44fd-91e9-3e77ff41de4f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_24ede6b6-bbe4-4a5d-b9cb-1caa0686647b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_c9bd4753-4706-41a9-bf70-0692290d413c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_24ede6b6-bbe4-4a5d-b9cb-1caa0686647b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_d3cd9dcf-8848-4209-843f-112d7bd5df18" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_c9bd4753-4706-41a9-bf70-0692290d413c" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_d3cd9dcf-8848-4209-843f-112d7bd5df18" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_0c22cdae-82fa-487b-8083-745de215c824" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_d3cd9dcf-8848-4209-843f-112d7bd5df18" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_0c22cdae-82fa-487b-8083-745de215c824" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0c22cdae-82fa-487b-8083-745de215c824_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_0c22cdae-82fa-487b-8083-745de215c824" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0c22cdae-82fa-487b-8083-745de215c824_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1b589e0e-f7d0-4065-bbb7-9e02b215a0f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_0c22cdae-82fa-487b-8083-745de215c824" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1b589e0e-f7d0-4065-bbb7-9e02b215a0f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_e4c6868c-a1ff-4930-a937-883d87eb12e7" xlink:href="klxe-20220930.xsd#klxe_DepreciablePropertyPlantAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1b589e0e-f7d0-4065-bbb7-9e02b215a0f5" xlink:to="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_e4c6868c-a1ff-4930-a937-883d87eb12e7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandBuildingsAndImprovementsMember_afb511e7-6238-4709-b00d-a423ece2b4f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LandBuildingsAndImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_e4c6868c-a1ff-4930-a937-883d87eb12e7" xlink:to="loc_us-gaap_LandBuildingsAndImprovementsMember_afb511e7-6238-4709-b00d-a423ece2b4f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_MachineryMember_cf689309-a879-407c-ab6c-9e0f455c50fa" xlink:href="klxe-20220930.xsd#klxe_MachineryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_e4c6868c-a1ff-4930-a937-883d87eb12e7" xlink:to="loc_klxe_MachineryMember_cf689309-a879-407c-ab6c-9e0f455c50fa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_FurnitureAndEquipmentMember_45d9ff48-93ca-45bb-95c2-ddc0c7a2b532" xlink:href="klxe-20220930.xsd#klxe_FurnitureAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_e4c6868c-a1ff-4930-a937-883d87eb12e7" xlink:to="loc_klxe_FurnitureAndEquipmentMember_45d9ff48-93ca-45bb-95c2-ddc0c7a2b532" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_FinanceLeaseRightOfUseAssetsMember_422418db-6227-4904-8729-b6e7c2d837bf" xlink:href="klxe-20220930.xsd#klxe_FinanceLeaseRightOfUseAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_e4c6868c-a1ff-4930-a937-883d87eb12e7" xlink:to="loc_klxe_FinanceLeaseRightOfUseAssetsMember_422418db-6227-4904-8729-b6e7c2d837bf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_c2b679de-e5c6-4a87-9397-54b9b12d6b68" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1b589e0e-f7d0-4065-bbb7-9e02b215a0f5" xlink:to="loc_us-gaap_ConstructionInProgressMember_c2b679de-e5c6-4a87-9397-54b9b12d6b68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_32a1a153-ab8c-4203-bdeb-0a36b8f47942" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_d3cd9dcf-8848-4209-843f-112d7bd5df18" xlink:to="loc_srt_RangeAxis_32a1a153-ab8c-4203-bdeb-0a36b8f47942" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_32a1a153-ab8c-4203-bdeb-0a36b8f47942_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_32a1a153-ab8c-4203-bdeb-0a36b8f47942" xlink:to="loc_srt_RangeMember_32a1a153-ab8c-4203-bdeb-0a36b8f47942_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ee155fe6-9a77-45cc-a1e8-cda13ebcd66d" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_32a1a153-ab8c-4203-bdeb-0a36b8f47942" xlink:to="loc_srt_RangeMember_ee155fe6-9a77-45cc-a1e8-cda13ebcd66d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_95685e87-7553-4f5c-921b-ee7c0c2413bc" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ee155fe6-9a77-45cc-a1e8-cda13ebcd66d" xlink:to="loc_srt_MinimumMember_95685e87-7553-4f5c-921b-ee7c0c2413bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_5f2a1567-4cb1-4040-bdfe-cfa4b4c01b6e" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ee155fe6-9a77-45cc-a1e8-cda13ebcd66d" xlink:to="loc_srt_MaximumMember_5f2a1567-4cb1-4040-bdfe-cfa4b4c01b6e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/LongTermDebtLongtermDebtDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#LongTermDebtLongtermDebtDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/LongTermDebtLongtermDebtDetails" xlink:type="extended" id="i892f1b36b1134ad6bffa1ffc61db54ce_LongTermDebtLongtermDebtDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_1669ab12-3888-47f4-a2ab-d83664689e06" 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_DebtInstrumentCarryingAmount_09c7c795-361e-4215-b58a-84808702cca3" 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_1669ab12-3888-47f4-a2ab-d83664689e06" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_09c7c795-361e-4215-b58a-84808702cca3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_c45cf8c3-b2a8-4bd7-99e4-a9620a98109a" 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_1669ab12-3888-47f4-a2ab-d83664689e06" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_c45cf8c3-b2a8-4bd7-99e4-a9620a98109a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_1986b57a-74ab-4710-9c80-25371eea0cc2" 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_DebtInstrumentLineItems_1669ab12-3888-47f4-a2ab-d83664689e06" xlink:to="loc_us-gaap_LongTermDebt_1986b57a-74ab-4710-9c80-25371eea0cc2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_b8061cc6-6f26-4005-9c72-3c7cc0b37de1" 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_1669ab12-3888-47f4-a2ab-d83664689e06" xlink:to="loc_us-gaap_DebtInstrumentTable_b8061cc6-6f26-4005-9c72-3c7cc0b37de1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_98c67943-462a-4d06-878f-ecb930535bd0" 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_b8061cc6-6f26-4005-9c72-3c7cc0b37de1" xlink:to="loc_us-gaap_DebtInstrumentAxis_98c67943-462a-4d06-878f-ecb930535bd0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_98c67943-462a-4d06-878f-ecb930535bd0_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_98c67943-462a-4d06-878f-ecb930535bd0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_98c67943-462a-4d06-878f-ecb930535bd0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d6723129-bae7-4d5b-aac4-1bdffa82bf0f" 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_98c67943-462a-4d06-878f-ecb930535bd0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d6723129-bae7-4d5b-aac4-1bdffa82bf0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_4c53687b-1194-4b12-8ded-79376d84f7a8" xlink:href="klxe-20220930.xsd#klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_d6723129-bae7-4d5b-aac4-1bdffa82bf0f" xlink:to="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_4c53687b-1194-4b12-8ded-79376d84f7a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AssetBasedRevolvingCreditFacilityMember_a1e57d2b-9298-434f-b29f-921d8c4db3a5" xlink:href="klxe-20220930.xsd#klxe_AssetBasedRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_d6723129-bae7-4d5b-aac4-1bdffa82bf0f" xlink:to="loc_klxe_AssetBasedRevolvingCreditFacilityMember_a1e57d2b-9298-434f-b29f-921d8c4db3a5" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/LongTermDebtNarrativeDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#LongTermDebtNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/LongTermDebtNarrativeDetails" xlink:type="extended" id="i16fb7d87fead448e956249fc971d486c_LongTermDebtNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" 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_DebtInstrumentFaceAmount_b4fc996a-5387-4ea9-b896-3e21bd741d74" 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_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_b4fc996a-5387-4ea9-b896-3e21bd741d74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_4c93b694-002d-46a7-9f35-629237d19ef0" 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_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_4c93b694-002d-46a7-9f35-629237d19ef0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_73fb58e2-2ed0-44c5-bc91-34adc1416348" 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_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_LongTermDebt_73fb58e2-2ed0-44c5-bc91-34adc1416348" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_a78ffa60-7355-4398-a163-f40b8a5e3ab5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_InterestPayableCurrent_a78ffa60-7355-4398-a163-f40b8a5e3ab5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_24efd0df-069e-408e-8e33-d84852dc4dc4" 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_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_24efd0df-069e-408e-8e33-d84852dc4dc4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentBasisSpreadOnVariableRateIncrease_39373d34-3770-4547-b687-3119f6dc3ee8" xlink:href="klxe-20220930.xsd#klxe_DebtInstrumentBasisSpreadOnVariableRateIncrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_klxe_DebtInstrumentBasisSpreadOnVariableRateIncrease_39373d34-3770-4547-b687-3119f6dc3ee8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentCovenantExcessCashMaximum_09e9f8bc-dd62-4e27-a675-08e14497d20d" xlink:href="klxe-20220930.xsd#klxe_DebtInstrumentCovenantExcessCashMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_klxe_DebtInstrumentCovenantExcessCashMaximum_09e9f8bc-dd62-4e27-a675-08e14497d20d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentCovenantFixedChargeCoverageRatioMinimum_05a81aa9-91a9-4dbf-93f0-3443f6bfe4a7" xlink:href="klxe-20220930.xsd#klxe_DebtInstrumentCovenantFixedChargeCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_klxe_DebtInstrumentCovenantFixedChargeCoverageRatioMinimum_05a81aa9-91a9-4dbf-93f0-3443f6bfe4a7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentCovenantLiquidityThresholdAmount_aa0715d1-65fa-4122-b033-860da47f2b06" xlink:href="klxe-20220930.xsd#klxe_DebtInstrumentCovenantLiquidityThresholdAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_klxe_DebtInstrumentCovenantLiquidityThresholdAmount_aa0715d1-65fa-4122-b033-860da47f2b06" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentCovenantLiquidityThresholdPercentOfBorrowingBase_b67b4d73-525c-458f-a928-0717272b3554" xlink:href="klxe-20220930.xsd#klxe_DebtInstrumentCovenantLiquidityThresholdPercentOfBorrowingBase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_klxe_DebtInstrumentCovenantLiquidityThresholdPercentOfBorrowingBase_b67b4d73-525c-458f-a928-0717272b3554" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_d59e50ae-7b04-4e38-b43b-593f367b8340" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_LineOfCredit_d59e50ae-7b04-4e38-b43b-593f367b8340" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_3d5ce678-119a-4a13-b714-8096b7d6848f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_3d5ce678-119a-4a13-b714-8096b7d6848f" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_89bc2537-f970-40f8-82d7-4dba04646c89" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_89bc2537-f970-40f8-82d7-4dba04646c89" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_7b5505af-53f1-4122-ac75-6d0732910253" 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_d2a3c06b-72de-4c4c-a668-8356970252fd" xlink:to="loc_us-gaap_DebtInstrumentTable_7b5505af-53f1-4122-ac75-6d0732910253" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_ad1a8249-81ec-4e34-9dd1-32f515e6ab68" 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_7b5505af-53f1-4122-ac75-6d0732910253" xlink:to="loc_us-gaap_DebtInstrumentAxis_ad1a8249-81ec-4e34-9dd1-32f515e6ab68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_ad1a8249-81ec-4e34-9dd1-32f515e6ab68_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_ad1a8249-81ec-4e34-9dd1-32f515e6ab68" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_ad1a8249-81ec-4e34-9dd1-32f515e6ab68_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3cefe43e-9ec4-4e44-b608-8e007f25eaba" 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_ad1a8249-81ec-4e34-9dd1-32f515e6ab68" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3cefe43e-9ec4-4e44-b608-8e007f25eaba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_2b207511-7c1b-4a3b-abfc-ae6848b396ca" xlink:href="klxe-20220930.xsd#klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3cefe43e-9ec4-4e44-b608-8e007f25eaba" xlink:to="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_2b207511-7c1b-4a3b-abfc-ae6848b396ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AssetBasedRevolvingCreditFacilityMember_73a2a0cf-efcc-4aa3-900b-7ca743804706" xlink:href="klxe-20220930.xsd#klxe_AssetBasedRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3cefe43e-9ec4-4e44-b608-8e007f25eaba" xlink:to="loc_klxe_AssetBasedRevolvingCreditFacilityMember_73a2a0cf-efcc-4aa3-900b-7ca743804706" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_1f4bc4bc-c5e0-4825-a061-8c07c83e1a80" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7b5505af-53f1-4122-ac75-6d0732910253" xlink:to="loc_us-gaap_CreditFacilityAxis_1f4bc4bc-c5e0-4825-a061-8c07c83e1a80" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_1f4bc4bc-c5e0-4825-a061-8c07c83e1a80_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_1f4bc4bc-c5e0-4825-a061-8c07c83e1a80" xlink:to="loc_us-gaap_CreditFacilityDomain_1f4bc4bc-c5e0-4825-a061-8c07c83e1a80_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_889777cd-e234-437c-bb4b-d92d5a87eb94" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_1f4bc4bc-c5e0-4825-a061-8c07c83e1a80" xlink:to="loc_us-gaap_CreditFacilityDomain_889777cd-e234-437c-bb4b-d92d5a87eb94" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_167ba1f8-60ab-4d5d-a9cc-d7be7a17a090" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_889777cd-e234-437c-bb4b-d92d5a87eb94" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_167ba1f8-60ab-4d5d-a9cc-d7be7a17a090" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/FairValueInformationNarrativeDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#FairValueInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/FairValueInformationNarrativeDetails" xlink:type="extended" id="i1a2ac476d9f74f1fa00781e5e1357b61_FairValueInformationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2fc2fe74-7d3f-47a5-a855-f8ea7786df64" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_fad88df2-2ffb-4af3-aca7-625a408d4036" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2fc2fe74-7d3f-47a5-a855-f8ea7786df64" xlink:to="loc_us-gaap_LineOfCredit_fad88df2-2ffb-4af3-aca7-625a408d4036" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_29c64e6a-06f2-4e8d-8127-3e3488be5a25" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2fc2fe74-7d3f-47a5-a855-f8ea7786df64" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_29c64e6a-06f2-4e8d-8127-3e3488be5a25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a8c34d04-c626-4cbe-918c-379da92a5eee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_2fc2fe74-7d3f-47a5-a855-f8ea7786df64" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a8c34d04-c626-4cbe-918c-379da92a5eee" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_74317559-eb91-4ad8-8e04-5f53db3dfc1e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a8c34d04-c626-4cbe-918c-379da92a5eee" xlink:to="loc_us-gaap_CreditFacilityAxis_74317559-eb91-4ad8-8e04-5f53db3dfc1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_74317559-eb91-4ad8-8e04-5f53db3dfc1e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_74317559-eb91-4ad8-8e04-5f53db3dfc1e" xlink:to="loc_us-gaap_CreditFacilityDomain_74317559-eb91-4ad8-8e04-5f53db3dfc1e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_52d05100-2a62-43f4-9f15-9bd6cdbfffd7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_74317559-eb91-4ad8-8e04-5f53db3dfc1e" xlink:to="loc_us-gaap_CreditFacilityDomain_52d05100-2a62-43f4-9f15-9bd6cdbfffd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_2ee1eabd-7559-47aa-a07c-3fd888d1603f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_52d05100-2a62-43f4-9f15-9bd6cdbfffd7" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_2ee1eabd-7559-47aa-a07c-3fd888d1603f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_d666c67d-e7fd-4cc3-a0c0-b807dc6563e0" 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_FairValueByBalanceSheetGroupingTable_a8c34d04-c626-4cbe-918c-379da92a5eee" xlink:to="loc_us-gaap_DebtInstrumentAxis_d666c67d-e7fd-4cc3-a0c0-b807dc6563e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d666c67d-e7fd-4cc3-a0c0-b807dc6563e0_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_d666c67d-e7fd-4cc3-a0c0-b807dc6563e0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d666c67d-e7fd-4cc3-a0c0-b807dc6563e0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0da32495-411f-48a3-8e9d-43c8eb62c787" 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_d666c67d-e7fd-4cc3-a0c0-b807dc6563e0" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0da32495-411f-48a3-8e9d-43c8eb62c787" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AssetBasedRevolvingCreditFacilityMember_a733d123-b990-4ae4-9139-5ed25e0fb6c2" xlink:href="klxe-20220930.xsd#klxe_AssetBasedRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_0da32495-411f-48a3-8e9d-43c8eb62c787" xlink:to="loc_klxe_AssetBasedRevolvingCreditFacilityMember_a733d123-b990-4ae4-9139-5ed25e0fb6c2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/FairValueInformationSeniorSecuredNotesandAssetsHeldforSaleDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#FairValueInformationSeniorSecuredNotesandAssetsHeldforSaleDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/FairValueInformationSeniorSecuredNotesandAssetsHeldforSaleDetails" xlink:type="extended" id="i91a45ba190e744ea81d1f959a79c452a_FairValueInformationSeniorSecuredNotesandAssetsHeldforSaleDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_7476f212-7131-4cbc-b7d4-4b87f1771637" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_559ee397-3fc8-4829-bf48-c85c08aaa4af" 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_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_7476f212-7131-4cbc-b7d4-4b87f1771637" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_559ee397-3fc8-4829-bf48-c85c08aaa4af" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_04c817ad-9d94-480b-bbcc-31373ced355e" 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_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_7476f212-7131-4cbc-b7d4-4b87f1771637" xlink:to="loc_us-gaap_LongTermDebtFairValue_04c817ad-9d94-480b-bbcc-31373ced355e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsHeldForSaleLongLivedFairValueDisclosure_12cf1479-5f62-4b83-a7ba-778a54e72c6c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsHeldForSaleLongLivedFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_7476f212-7131-4cbc-b7d4-4b87f1771637" xlink:to="loc_us-gaap_AssetsHeldForSaleLongLivedFairValueDisclosure_12cf1479-5f62-4b83-a7ba-778a54e72c6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a78e38dc-fa65-4d49-94b0-337475d4ce50" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_7476f212-7131-4cbc-b7d4-4b87f1771637" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a78e38dc-fa65-4d49-94b0-337475d4ce50" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_c50281b9-d003-4e32-8a59-6a614519f81b" 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_FairValueByBalanceSheetGroupingTable_a78e38dc-fa65-4d49-94b0-337475d4ce50" xlink:to="loc_us-gaap_DebtInstrumentAxis_c50281b9-d003-4e32-8a59-6a614519f81b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_c50281b9-d003-4e32-8a59-6a614519f81b_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_c50281b9-d003-4e32-8a59-6a614519f81b" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_c50281b9-d003-4e32-8a59-6a614519f81b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_cb1e2e91-1a5e-4594-8a4f-29b879464093" 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_c50281b9-d003-4e32-8a59-6a614519f81b" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_cb1e2e91-1a5e-4594-8a4f-29b879464093" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_5f98978a-9e89-4c7e-a7ab-0821b0d3d6ca" xlink:href="klxe-20220930.xsd#klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_cb1e2e91-1a5e-4594-8a4f-29b879464093" xlink:to="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_5f98978a-9e89-4c7e-a7ab-0821b0d3d6ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f938e338-4787-4c78-9dd6-856f12dea6a7" 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_FairValueByBalanceSheetGroupingTable_a78e38dc-fa65-4d49-94b0-337475d4ce50" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f938e338-4787-4c78-9dd6-856f12dea6a7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f938e338-4787-4c78-9dd6-856f12dea6a7_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_f938e338-4787-4c78-9dd6-856f12dea6a7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f938e338-4787-4c78-9dd6-856f12dea6a7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e99f5042-a1e4-42e7-b6ae-4ae0423bacd5" 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_f938e338-4787-4c78-9dd6-856f12dea6a7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e99f5042-a1e4-42e7-b6ae-4ae0423bacd5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_bf3db44d-4c6e-4af6-9670-c7edff18ffce" 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_e99f5042-a1e4-42e7-b6ae-4ae0423bacd5" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_bf3db44d-4c6e-4af6-9670-c7edff18ffce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_6a3a9df6-70f5-41a4-a344-34b23dfdaea1" 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_e99f5042-a1e4-42e7-b6ae-4ae0423bacd5" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_6a3a9df6-70f5-41a4-a344-34b23dfdaea1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_f2731e23-23a8-4482-a204-fb7696f0a724" 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_e99f5042-a1e4-42e7-b6ae-4ae0423bacd5" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_f2731e23-23a8-4482-a204-fb7696f0a724" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_9278886a-d9d9-4cda-8c48-d7519e8b60b7" 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_FairValueByBalanceSheetGroupingTable_a78e38dc-fa65-4d49-94b0-337475d4ce50" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_9278886a-d9d9-4cda-8c48-d7519e8b60b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_9278886a-d9d9-4cda-8c48-d7519e8b60b7_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_9278886a-d9d9-4cda-8c48-d7519e8b60b7" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_9278886a-d9d9-4cda-8c48-d7519e8b60b7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_790ac1bd-e117-4bd1-b53e-bc9a668ac33b" 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_9278886a-d9d9-4cda-8c48-d7519e8b60b7" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_790ac1bd-e117-4bd1-b53e-bc9a668ac33b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_bd3f9fd7-ce7b-44af-9809-7976d7231fa7" 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_790ac1bd-e117-4bd1-b53e-bc9a668ac33b" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_bd3f9fd7-ce7b-44af-9809-7976d7231fa7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/CommitmentsContingenciesandOffBalanceSheetArrangementsDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#CommitmentsContingenciesandOffBalanceSheetArrangementsDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/CommitmentsContingenciesandOffBalanceSheetArrangementsDetails" xlink:type="extended" id="id47ea5e623434359a4354899d8dd0811_CommitmentsContingenciesandOffBalanceSheetArrangementsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_8d2f5af6-41ba-486c-8cbb-cdeb2f0bbf75" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainContingencyUnrecordedAmount_4672c63f-9c12-4519-9af3-ceba724c29bd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainContingencyUnrecordedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_8d2f5af6-41ba-486c-8cbb-cdeb2f0bbf75" xlink:to="loc_us-gaap_GainContingencyUnrecordedAmount_4672c63f-9c12-4519-9af3-ceba724c29bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_a9d59157-4668-4a96-a403-38631f932030" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_8d2f5af6-41ba-486c-8cbb-cdeb2f0bbf75" xlink:to="loc_us-gaap_LossContingenciesTable_a9d59157-4668-4a96-a403-38631f932030" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainContingenciesByNatureAxis_4c49ba2a-fb12-4611-91a8-9703844eab04" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainContingenciesByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_a9d59157-4668-4a96-a403-38631f932030" xlink:to="loc_us-gaap_GainContingenciesByNatureAxis_4c49ba2a-fb12-4611-91a8-9703844eab04" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainContingencyNatureDomain_4c49ba2a-fb12-4611-91a8-9703844eab04_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GainContingenciesByNatureAxis_4c49ba2a-fb12-4611-91a8-9703844eab04" xlink:to="loc_us-gaap_GainContingencyNatureDomain_4c49ba2a-fb12-4611-91a8-9703844eab04_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainContingencyNatureDomain_9da6eb82-0a4c-4ead-a1ac-a3e674f9c183" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GainContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GainContingenciesByNatureAxis_4c49ba2a-fb12-4611-91a8-9703844eab04" xlink:to="loc_us-gaap_GainContingencyNatureDomain_9da6eb82-0a4c-4ead-a1ac-a3e674f9c183" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositiveOutcomeOfLitigationMember_d1641a44-ec24-4e4d-880c-fe426ffbf018" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PositiveOutcomeOfLitigationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainContingencyNatureDomain_9da6eb82-0a4c-4ead-a1ac-a3e674f9c183" xlink:to="loc_us-gaap_PositiveOutcomeOfLitigationMember_d1641a44-ec24-4e4d-880c-fe426ffbf018" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/StockholdersDeficitNarrativeDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#StockholdersDeficitNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/StockholdersDeficitNarrativeDetails" xlink:type="extended" id="i6aef0dfd43e6424691ea008280709f31_StockholdersDeficitNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_6db97bbb-b405-4bcb-917f-91dd37a29fe9" 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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_6db97bbb-b405-4bcb-917f-91dd37a29fe9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SaleOfStockMaximumConsiderationOnTransaction_5c725db0-523e-4148-93b0-b9ebfd659657" xlink:href="klxe-20220930.xsd#klxe_SaleOfStockMaximumConsiderationOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_klxe_SaleOfStockMaximumConsiderationOnTransaction_5c725db0-523e-4148-93b0-b9ebfd659657" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SaleOfStockCommissionFeePercentage_fdb8afaf-6cba-412f-8020-4bd40b504b79" xlink:href="klxe-20220930.xsd#klxe_SaleOfStockCommissionFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_klxe_SaleOfStockCommissionFeePercentage_fdb8afaf-6cba-412f-8020-4bd40b504b79" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_426ebf27-8a68-4bc9-a999-03e93a8d59af" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_426ebf27-8a68-4bc9-a999-03e93a8d59af" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_c8498654-9f37-4cf8-bd97-0517914d3b65" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_c8498654-9f37-4cf8-bd97-0517914d3b65" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_a4efa3f7-9822-4828-b469-a25dd7a21c31" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_a4efa3f7-9822-4828-b469-a25dd7a21c31" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_b55bec1c-a534-4c13-963f-c4e0314a389e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_b55bec1c-a534-4c13-963f-c4e0314a389e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AllocatedShareBasedCompensationExpenseNetOfAdjustments_6f2fe073-70aa-42ed-8b85-00a0ac4b67b5" xlink:href="klxe-20220930.xsd#klxe_AllocatedShareBasedCompensationExpenseNetOfAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_klxe_AllocatedShareBasedCompensationExpenseNetOfAdjustments_6f2fe073-70aa-42ed-8b85-00a0ac4b67b5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_572e3841-ceb3-4eab-b5a3-74f52f8b7b6e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_572e3841-ceb3-4eab-b5a3-74f52f8b7b6e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a0893423-4903-46c1-b64d-110c0a3549f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e248952c-5711-4c05-b33b-670e878f6ece" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a0893423-4903-46c1-b64d-110c0a3549f5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_6ea5d3ea-9f8a-45f3-b44c-f177c56144f2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a0893423-4903-46c1-b64d-110c0a3549f5" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_6ea5d3ea-9f8a-45f3-b44c-f177c56144f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_6ea5d3ea-9f8a-45f3-b44c-f177c56144f2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_6ea5d3ea-9f8a-45f3-b44c-f177c56144f2" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_6ea5d3ea-9f8a-45f3-b44c-f177c56144f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_503d4177-7f5c-4843-8a64-55b16f0879eb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_6ea5d3ea-9f8a-45f3-b44c-f177c56144f2" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_503d4177-7f5c-4843-8a64-55b16f0879eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AtTheMarketOfferingMember_9e66a7ec-f07d-4119-89b3-3087949e02f3" xlink:href="klxe-20220930.xsd#klxe_AtTheMarketOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_503d4177-7f5c-4843-8a64-55b16f0879eb" xlink:to="loc_klxe_AtTheMarketOfferingMember_9e66a7ec-f07d-4119-89b3-3087949e02f3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/IncomeTaxesDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#IncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/IncomeTaxesDetails" xlink:type="extended" id="i27aad4827eca4d3798b35477cc0d0378_IncomeTaxesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationLineItems_83d6d093-6908-4617-836a-59e7ca6b3764" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExaminationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_88c50c81-d1f5-4bc1-88e5-10cb5ca1ff9e" 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_IncomeTaxExaminationLineItems_83d6d093-6908-4617-836a-59e7ca6b3764" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_88c50c81-d1f5-4bc1-88e5-10cb5ca1ff9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SocialSecurityTaxEmployerDeferralCARESAct_85478c61-d837-4f35-a3a5-81db2e110b45" xlink:href="klxe-20220930.xsd#klxe_SocialSecurityTaxEmployerDeferralCARESAct"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExaminationLineItems_83d6d093-6908-4617-836a-59e7ca6b3764" xlink:to="loc_klxe_SocialSecurityTaxEmployerDeferralCARESAct_85478c61-d837-4f35-a3a5-81db2e110b45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationTable_302428fd-5832-4f96-8e54-bef67d1b215e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExaminationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxExaminationLineItems_83d6d093-6908-4617-836a-59e7ca6b3764" xlink:to="loc_us-gaap_IncomeTaxExaminationTable_302428fd-5832-4f96-8e54-bef67d1b215e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_b0e2bac3-28da-4419-9150-171e4bc734b1" 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_IncomeTaxExaminationTable_302428fd-5832-4f96-8e54-bef67d1b215e" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_b0e2bac3-28da-4419-9150-171e4bc734b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_b0e2bac3-28da-4419-9150-171e4bc734b1_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_b0e2bac3-28da-4419-9150-171e4bc734b1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_b0e2bac3-28da-4419-9150-171e4bc734b1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_6cde6d56-fb3c-4c58-a6d0-3b309735fbf9" 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_b0e2bac3-28da-4419-9150-171e4bc734b1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_6cde6d56-fb3c-4c58-a6d0-3b309735fbf9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesMember_0bcbaa22-7614-4df3-9150-2ca4bf4f4ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_6cde6d56-fb3c-4c58-a6d0-3b309735fbf9" xlink:to="loc_us-gaap_AccruedLiabilitiesMember_0bcbaa22-7614-4df3-9150-2ca4bf4f4ebf" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/SegmentReportingRevenuesandOperatingIncomeLossbyReportableSegmentDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#SegmentReportingRevenuesandOperatingIncomeLossbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/SegmentReportingRevenuesandOperatingIncomeLossbyReportableSegmentDetails" xlink:type="extended" id="id776ba9e310944c5848c6df58b7266ee_SegmentReportingRevenuesandOperatingIncomeLossbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingRevenueReconcilingItemLineItems_9851a704-562a-4e99-9201-1edc946c76b6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingRevenueReconcilingItemLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract_2264100a-1086-4e93-bcb3-c4ed824c71a8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingRevenueReconcilingItemLineItems_9851a704-562a-4e99-9201-1edc946c76b6" xlink:to="loc_us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract_2264100a-1086-4e93-bcb3-c4ed824c71a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_501fa6ec-2260-4639-b9d2-c96ca132e684" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract_2264100a-1086-4e93-bcb3-c4ed824c71a8" xlink:to="loc_us-gaap_NumberOfReportableSegments_501fa6ec-2260-4639-b9d2-c96ca132e684" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_8313b347-6ece-41e5-b414-c9206be3142f" 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_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract_2264100a-1086-4e93-bcb3-c4ed824c71a8" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_8313b347-6ece-41e5-b414-c9206be3142f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_f790ff3c-2deb-490f-afc9-ff1b2bed7fd0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract_2264100a-1086-4e93-bcb3-c4ed824c71a8" xlink:to="loc_us-gaap_OperatingIncomeLoss_f790ff3c-2deb-490f-afc9-ff1b2bed7fd0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_c54f021f-dacd-4e4d-a41e-013daaed2f8b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract_2264100a-1086-4e93-bcb3-c4ed824c71a8" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_c54f021f-dacd-4e4d-a41e-013daaed2f8b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b8813078-69e9-4831-9d3c-3a9dab3849c7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract_2264100a-1086-4e93-bcb3-c4ed824c71a8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b8813078-69e9-4831-9d3c-3a9dab3849c7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTable_01f65015-4488-4faf-8f47-f1a10ed5c7ef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingRevenueReconcilingItemLineItems_9851a704-562a-4e99-9201-1edc946c76b6" xlink:to="loc_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTable_01f65015-4488-4faf-8f47-f1a10ed5c7ef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_ec1a6ee7-259d-4caf-958b-7e083744084b" 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_ReconciliationOfRevenueFromSegmentsToConsolidatedTable_01f65015-4488-4faf-8f47-f1a10ed5c7ef" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_ec1a6ee7-259d-4caf-958b-7e083744084b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_ec1a6ee7-259d-4caf-958b-7e083744084b_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_ec1a6ee7-259d-4caf-958b-7e083744084b" xlink:to="loc_us-gaap_SegmentDomain_ec1a6ee7-259d-4caf-958b-7e083744084b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_9dc3ae66-6650-44ff-83d7-1e19880ba91e" 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_ec1a6ee7-259d-4caf-958b-7e083744084b" xlink:to="loc_us-gaap_SegmentDomain_9dc3ae66-6650-44ff-83d7-1e19880ba91e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_RockyMountainsMember_390a961b-25c1-4142-ae25-d80ca4f57cb3" xlink:href="klxe-20220930.xsd#klxe_RockyMountainsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9dc3ae66-6650-44ff-83d7-1e19880ba91e" xlink:to="loc_klxe_RockyMountainsMember_390a961b-25c1-4142-ae25-d80ca4f57cb3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SouthwestMember_2b655d31-f653-4ca6-b4fc-ff0393156695" xlink:href="klxe-20220930.xsd#klxe_SouthwestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9dc3ae66-6650-44ff-83d7-1e19880ba91e" xlink:to="loc_klxe_SouthwestMember_2b655d31-f653-4ca6-b4fc-ff0393156695" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_NortheastMember_ae785ec8-d75a-4c39-804f-bb294d8a880a" xlink:href="klxe-20220930.xsd#klxe_NortheastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9dc3ae66-6650-44ff-83d7-1e19880ba91e" xlink:to="loc_klxe_NortheastMember_ae785ec8-d75a-4c39-804f-bb294d8a880a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_d398579a-7169-4e74-b72a-feb96866e1c4" 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_ReconciliationOfRevenueFromSegmentsToConsolidatedTable_01f65015-4488-4faf-8f47-f1a10ed5c7ef" xlink:to="loc_srt_ConsolidationItemsAxis_d398579a-7169-4e74-b72a-feb96866e1c4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_d398579a-7169-4e74-b72a-feb96866e1c4_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_d398579a-7169-4e74-b72a-feb96866e1c4" xlink:to="loc_srt_ConsolidationItemsDomain_d398579a-7169-4e74-b72a-feb96866e1c4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_0c7f941f-26b1-4d35-a768-11862764d996" 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_d398579a-7169-4e74-b72a-feb96866e1c4" xlink:to="loc_srt_ConsolidationItemsDomain_0c7f941f-26b1-4d35-a768-11862764d996" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_c6e48b32-b278-4681-96fd-ec40041ea2a5" 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_0c7f941f-26b1-4d35-a768-11862764d996" xlink:to="loc_us-gaap_OperatingSegmentsMember_c6e48b32-b278-4681-96fd-ec40041ea2a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_CorporateAndReconcilingItemsMember_431f2488-6b54-4e5a-ac73-8c0c8aed2193" xlink:href="klxe-20220930.xsd#klxe_CorporateAndReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_0c7f941f-26b1-4d35-a768-11862764d996" xlink:to="loc_klxe_CorporateAndReconcilingItemsMember_431f2488-6b54-4e5a-ac73-8c0c8aed2193" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails" xlink:type="extended" id="i2c968676498b4fb2b8e9d65bd260f104_SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_6f79daba-0b2c-4625-9fbd-e2936b70f0be" 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_89cada4b-b6ea-40c4-ae88-306201094422" 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_6f79daba-0b2c-4625-9fbd-e2936b70f0be" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_89cada4b-b6ea-40c4-ae88-306201094422" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_40d93ff3-9b75-428e-b174-be4a7894ba03" 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_6f79daba-0b2c-4625-9fbd-e2936b70f0be" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_40d93ff3-9b75-428e-b174-be4a7894ba03" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_70a3bb4c-88f3-4cfb-a426-00424f8878cb" 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_40d93ff3-9b75-428e-b174-be4a7894ba03" xlink:to="loc_srt_ProductOrServiceAxis_70a3bb4c-88f3-4cfb-a426-00424f8878cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_70a3bb4c-88f3-4cfb-a426-00424f8878cb_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_70a3bb4c-88f3-4cfb-a426-00424f8878cb" xlink:to="loc_srt_ProductsAndServicesDomain_70a3bb4c-88f3-4cfb-a426-00424f8878cb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_96d8b5c0-7a8a-408f-9a8d-4ed00e9d3cef" 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_70a3bb4c-88f3-4cfb-a426-00424f8878cb" xlink:to="loc_srt_ProductsAndServicesDomain_96d8b5c0-7a8a-408f-9a8d-4ed00e9d3cef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DrillingRevenuesMember_159ac10a-648b-4216-830d-d568df31b67a" xlink:href="klxe-20220930.xsd#klxe_DrillingRevenuesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_96d8b5c0-7a8a-408f-9a8d-4ed00e9d3cef" xlink:to="loc_klxe_DrillingRevenuesMember_159ac10a-648b-4216-830d-d568df31b67a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_CompletionRevenuesMember_74e32bd4-d024-4083-91cc-a9a27fd792ed" xlink:href="klxe-20220930.xsd#klxe_CompletionRevenuesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_96d8b5c0-7a8a-408f-9a8d-4ed00e9d3cef" xlink:to="loc_klxe_CompletionRevenuesMember_74e32bd4-d024-4083-91cc-a9a27fd792ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_ProductionRevenuesMember_9dbcfda8-b993-406d-9042-2ef08afc9e78" xlink:href="klxe-20220930.xsd#klxe_ProductionRevenuesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_96d8b5c0-7a8a-408f-9a8d-4ed00e9d3cef" xlink:to="loc_klxe_ProductionRevenuesMember_9dbcfda8-b993-406d-9042-2ef08afc9e78" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_InterventionRevenuesMember_d3bfe450-304f-407d-9224-e8d136af0d4e" xlink:href="klxe-20220930.xsd#klxe_InterventionRevenuesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_96d8b5c0-7a8a-408f-9a8d-4ed00e9d3cef" xlink:to="loc_klxe_InterventionRevenuesMember_d3bfe450-304f-407d-9224-e8d136af0d4e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_8dadc473-19a8-4004-82d7-8779eaf72896" 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_40d93ff3-9b75-428e-b174-be4a7894ba03" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_8dadc473-19a8-4004-82d7-8779eaf72896" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_8dadc473-19a8-4004-82d7-8779eaf72896_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_8dadc473-19a8-4004-82d7-8779eaf72896" xlink:to="loc_us-gaap_SegmentDomain_8dadc473-19a8-4004-82d7-8779eaf72896_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_59791895-d16b-44d0-a1a0-1918a21cf27c" 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_8dadc473-19a8-4004-82d7-8779eaf72896" xlink:to="loc_us-gaap_SegmentDomain_59791895-d16b-44d0-a1a0-1918a21cf27c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_RockyMountainsMember_37397d56-dc3c-420d-92c9-a6930e7c6798" xlink:href="klxe-20220930.xsd#klxe_RockyMountainsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_59791895-d16b-44d0-a1a0-1918a21cf27c" xlink:to="loc_klxe_RockyMountainsMember_37397d56-dc3c-420d-92c9-a6930e7c6798" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SouthwestMember_f6b13c9c-758d-4588-ab08-2ba4b6009e2a" xlink:href="klxe-20220930.xsd#klxe_SouthwestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_59791895-d16b-44d0-a1a0-1918a21cf27c" xlink:to="loc_klxe_SouthwestMember_f6b13c9c-758d-4588-ab08-2ba4b6009e2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_NortheastMember_5dd83842-b862-4b40-bbd1-9eaf5d9f03f1" xlink:href="klxe-20220930.xsd#klxe_NortheastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_59791895-d16b-44d0-a1a0-1918a21cf27c" xlink:to="loc_klxe_NortheastMember_5dd83842-b862-4b40-bbd1-9eaf5d9f03f1" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/SegmentReportingCapitalExpendituresbyReportableSegmentDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#SegmentReportingCapitalExpendituresbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/SegmentReportingCapitalExpendituresbyReportableSegmentDetails" xlink:type="extended" id="i2c356cdeb5ab4cde9c184cca579ac840_SegmentReportingCapitalExpendituresbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_06eaffaa-2c41-4035-a8b5-1fd29c78cca9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_21e002ea-c774-423c-a9ac-d1f9137eb8ec" 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_PropertyPlantAndEquipmentLineItems_06eaffaa-2c41-4035-a8b5-1fd29c78cca9" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_21e002ea-c774-423c-a9ac-d1f9137eb8ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_0d605efd-85eb-4667-bdb2-31edd89988f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_06eaffaa-2c41-4035-a8b5-1fd29c78cca9" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_0d605efd-85eb-4667-bdb2-31edd89988f5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_4695a830-f944-43ec-85c4-20b00d986551" 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_ScheduleOfPropertyPlantAndEquipmentTable_0d605efd-85eb-4667-bdb2-31edd89988f5" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_4695a830-f944-43ec-85c4-20b00d986551" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_4695a830-f944-43ec-85c4-20b00d986551_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_4695a830-f944-43ec-85c4-20b00d986551" xlink:to="loc_us-gaap_SegmentDomain_4695a830-f944-43ec-85c4-20b00d986551_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_d1241d5f-bc90-418a-a5d4-79a1f76381b9" 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_4695a830-f944-43ec-85c4-20b00d986551" xlink:to="loc_us-gaap_SegmentDomain_d1241d5f-bc90-418a-a5d4-79a1f76381b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_RockyMountainsMember_e11b53bb-a976-4350-b8b4-bf5f1e2dd358" xlink:href="klxe-20220930.xsd#klxe_RockyMountainsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_d1241d5f-bc90-418a-a5d4-79a1f76381b9" xlink:to="loc_klxe_RockyMountainsMember_e11b53bb-a976-4350-b8b4-bf5f1e2dd358" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SouthwestMember_5d79c25f-d456-48e0-8d39-b6eb51972331" xlink:href="klxe-20220930.xsd#klxe_SouthwestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_d1241d5f-bc90-418a-a5d4-79a1f76381b9" xlink:to="loc_klxe_SouthwestMember_5d79c25f-d456-48e0-8d39-b6eb51972331" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_NortheastMember_10948718-87c2-4213-b4d7-ed1a258ad664" xlink:href="klxe-20220930.xsd#klxe_NortheastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_d1241d5f-bc90-418a-a5d4-79a1f76381b9" xlink:to="loc_klxe_NortheastMember_10948718-87c2-4213-b4d7-ed1a258ad664" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_809e240d-8a87-4b2e-877b-2d34d3119373" 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_ScheduleOfPropertyPlantAndEquipmentTable_0d605efd-85eb-4667-bdb2-31edd89988f5" xlink:to="loc_srt_ConsolidationItemsAxis_809e240d-8a87-4b2e-877b-2d34d3119373" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_809e240d-8a87-4b2e-877b-2d34d3119373_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_809e240d-8a87-4b2e-877b-2d34d3119373" xlink:to="loc_srt_ConsolidationItemsDomain_809e240d-8a87-4b2e-877b-2d34d3119373_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_932d24e8-fc7f-4664-aa55-71eae1543b92" 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_809e240d-8a87-4b2e-877b-2d34d3119373" xlink:to="loc_srt_ConsolidationItemsDomain_932d24e8-fc7f-4664-aa55-71eae1543b92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_0f48be97-e479-4d0f-8061-abf3eb04adf5" 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_932d24e8-fc7f-4664-aa55-71eae1543b92" xlink:to="loc_us-gaap_OperatingSegmentsMember_0f48be97-e479-4d0f-8061-abf3eb04adf5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_CorporateAndReconcilingItemsMember_6bc722bb-d121-445b-8d3d-0ba36cbdef1d" xlink:href="klxe-20220930.xsd#klxe_CorporateAndReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_932d24e8-fc7f-4664-aa55-71eae1543b92" xlink:to="loc_klxe_CorporateAndReconcilingItemsMember_6bc722bb-d121-445b-8d3d-0ba36cbdef1d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/SegmentReportingTotalAssetsbyReportableSegmentDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#SegmentReportingTotalAssetsbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/SegmentReportingTotalAssetsbyReportableSegmentDetails" xlink:type="extended" id="if0bb17ca459f447bbe7eef69e5b74101_SegmentReportingTotalAssetsbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingAssetReconcilingItemLineItems_ef28a05d-511b-4258-8b5e-3c428df17e9f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingAssetReconcilingItemLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_8eeb02ac-0b88-466b-a0e7-c1977304e47b" 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_SegmentReportingAssetReconcilingItemLineItems_ef28a05d-511b-4258-8b5e-3c428df17e9f" xlink:to="loc_us-gaap_Assets_8eeb02ac-0b88-466b-a0e7-c1977304e47b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable_1f646830-a34b-477b-b11a-ac22c684ddd9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingAssetReconcilingItemLineItems_ef28a05d-511b-4258-8b5e-3c428df17e9f" xlink:to="loc_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable_1f646830-a34b-477b-b11a-ac22c684ddd9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_2c20f8a1-5ad9-4b07-b185-bdb0957c5901" 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_ReconciliationOfAssetsFromSegmentToConsolidatedTable_1f646830-a34b-477b-b11a-ac22c684ddd9" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_2c20f8a1-5ad9-4b07-b185-bdb0957c5901" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_2c20f8a1-5ad9-4b07-b185-bdb0957c5901_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_2c20f8a1-5ad9-4b07-b185-bdb0957c5901" xlink:to="loc_us-gaap_SegmentDomain_2c20f8a1-5ad9-4b07-b185-bdb0957c5901_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_9219b2a9-58e2-4f95-b60d-40de1449a721" 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_2c20f8a1-5ad9-4b07-b185-bdb0957c5901" xlink:to="loc_us-gaap_SegmentDomain_9219b2a9-58e2-4f95-b60d-40de1449a721" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_RockyMountainsMember_f1bf3907-cec7-4d6d-870e-d4001ac5842a" xlink:href="klxe-20220930.xsd#klxe_RockyMountainsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9219b2a9-58e2-4f95-b60d-40de1449a721" xlink:to="loc_klxe_RockyMountainsMember_f1bf3907-cec7-4d6d-870e-d4001ac5842a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SouthwestMember_de2ccc67-8a0e-4cc2-a406-9dd55e755d64" xlink:href="klxe-20220930.xsd#klxe_SouthwestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9219b2a9-58e2-4f95-b60d-40de1449a721" xlink:to="loc_klxe_SouthwestMember_de2ccc67-8a0e-4cc2-a406-9dd55e755d64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_NortheastMember_c47686c1-054b-46d5-b4d1-7b9af315e3d3" xlink:href="klxe-20220930.xsd#klxe_NortheastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9219b2a9-58e2-4f95-b60d-40de1449a721" xlink:to="loc_klxe_NortheastMember_c47686c1-054b-46d5-b4d1-7b9af315e3d3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_e37d48e3-e1f5-4617-9c74-ac97f32cc5ce" 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_ReconciliationOfAssetsFromSegmentToConsolidatedTable_1f646830-a34b-477b-b11a-ac22c684ddd9" xlink:to="loc_srt_ConsolidationItemsAxis_e37d48e3-e1f5-4617-9c74-ac97f32cc5ce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_e37d48e3-e1f5-4617-9c74-ac97f32cc5ce_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_e37d48e3-e1f5-4617-9c74-ac97f32cc5ce" xlink:to="loc_srt_ConsolidationItemsDomain_e37d48e3-e1f5-4617-9c74-ac97f32cc5ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_a81173f1-6b5b-4382-ab6a-cb8d0437f81f" 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_e37d48e3-e1f5-4617-9c74-ac97f32cc5ce" xlink:to="loc_srt_ConsolidationItemsDomain_a81173f1-6b5b-4382-ab6a-cb8d0437f81f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_086ef8e7-a6e1-4792-b287-428f30281cbd" 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_a81173f1-6b5b-4382-ab6a-cb8d0437f81f" xlink:to="loc_us-gaap_OperatingSegmentsMember_086ef8e7-a6e1-4792-b287-428f30281cbd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_CorporateAndReconcilingItemsMember_bb11cb2a-5dc8-4e92-bd4d-6e3e47cbff14" xlink:href="klxe-20220930.xsd#klxe_CorporateAndReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_a81173f1-6b5b-4382-ab6a-cb8d0437f81f" xlink:to="loc_klxe_CorporateAndReconcilingItemsMember_bb11cb2a-5dc8-4e92-bd4d-6e3e47cbff14" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/NetIncomeLossPerCommonShareNarrativeDetails" xlink:type="simple" xlink:href="klxe-20220930.xsd#NetIncomeLossPerCommonShareNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/NetIncomeLossPerCommonShareNarrativeDetails" xlink:type="extended" id="i7b48d401e12147c89ab3644518e97510_NetIncomeLossPerCommonShareNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_6ba061be-6db1-43b7-be4b-c3931ecc9822" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EarningsPerShareBasicLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4953de98-4b8a-4356-b1be-b68f0ef068d2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_6ba061be-6db1-43b7-be4b-c3931ecc9822" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_4953de98-4b8a-4356-b1be-b68f0ef068d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_bfaf6234-87bc-4501-be86-bb536b99d138" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareBasicLineItems_6ba061be-6db1-43b7-be4b-c3931ecc9822" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_bfaf6234-87bc-4501-be86-bb536b99d138" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_77dd186a-f016-4612-ab0a-cb1a5df85c69" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_bfaf6234-87bc-4501-be86-bb536b99d138" xlink:to="loc_us-gaap_AwardTypeAxis_77dd186a-f016-4612-ab0a-cb1a5df85c69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_77dd186a-f016-4612-ab0a-cb1a5df85c69_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_77dd186a-f016-4612-ab0a-cb1a5df85c69" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_77dd186a-f016-4612-ab0a-cb1a5df85c69_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_284bbc5e-cca6-4478-a531-4638c6248fb7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_77dd186a-f016-4612-ab0a-cb1a5df85c69" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_284bbc5e-cca6-4478-a531-4638c6248fb7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_6fdf510d-b15e-4b29-ae5c-659590535711" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_284bbc5e-cca6-4478-a531-4638c6248fb7" xlink:to="loc_us-gaap_RestrictedStockMember_6fdf510d-b15e-4b29-ae5c-659590535711" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
