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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:e38e0e2b-1f5e-480a-b3d2-f1663786c3a8,g:4c6eef82-2fa3-4a8f-84ce-f3ae904dc58a-->
<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-20220630.xsd#CondensedConsolidatedStatementsofStockholdersDeficit"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/CondensedConsolidatedStatementsofStockholdersDeficit" xlink:type="extended" id="i28daffbba5c84521b01186216f3fdd63_CondensedConsolidatedStatementsofStockholdersDeficit">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_8b33ee8e-6dc4-49ff-a062-6c8c55157c23" 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_fc1272ee-9f85-4a3d-b87e-e3c728759402" 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_8b33ee8e-6dc4-49ff-a062-6c8c55157c23" xlink:to="loc_us-gaap_AccountingStandardsUpdateExtensibleList_fc1272ee-9f85-4a3d-b87e-e3c728759402" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" 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_8b33ee8e-6dc4-49ff-a062-6c8c55157c23" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_3ed57482-5d9f-4522-91d0-49a75c561d98" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:to="loc_us-gaap_SharesIssued_3ed57482-5d9f-4522-91d0-49a75c561d98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_383a2040-20dc-49b6-8805-82a4f44e7c4a" 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_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:to="loc_us-gaap_StockholdersEquity_383a2040-20dc-49b6-8805-82a4f44e7c4a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_80f9002e-3b01-49a6-ac81-acf01ae3678f" 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_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_80f9002e-3b01-49a6-ac81-acf01ae3678f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_ac1e48bd-7025-4c8a-a035-b2d4ebbae879" 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_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_ac1e48bd-7025-4c8a-a035-b2d4ebbae879" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_b4914639-fa9d-4f14-ab02-87ca888bb32f" 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_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_b4914639-fa9d-4f14-ab02-87ca888bb32f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_e94ba0ed-2f6d-4ee6-aa06-ebee1d9a311a" 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_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_e94ba0ed-2f6d-4ee6-aa06-ebee1d9a311a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_4e6116cb-156d-4ca1-9320-8fe63f0ea1b9" 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_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_4e6116cb-156d-4ca1-9320-8fe63f0ea1b9" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_6973565b-cee6-483c-a72a-5f1e8a469ef1" 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_066713b8-03f7-4a9d-a9ec-f22ad0aadd22" xlink:to="loc_us-gaap_NetIncomeLoss_6973565b-cee6-483c-a72a-5f1e8a469ef1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_22b73bdc-5870-4eab-be1a-b23f47f80340" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_f08c14da-d12d-4abf-a4db-4dd0d7adf65a" 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_278cea1f-568f-4c37-a7f3-d1bb55c7f2e1" 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_8b33ee8e-6dc4-49ff-a062-6c8c55157c23" xlink:to="loc_us-gaap_StatementTable_278cea1f-568f-4c37-a7f3-d1bb55c7f2e1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_ee4d15e5-1c7d-4b09-9bd4-197c4a736ad7" 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_278cea1f-568f-4c37-a7f3-d1bb55c7f2e1" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_ee4d15e5-1c7d-4b09-9bd4-197c4a736ad7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_ee4d15e5-1c7d-4b09-9bd4-197c4a736ad7_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_ee4d15e5-1c7d-4b09-9bd4-197c4a736ad7" xlink:to="loc_us-gaap_EquityComponentDomain_ee4d15e5-1c7d-4b09-9bd4-197c4a736ad7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_68b9e152-dea9-4171-be21-1fc180f6d6ba" 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_ee4d15e5-1c7d-4b09-9bd4-197c4a736ad7" xlink:to="loc_us-gaap_EquityComponentDomain_68b9e152-dea9-4171-be21-1fc180f6d6ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_3331dd8d-ae4a-40bb-a337-d52ee75f1d4f" 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_68b9e152-dea9-4171-be21-1fc180f6d6ba" xlink:to="loc_us-gaap_CommonStockMember_3331dd8d-ae4a-40bb-a337-d52ee75f1d4f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_fe1c1180-ffc0-4bdd-aba5-8164b3e33550" 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_68b9e152-dea9-4171-be21-1fc180f6d6ba" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_fe1c1180-ffc0-4bdd-aba5-8164b3e33550" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_31674b25-f86a-4c5e-b811-906df0d2d5d0" 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_68b9e152-dea9-4171-be21-1fc180f6d6ba" xlink:to="loc_us-gaap_TreasuryStockCommonMember_31674b25-f86a-4c5e-b811-906df0d2d5d0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_1e7b4b00-7bd8-453d-819f-19324d54e551" 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_68b9e152-dea9-4171-be21-1fc180f6d6ba" xlink:to="loc_us-gaap_RetainedEarningsMember_1e7b4b00-7bd8-453d-819f-19324d54e551" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_a254578c-4c6e-49e1-b41b-587576bd8233" 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_278cea1f-568f-4c37-a7f3-d1bb55c7f2e1" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_a254578c-4c6e-49e1-b41b-587576bd8233" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_a254578c-4c6e-49e1-b41b-587576bd8233_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_a254578c-4c6e-49e1-b41b-587576bd8233" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_a254578c-4c6e-49e1-b41b-587576bd8233_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_3e85f850-3d70-44de-9c48-cc878cf476e0" 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_a254578c-4c6e-49e1-b41b-587576bd8233" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_3e85f850-3d70-44de-9c48-cc878cf476e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_d629e76a-9366-4905-a1f7-e7802f2dcf97" 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_3e85f850-3d70-44de-9c48-cc878cf476e0" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_d629e76a-9366-4905-a1f7-e7802f2dcf97" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/RecentAccountingPronouncementsDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#RecentAccountingPronouncementsDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/RecentAccountingPronouncementsDetails" xlink:type="extended" id="ia796261fa986488cb0731452fa265015_RecentAccountingPronouncementsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_4e713f1a-ec69-4727-9955-8bd6e0e03d57" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_1e1ad955-5469-458f-9683-3e77aa5e31e7" 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_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_4e713f1a-ec69-4727-9955-8bd6e0e03d57" xlink:to="loc_us-gaap_LineOfCredit_1e1ad955-5469-458f-9683-3e77aa5e31e7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_9d90f2b8-9718-4cfb-a307-abf52c1627c2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_4e713f1a-ec69-4727-9955-8bd6e0e03d57" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_9d90f2b8-9718-4cfb-a307-abf52c1627c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_7bea3ee1-ddb6-4ffd-9f26-885e3c37fc88" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_4e713f1a-ec69-4727-9955-8bd6e0e03d57" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_7bea3ee1-ddb6-4ffd-9f26-885e3c37fc88" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_7be945e0-aa55-4ca5-8bc6-383dc63ed367" 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_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_7bea3ee1-ddb6-4ffd-9f26-885e3c37fc88" xlink:to="loc_us-gaap_CreditFacilityAxis_7be945e0-aa55-4ca5-8bc6-383dc63ed367" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_7be945e0-aa55-4ca5-8bc6-383dc63ed367_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_7be945e0-aa55-4ca5-8bc6-383dc63ed367" xlink:to="loc_us-gaap_CreditFacilityDomain_7be945e0-aa55-4ca5-8bc6-383dc63ed367_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_5878916d-d6ec-469c-a263-8d042fd95869" 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_7be945e0-aa55-4ca5-8bc6-383dc63ed367" xlink:to="loc_us-gaap_CreditFacilityDomain_5878916d-d6ec-469c-a263-8d042fd95869" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_46363c89-0ed4-4429-bca8-bc22342ea08c" 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_5878916d-d6ec-469c-a263-8d042fd95869" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_46363c89-0ed4-4429-bca8-bc22342ea08c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_74391fcf-c78e-4b83-aee8-a94326c9aa94" 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_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_7bea3ee1-ddb6-4ffd-9f26-885e3c37fc88" xlink:to="loc_us-gaap_DebtInstrumentAxis_74391fcf-c78e-4b83-aee8-a94326c9aa94" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_74391fcf-c78e-4b83-aee8-a94326c9aa94_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_74391fcf-c78e-4b83-aee8-a94326c9aa94" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_74391fcf-c78e-4b83-aee8-a94326c9aa94_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f80e44cd-f4af-4f0f-a3d4-f090a82ea236" 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_74391fcf-c78e-4b83-aee8-a94326c9aa94" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f80e44cd-f4af-4f0f-a3d4-f090a82ea236" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AssetBasedRevolvingCreditFacilityMember_8d3a4408-67f2-44ac-a9f9-117488510f08" xlink:href="klxe-20220630.xsd#klxe_AssetBasedRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_f80e44cd-f4af-4f0f-a3d4-f090a82ea236" xlink:to="loc_klxe_AssetBasedRevolvingCreditFacilityMember_8d3a4408-67f2-44ac-a9f9-117488510f08" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/PropertyandEquipmentNetSummaryofPropertyandEquipmentDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#PropertyandEquipmentNetSummaryofPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/PropertyandEquipmentNetSummaryofPropertyandEquipmentDetails" xlink:type="extended" id="i64cb7d7d0e664c2e999cb9879d64f62a_PropertyandEquipmentNetSummaryofPropertyandEquipmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_408f0dfb-e241-41bc-881f-914dbaea712c" 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_9179b291-3287-4bb5-9796-2609a4bdfcdd" 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_408f0dfb-e241-41bc-881f-914dbaea712c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_9179b291-3287-4bb5-9796-2609a4bdfcdd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_00fe1da7-af26-421b-9c7a-1679eb753d3e" 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_408f0dfb-e241-41bc-881f-914dbaea712c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_00fe1da7-af26-421b-9c7a-1679eb753d3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_6a038bdc-e69c-4b25-873e-aebf16abd973" 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_408f0dfb-e241-41bc-881f-914dbaea712c" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_6a038bdc-e69c-4b25-873e-aebf16abd973" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_aad9e81c-6849-44ed-8bf0-9786bb0511b3" 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_408f0dfb-e241-41bc-881f-914dbaea712c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_aad9e81c-6849-44ed-8bf0-9786bb0511b3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_2ded96c0-b75e-45e6-9e71-c015f54582d8" 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_408f0dfb-e241-41bc-881f-914dbaea712c" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_2ded96c0-b75e-45e6-9e71-c015f54582d8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_895fb5db-f173-4e5c-bab4-1edd8cfa4ffe" 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_408f0dfb-e241-41bc-881f-914dbaea712c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_895fb5db-f173-4e5c-bab4-1edd8cfa4ffe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_b74efe18-76d8-4410-8388-50f2b25ad6a2" 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_408f0dfb-e241-41bc-881f-914dbaea712c" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_b74efe18-76d8-4410-8388-50f2b25ad6a2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_2ee9b8e7-ba67-44aa-851f-753925b911e4" 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_b74efe18-76d8-4410-8388-50f2b25ad6a2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_2ee9b8e7-ba67-44aa-851f-753925b911e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2ee9b8e7-ba67-44aa-851f-753925b911e4_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_2ee9b8e7-ba67-44aa-851f-753925b911e4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2ee9b8e7-ba67-44aa-851f-753925b911e4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0ea3ce8c-d801-46ce-aa86-684ed68e07a7" 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_2ee9b8e7-ba67-44aa-851f-753925b911e4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0ea3ce8c-d801-46ce-aa86-684ed68e07a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_0cfac8f6-5900-4f3f-a614-3cc6428320ad" xlink:href="klxe-20220630.xsd#klxe_DepreciablePropertyPlantAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_0ea3ce8c-d801-46ce-aa86-684ed68e07a7" xlink:to="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_0cfac8f6-5900-4f3f-a614-3cc6428320ad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandBuildingsAndImprovementsMember_32684aa1-004b-485c-91d5-154042431ba4" 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_0cfac8f6-5900-4f3f-a614-3cc6428320ad" xlink:to="loc_us-gaap_LandBuildingsAndImprovementsMember_32684aa1-004b-485c-91d5-154042431ba4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_MachineryMember_88818603-c160-4a53-8534-04285d4932e2" xlink:href="klxe-20220630.xsd#klxe_MachineryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_0cfac8f6-5900-4f3f-a614-3cc6428320ad" xlink:to="loc_klxe_MachineryMember_88818603-c160-4a53-8534-04285d4932e2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_FurnitureAndEquipmentMember_c11afb1f-8f00-4e2e-87e3-a9f068e8c3a1" xlink:href="klxe-20220630.xsd#klxe_FurnitureAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_0cfac8f6-5900-4f3f-a614-3cc6428320ad" xlink:to="loc_klxe_FurnitureAndEquipmentMember_c11afb1f-8f00-4e2e-87e3-a9f068e8c3a1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_FinanceLeaseRightOfUseAssetsMember_0b4e8d4c-5ef9-42a4-8ec8-fb6f804627cd" xlink:href="klxe-20220630.xsd#klxe_FinanceLeaseRightOfUseAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_klxe_DepreciablePropertyPlantAndEquipmentMember_0cfac8f6-5900-4f3f-a614-3cc6428320ad" xlink:to="loc_klxe_FinanceLeaseRightOfUseAssetsMember_0b4e8d4c-5ef9-42a4-8ec8-fb6f804627cd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_eb493c80-d5e6-4da2-8f2c-568feceae27d" 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_0ea3ce8c-d801-46ce-aa86-684ed68e07a7" xlink:to="loc_us-gaap_ConstructionInProgressMember_eb493c80-d5e6-4da2-8f2c-568feceae27d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_b7f16ce3-7b9f-4393-af1e-a84287fee53e" 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_b74efe18-76d8-4410-8388-50f2b25ad6a2" xlink:to="loc_srt_RangeAxis_b7f16ce3-7b9f-4393-af1e-a84287fee53e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b7f16ce3-7b9f-4393-af1e-a84287fee53e_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_b7f16ce3-7b9f-4393-af1e-a84287fee53e" xlink:to="loc_srt_RangeMember_b7f16ce3-7b9f-4393-af1e-a84287fee53e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0854f754-46ec-40a8-9e50-b0884154e391" 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_b7f16ce3-7b9f-4393-af1e-a84287fee53e" xlink:to="loc_srt_RangeMember_0854f754-46ec-40a8-9e50-b0884154e391" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_447caeee-8fc2-4354-9018-0f61614fa957" 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_0854f754-46ec-40a8-9e50-b0884154e391" xlink:to="loc_srt_MinimumMember_447caeee-8fc2-4354-9018-0f61614fa957" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_ce0cdb2c-2df1-47f3-8e50-133829d19ba7" 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_0854f754-46ec-40a8-9e50-b0884154e391" xlink:to="loc_srt_MaximumMember_ce0cdb2c-2df1-47f3-8e50-133829d19ba7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/LongTermDebtSummaryofLongtermDebtDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#LongTermDebtSummaryofLongtermDebtDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/LongTermDebtSummaryofLongtermDebtDetails" xlink:type="extended" id="i973394ddb71e461c91dab81b7487e407_LongTermDebtSummaryofLongtermDebtDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_bc4f1377-fb8c-4b16-99ab-8a8e8432a6d4" 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_fb503152-6a69-4ec8-bf4e-5fc8161bf292" 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_bc4f1377-fb8c-4b16-99ab-8a8e8432a6d4" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_fb503152-6a69-4ec8-bf4e-5fc8161bf292" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_b6221eae-66e1-44a4-8716-c30216793698" 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_bc4f1377-fb8c-4b16-99ab-8a8e8432a6d4" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_b6221eae-66e1-44a4-8716-c30216793698" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_5a9e724f-0737-4a94-8277-f53521884297" 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_bc4f1377-fb8c-4b16-99ab-8a8e8432a6d4" xlink:to="loc_us-gaap_LongTermDebt_5a9e724f-0737-4a94-8277-f53521884297" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_15c5d19b-c0f2-41eb-8d88-126cf69f7d12" 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_bc4f1377-fb8c-4b16-99ab-8a8e8432a6d4" xlink:to="loc_us-gaap_DebtInstrumentTable_15c5d19b-c0f2-41eb-8d88-126cf69f7d12" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_3cf461fd-ccf2-4e9f-874b-e27b14821a18" 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_15c5d19b-c0f2-41eb-8d88-126cf69f7d12" xlink:to="loc_us-gaap_DebtInstrumentAxis_3cf461fd-ccf2-4e9f-874b-e27b14821a18" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3cf461fd-ccf2-4e9f-874b-e27b14821a18_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_3cf461fd-ccf2-4e9f-874b-e27b14821a18" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3cf461fd-ccf2-4e9f-874b-e27b14821a18_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_a203ad36-61b3-4f1b-b82b-01fd24a3bb7f" 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_3cf461fd-ccf2-4e9f-874b-e27b14821a18" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_a203ad36-61b3-4f1b-b82b-01fd24a3bb7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_6e1b964b-1345-434b-bb1d-e1b9b0a76df6" xlink:href="klxe-20220630.xsd#klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_a203ad36-61b3-4f1b-b82b-01fd24a3bb7f" xlink:to="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_6e1b964b-1345-434b-bb1d-e1b9b0a76df6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AssetBasedRevolvingCreditFacilityMember_2ffc963c-c655-4725-9d4c-a156552becf7" xlink:href="klxe-20220630.xsd#klxe_AssetBasedRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_a203ad36-61b3-4f1b-b82b-01fd24a3bb7f" xlink:to="loc_klxe_AssetBasedRevolvingCreditFacilityMember_2ffc963c-c655-4725-9d4c-a156552becf7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/LongTermDebtNarrativeDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#LongTermDebtNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/LongTermDebtNarrativeDetails" xlink:type="extended" id="i4480369018494d0598f15aa6f7c07ace_LongTermDebtNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_a81de56c-3af1-4c88-8657-114b767bc3b3" 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_914bafba-d1b0-4e8d-9144-3b4398b20798" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_914bafba-d1b0-4e8d-9144-3b4398b20798" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_19959b8f-7fce-4076-a001-bdb32450659d" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_19959b8f-7fce-4076-a001-bdb32450659d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_f3debe61-7db5-4fc3-869d-83584863f1f1" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_LongTermDebt_f3debe61-7db5-4fc3-869d-83584863f1f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrent_5127cd14-5dbf-4130-af81-994e5e7f2a9d" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_InterestPayableCurrent_5127cd14-5dbf-4130-af81-994e5e7f2a9d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_d4df24a5-bc6e-4274-be31-5235a6d10e45" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_d4df24a5-bc6e-4274-be31-5235a6d10e45" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentCovenantFixedChargeCoverageRatioMinimum_87fd4b3c-90b9-4de9-95dd-547d1db2c253" xlink:href="klxe-20220630.xsd#klxe_DebtInstrumentCovenantFixedChargeCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_klxe_DebtInstrumentCovenantFixedChargeCoverageRatioMinimum_87fd4b3c-90b9-4de9-95dd-547d1db2c253" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentCovenantLiquidityThresholdAmount_6cfefb23-1504-4d9a-ab8d-2ab77ebf4981" xlink:href="klxe-20220630.xsd#klxe_DebtInstrumentCovenantLiquidityThresholdAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_klxe_DebtInstrumentCovenantLiquidityThresholdAmount_6cfefb23-1504-4d9a-ab8d-2ab77ebf4981" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentCovenantLiquidityThresholdPercentOfBorrowingBase_89eb1e47-7f43-49a5-b561-a53e6b1bd51d" xlink:href="klxe-20220630.xsd#klxe_DebtInstrumentCovenantLiquidityThresholdPercentOfBorrowingBase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_klxe_DebtInstrumentCovenantLiquidityThresholdPercentOfBorrowingBase_89eb1e47-7f43-49a5-b561-a53e6b1bd51d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_b24121be-fba3-4fa5-b1ae-58a1aa95ff46" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_LineOfCredit_b24121be-fba3-4fa5-b1ae-58a1aa95ff46" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_2aa387de-7eed-4f5f-8a74-e902467545cb" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_2aa387de-7eed-4f5f-8a74-e902467545cb" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_49e2110d-8673-472f-9aa9-1190efa95c49" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_49e2110d-8673-472f-9aa9-1190efa95c49" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_LineOfCreditFacilityCurrentBorrowingCapacityNet_dba61fb6-ae50-41fd-be72-fb3424180e09" xlink:href="klxe-20220630.xsd#klxe_LineOfCreditFacilityCurrentBorrowingCapacityNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_klxe_LineOfCreditFacilityCurrentBorrowingCapacityNet_dba61fb6-ae50-41fd-be72-fb3424180e09" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DebtInstrumentFixedChargeCoverageRatioHoldbackAmount_cb6cc8bd-a489-4a6b-94db-f1b6e8cce284" xlink:href="klxe-20220630.xsd#klxe_DebtInstrumentFixedChargeCoverageRatioHoldbackAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_klxe_DebtInstrumentFixedChargeCoverageRatioHoldbackAmount_cb6cc8bd-a489-4a6b-94db-f1b6e8cce284" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_bb92f424-ee18-44b6-9f15-6209456abff3" 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_a81de56c-3af1-4c88-8657-114b767bc3b3" xlink:to="loc_us-gaap_DebtInstrumentTable_bb92f424-ee18-44b6-9f15-6209456abff3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_74e5a5da-e6a8-4e9f-ba91-8180f04c36df" 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_bb92f424-ee18-44b6-9f15-6209456abff3" xlink:to="loc_us-gaap_DebtInstrumentAxis_74e5a5da-e6a8-4e9f-ba91-8180f04c36df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_74e5a5da-e6a8-4e9f-ba91-8180f04c36df_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_74e5a5da-e6a8-4e9f-ba91-8180f04c36df" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_74e5a5da-e6a8-4e9f-ba91-8180f04c36df_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_ae288d32-4f3c-4c01-a50d-c49b43ec05fb" 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_74e5a5da-e6a8-4e9f-ba91-8180f04c36df" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_ae288d32-4f3c-4c01-a50d-c49b43ec05fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_3ba395f6-ff5a-496a-9e81-442d418fdadc" xlink:href="klxe-20220630.xsd#klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_ae288d32-4f3c-4c01-a50d-c49b43ec05fb" xlink:to="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_3ba395f6-ff5a-496a-9e81-442d418fdadc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AssetBasedRevolvingCreditFacilityMember_d5afd3a9-517c-4ca3-9328-b8ecdce2fba8" xlink:href="klxe-20220630.xsd#klxe_AssetBasedRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_ae288d32-4f3c-4c01-a50d-c49b43ec05fb" xlink:to="loc_klxe_AssetBasedRevolvingCreditFacilityMember_d5afd3a9-517c-4ca3-9328-b8ecdce2fba8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_1b0d3ffe-38ea-421c-955a-d0dc852b1e77" 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_bb92f424-ee18-44b6-9f15-6209456abff3" xlink:to="loc_us-gaap_CreditFacilityAxis_1b0d3ffe-38ea-421c-955a-d0dc852b1e77" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_1b0d3ffe-38ea-421c-955a-d0dc852b1e77_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_1b0d3ffe-38ea-421c-955a-d0dc852b1e77" xlink:to="loc_us-gaap_CreditFacilityDomain_1b0d3ffe-38ea-421c-955a-d0dc852b1e77_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_7ef6d432-6b03-4d55-a7fe-e90baf3a75aa" 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_1b0d3ffe-38ea-421c-955a-d0dc852b1e77" xlink:to="loc_us-gaap_CreditFacilityDomain_7ef6d432-6b03-4d55-a7fe-e90baf3a75aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_66b24758-6277-4053-aadd-4dad60833866" 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_7ef6d432-6b03-4d55-a7fe-e90baf3a75aa" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_66b24758-6277-4053-aadd-4dad60833866" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/FairValueInformationNarrativeDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#FairValueInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/FairValueInformationNarrativeDetails" xlink:type="extended" id="i7846193716b04cbb88ce1c089c43d76c_FairValueInformationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_60ebe8d8-83ce-48a2-a227-77e0394fc530" 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_10b6dc54-6626-4a2b-80d8-81a0ce6a5854" 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_60ebe8d8-83ce-48a2-a227-77e0394fc530" xlink:to="loc_us-gaap_LineOfCredit_10b6dc54-6626-4a2b-80d8-81a0ce6a5854" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a9713292-6aa5-430d-9255-9859e0d2ca3a" 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_60ebe8d8-83ce-48a2-a227-77e0394fc530" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a9713292-6aa5-430d-9255-9859e0d2ca3a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_8b87243b-2ffb-4738-baa3-828149bea5d9" 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_a9713292-6aa5-430d-9255-9859e0d2ca3a" xlink:to="loc_us-gaap_CreditFacilityAxis_8b87243b-2ffb-4738-baa3-828149bea5d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_8b87243b-2ffb-4738-baa3-828149bea5d9_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_8b87243b-2ffb-4738-baa3-828149bea5d9" xlink:to="loc_us-gaap_CreditFacilityDomain_8b87243b-2ffb-4738-baa3-828149bea5d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_5190ac84-fe54-4e1f-8860-53631d0cc8d3" 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_8b87243b-2ffb-4738-baa3-828149bea5d9" xlink:to="loc_us-gaap_CreditFacilityDomain_5190ac84-fe54-4e1f-8860-53631d0cc8d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_303024a3-2bf9-410d-a584-579141192193" 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_5190ac84-fe54-4e1f-8860-53631d0cc8d3" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_303024a3-2bf9-410d-a584-579141192193" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_0e07c3e7-ac7c-45d2-8d4f-9d77e728d3d9" 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_a9713292-6aa5-430d-9255-9859e0d2ca3a" xlink:to="loc_us-gaap_DebtInstrumentAxis_0e07c3e7-ac7c-45d2-8d4f-9d77e728d3d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_0e07c3e7-ac7c-45d2-8d4f-9d77e728d3d9_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_0e07c3e7-ac7c-45d2-8d4f-9d77e728d3d9" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_0e07c3e7-ac7c-45d2-8d4f-9d77e728d3d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d070c0b7-e5a8-4c4f-97b3-9a6d6725c6da" 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_0e07c3e7-ac7c-45d2-8d4f-9d77e728d3d9" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d070c0b7-e5a8-4c4f-97b3-9a6d6725c6da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AssetBasedRevolvingCreditFacilityMember_161df1a4-cbec-42d1-8ecc-53ba14cfbe74" xlink:href="klxe-20220630.xsd#klxe_AssetBasedRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_d070c0b7-e5a8-4c4f-97b3-9a6d6725c6da" xlink:to="loc_klxe_AssetBasedRevolvingCreditFacilityMember_161df1a4-cbec-42d1-8ecc-53ba14cfbe74" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/FairValueInformationScheduleofSeniorSecuredNotesDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#FairValueInformationScheduleofSeniorSecuredNotesDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/FairValueInformationScheduleofSeniorSecuredNotesDetails" xlink:type="extended" id="i98929ebcde2046fea372fc1c4b7fa224_FairValueInformationScheduleofSeniorSecuredNotesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_0f94d393-6a6a-483b-8c21-7041bd4a033e" 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_15c29e84-f51a-495e-9cd9-5d83ef586914" 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_0f94d393-6a6a-483b-8c21-7041bd4a033e" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_15c29e84-f51a-495e-9cd9-5d83ef586914" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_c7a62e9d-aa90-440f-b544-251fd2e3a309" 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_0f94d393-6a6a-483b-8c21-7041bd4a033e" xlink:to="loc_us-gaap_LongTermDebtFairValue_c7a62e9d-aa90-440f-b544-251fd2e3a309" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_16ffdda2-a68c-4fcf-953e-f124a024d6ba" 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_0f94d393-6a6a-483b-8c21-7041bd4a033e" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_16ffdda2-a68c-4fcf-953e-f124a024d6ba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_d333692f-d8de-409b-80de-82dc7b286ae2" 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_16ffdda2-a68c-4fcf-953e-f124a024d6ba" xlink:to="loc_us-gaap_DebtInstrumentAxis_d333692f-d8de-409b-80de-82dc7b286ae2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d333692f-d8de-409b-80de-82dc7b286ae2_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_d333692f-d8de-409b-80de-82dc7b286ae2" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d333692f-d8de-409b-80de-82dc7b286ae2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_17bdf48a-7363-4adb-91cb-7aad48d8dd22" 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_d333692f-d8de-409b-80de-82dc7b286ae2" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_17bdf48a-7363-4adb-91cb-7aad48d8dd22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_d1ea3e16-dbcb-4261-bf47-3cfb83cc029b" xlink:href="klxe-20220630.xsd#klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_17bdf48a-7363-4adb-91cb-7aad48d8dd22" xlink:to="loc_klxe_SeniorSecuredNotesElevenPointFivePercentDueTwentyTwentyFiveMember_d1ea3e16-dbcb-4261-bf47-3cfb83cc029b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_15b04d85-1597-4c95-999b-b9fd759429bd" 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_16ffdda2-a68c-4fcf-953e-f124a024d6ba" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_15b04d85-1597-4c95-999b-b9fd759429bd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_15b04d85-1597-4c95-999b-b9fd759429bd_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_15b04d85-1597-4c95-999b-b9fd759429bd" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_15b04d85-1597-4c95-999b-b9fd759429bd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1fd70735-a3bf-49e6-9353-508467f70174" 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_15b04d85-1597-4c95-999b-b9fd759429bd" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1fd70735-a3bf-49e6-9353-508467f70174" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_426159f0-2b14-4662-863a-5a9cd68155d5" 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_1fd70735-a3bf-49e6-9353-508467f70174" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_426159f0-2b14-4662-863a-5a9cd68155d5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_f40b1f04-dc6d-47f8-a498-9c62e7bf2d67" 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_1fd70735-a3bf-49e6-9353-508467f70174" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_f40b1f04-dc6d-47f8-a498-9c62e7bf2d67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_547a6488-662b-4400-b1ee-f1c65d896e93" 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_1fd70735-a3bf-49e6-9353-508467f70174" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_547a6488-662b-4400-b1ee-f1c65d896e93" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_cc5e7ea9-4fe9-47f7-b820-ab8c3e523482" 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_16ffdda2-a68c-4fcf-953e-f124a024d6ba" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_cc5e7ea9-4fe9-47f7-b820-ab8c3e523482" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_cc5e7ea9-4fe9-47f7-b820-ab8c3e523482_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_cc5e7ea9-4fe9-47f7-b820-ab8c3e523482" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_cc5e7ea9-4fe9-47f7-b820-ab8c3e523482_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_ba361510-4c37-4cb3-8642-51a4ee3a9308" 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_cc5e7ea9-4fe9-47f7-b820-ab8c3e523482" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_ba361510-4c37-4cb3-8642-51a4ee3a9308" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_459cb483-cc08-434d-b6c5-3799969c7db3" 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_ba361510-4c37-4cb3-8642-51a4ee3a9308" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_459cb483-cc08-434d-b6c5-3799969c7db3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/CommitmentsContingenciesandOffBalanceSheetArrangementsDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#CommitmentsContingenciesandOffBalanceSheetArrangementsDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/CommitmentsContingenciesandOffBalanceSheetArrangementsDetails" xlink:type="extended" id="ic4f02f6a28b242ccacc9a1a32d7737c6_CommitmentsContingenciesandOffBalanceSheetArrangementsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_dc344c39-1b4d-45fc-ac1f-78c2232811e2" 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_b03697de-28a7-4b3c-a8b1-bc9333e89cb5" 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_dc344c39-1b4d-45fc-ac1f-78c2232811e2" xlink:to="loc_us-gaap_GainContingencyUnrecordedAmount_b03697de-28a7-4b3c-a8b1-bc9333e89cb5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_4cfe4f69-0954-49d0-a2c7-2421df36a614" 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_dc344c39-1b4d-45fc-ac1f-78c2232811e2" xlink:to="loc_us-gaap_LossContingenciesTable_4cfe4f69-0954-49d0-a2c7-2421df36a614" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainContingenciesByNatureAxis_5e6332a7-3c45-4743-92c6-57eefe5bd041" 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_4cfe4f69-0954-49d0-a2c7-2421df36a614" xlink:to="loc_us-gaap_GainContingenciesByNatureAxis_5e6332a7-3c45-4743-92c6-57eefe5bd041" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainContingencyNatureDomain_5e6332a7-3c45-4743-92c6-57eefe5bd041_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_5e6332a7-3c45-4743-92c6-57eefe5bd041" xlink:to="loc_us-gaap_GainContingencyNatureDomain_5e6332a7-3c45-4743-92c6-57eefe5bd041_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainContingencyNatureDomain_108e9d49-7f8c-45b9-b828-bc01b8be0b29" 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_5e6332a7-3c45-4743-92c6-57eefe5bd041" xlink:to="loc_us-gaap_GainContingencyNatureDomain_108e9d49-7f8c-45b9-b828-bc01b8be0b29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositiveOutcomeOfLitigationMember_49ada183-b4e7-4aec-b3ab-e002b26f5831" 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_108e9d49-7f8c-45b9-b828-bc01b8be0b29" xlink:to="loc_us-gaap_PositiveOutcomeOfLitigationMember_49ada183-b4e7-4aec-b3ab-e002b26f5831" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/StockholdersDeficitNarrativeDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#StockholdersDeficitNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/StockholdersDeficitNarrativeDetails" xlink:type="extended" id="i701a5ecd3c864f4399aa0343be940320_StockholdersDeficitNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6083fba-82af-4769-a454-0fd2921a350b" 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_0ab83b65-54e8-4326-9ea2-20608df768db" 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_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_0ab83b65-54e8-4326-9ea2-20608df768db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SaleOfStockMaximumConsiderationOnTransaction_3ebc2d94-bf21-4570-9539-250468602614" xlink:href="klxe-20220630.xsd#klxe_SaleOfStockMaximumConsiderationOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_klxe_SaleOfStockMaximumConsiderationOnTransaction_3ebc2d94-bf21-4570-9539-250468602614" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SaleOfStockCommissionFeePercentage_869b21c6-2597-4180-91ce-314b6a600050" xlink:href="klxe-20220630.xsd#klxe_SaleOfStockCommissionFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_klxe_SaleOfStockCommissionFeePercentage_869b21c6-2597-4180-91ce-314b6a600050" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_6b03bfb9-a30f-49ac-a24b-a71786cb300a" 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_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_6b03bfb9-a30f-49ac-a24b-a71786cb300a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_2b261e05-6240-4d27-96c8-1cf0a0f89ac7" 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_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_2b261e05-6240-4d27-96c8-1cf0a0f89ac7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_978bad09-3853-4821-8cb7-00df7d2c9682" 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_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_978bad09-3853-4821-8cb7-00df7d2c9682" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_3933c58d-777f-486b-8804-3c9bb77790a9" 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_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_3933c58d-777f-486b-8804-3c9bb77790a9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AllocatedShareBasedCompensationExpenseNetOfAdjustments_f799f93a-a34e-42f7-9dcb-01b0e855f459" xlink:href="klxe-20220630.xsd#klxe_AllocatedShareBasedCompensationExpenseNetOfAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_klxe_AllocatedShareBasedCompensationExpenseNetOfAdjustments_f799f93a-a34e-42f7-9dcb-01b0e855f459" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_802e476f-4ff1-4af6-9120-53dfcbb3f782" 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_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_802e476f-4ff1-4af6-9120-53dfcbb3f782" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_d6fa714e-714b-4300-8ac4-5a07821009d1" 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_a6083fba-82af-4769-a454-0fd2921a350b" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_d6fa714e-714b-4300-8ac4-5a07821009d1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_fc0764ab-4706-42c6-a7ee-4ca2780ddc4a" 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_d6fa714e-714b-4300-8ac4-5a07821009d1" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_fc0764ab-4706-42c6-a7ee-4ca2780ddc4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_fc0764ab-4706-42c6-a7ee-4ca2780ddc4a_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_fc0764ab-4706-42c6-a7ee-4ca2780ddc4a" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_fc0764ab-4706-42c6-a7ee-4ca2780ddc4a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_736c1b8a-a90a-4b6c-9cdc-e996f945adc3" 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_fc0764ab-4706-42c6-a7ee-4ca2780ddc4a" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_736c1b8a-a90a-4b6c-9cdc-e996f945adc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_AtTheMarketOfferingMember_98221e7e-a579-47a3-8448-eeb9cfa1872d" xlink:href="klxe-20220630.xsd#klxe_AtTheMarketOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_736c1b8a-a90a-4b6c-9cdc-e996f945adc3" xlink:to="loc_klxe_AtTheMarketOfferingMember_98221e7e-a579-47a3-8448-eeb9cfa1872d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/IncomeTaxesDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#IncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/IncomeTaxesDetails" xlink:type="extended" id="i9210e3609c7840d88da21cae22bcc67c_IncomeTaxesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationLineItems_78c934d8-0eb2-4f61-846f-855c7dedf456" 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_2929a86b-a55a-4507-b777-1a102d09d359" 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_78c934d8-0eb2-4f61-846f-855c7dedf456" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_2929a86b-a55a-4507-b777-1a102d09d359" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SocialSecurityTaxEmployerDeferralCARESAct_3a77fac8-333b-4cdd-bcb4-0e48478bf8e7" xlink:href="klxe-20220630.xsd#klxe_SocialSecurityTaxEmployerDeferralCARESAct"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExaminationLineItems_78c934d8-0eb2-4f61-846f-855c7dedf456" xlink:to="loc_klxe_SocialSecurityTaxEmployerDeferralCARESAct_3a77fac8-333b-4cdd-bcb4-0e48478bf8e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationTable_b8e3b476-d4e7-43b8-a5d3-e3cd5fe14c40" 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_78c934d8-0eb2-4f61-846f-855c7dedf456" xlink:to="loc_us-gaap_IncomeTaxExaminationTable_b8e3b476-d4e7-43b8-a5d3-e3cd5fe14c40" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_6ebb3ace-1735-44de-8e2e-fda6b7a15923" 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_b8e3b476-d4e7-43b8-a5d3-e3cd5fe14c40" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_6ebb3ace-1735-44de-8e2e-fda6b7a15923" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_6ebb3ace-1735-44de-8e2e-fda6b7a15923_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_6ebb3ace-1735-44de-8e2e-fda6b7a15923" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_6ebb3ace-1735-44de-8e2e-fda6b7a15923_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_d4016ed3-af68-427b-91c8-bec17d4816b7" 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_6ebb3ace-1735-44de-8e2e-fda6b7a15923" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_d4016ed3-af68-427b-91c8-bec17d4816b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesMember_61061fbf-73d5-4a19-bd1f-769dcfe36480" 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_d4016ed3-af68-427b-91c8-bec17d4816b7" xlink:to="loc_us-gaap_AccruedLiabilitiesMember_61061fbf-73d5-4a19-bd1f-769dcfe36480" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/SegmentReportingRevenuesandOperatingLossesbyReportableSegmentDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#SegmentReportingRevenuesandOperatingLossesbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/SegmentReportingRevenuesandOperatingLossesbyReportableSegmentDetails" xlink:type="extended" id="i49d1e751ec5e4982b71b5eb964f9f30c_SegmentReportingRevenuesandOperatingLossesbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingRevenueReconcilingItemLineItems_e2c75674-e79f-46d3-8e78-02e11c87fd89" 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_13598a91-0eb3-40a1-98cc-18fad8cae8d1" 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_e2c75674-e79f-46d3-8e78-02e11c87fd89" xlink:to="loc_us-gaap_SegmentReportingDisclosureOfEntitysReportableSegmentsAbstract_13598a91-0eb3-40a1-98cc-18fad8cae8d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_1e258a54-8db7-4808-9137-03aab3111c79" 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_13598a91-0eb3-40a1-98cc-18fad8cae8d1" xlink:to="loc_us-gaap_NumberOfReportableSegments_1e258a54-8db7-4808-9137-03aab3111c79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6e0fca2f-8bde-4371-a780-61befb4c4a32" 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_13598a91-0eb3-40a1-98cc-18fad8cae8d1" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_6e0fca2f-8bde-4371-a780-61befb4c4a32" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d90ced87-d676-4261-bfea-dff83f2edd79" 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_13598a91-0eb3-40a1-98cc-18fad8cae8d1" xlink:to="loc_us-gaap_OperatingIncomeLoss_d90ced87-d676-4261-bfea-dff83f2edd79" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_1ae026a1-8d0e-44f5-b4c2-34b15da5e9a6" 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_13598a91-0eb3-40a1-98cc-18fad8cae8d1" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_1ae026a1-8d0e-44f5-b4c2-34b15da5e9a6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_81f97086-0f47-427c-99f4-5a1873b9bc1f" 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_13598a91-0eb3-40a1-98cc-18fad8cae8d1" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_81f97086-0f47-427c-99f4-5a1873b9bc1f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTable_3114f988-7589-46a5-b9e7-974c7f3cb0d4" 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_e2c75674-e79f-46d3-8e78-02e11c87fd89" xlink:to="loc_us-gaap_ReconciliationOfRevenueFromSegmentsToConsolidatedTable_3114f988-7589-46a5-b9e7-974c7f3cb0d4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_05b7584f-e74c-4c71-89ad-26776751a141" 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_3114f988-7589-46a5-b9e7-974c7f3cb0d4" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_05b7584f-e74c-4c71-89ad-26776751a141" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_05b7584f-e74c-4c71-89ad-26776751a141_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_05b7584f-e74c-4c71-89ad-26776751a141" xlink:to="loc_us-gaap_SegmentDomain_05b7584f-e74c-4c71-89ad-26776751a141_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_c92c75b6-1b50-4fe8-b55b-b744f4791e27" 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_05b7584f-e74c-4c71-89ad-26776751a141" xlink:to="loc_us-gaap_SegmentDomain_c92c75b6-1b50-4fe8-b55b-b744f4791e27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_RockyMountainsMember_3aa5fb69-2237-4b1f-8dce-bafee66b07a5" xlink:href="klxe-20220630.xsd#klxe_RockyMountainsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c92c75b6-1b50-4fe8-b55b-b744f4791e27" xlink:to="loc_klxe_RockyMountainsMember_3aa5fb69-2237-4b1f-8dce-bafee66b07a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SouthwestMember_e4085398-cc09-48e8-921f-2f9959c40359" xlink:href="klxe-20220630.xsd#klxe_SouthwestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c92c75b6-1b50-4fe8-b55b-b744f4791e27" xlink:to="loc_klxe_SouthwestMember_e4085398-cc09-48e8-921f-2f9959c40359" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_NortheastMember_d1cbba4d-ff64-4f2a-9ad2-a8a2fdf8f5e0" xlink:href="klxe-20220630.xsd#klxe_NortheastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c92c75b6-1b50-4fe8-b55b-b744f4791e27" xlink:to="loc_klxe_NortheastMember_d1cbba4d-ff64-4f2a-9ad2-a8a2fdf8f5e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_fe3d91ee-8f0e-4390-8da3-79b6ef26d605" 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_3114f988-7589-46a5-b9e7-974c7f3cb0d4" xlink:to="loc_srt_ConsolidationItemsAxis_fe3d91ee-8f0e-4390-8da3-79b6ef26d605" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_fe3d91ee-8f0e-4390-8da3-79b6ef26d605_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_fe3d91ee-8f0e-4390-8da3-79b6ef26d605" xlink:to="loc_srt_ConsolidationItemsDomain_fe3d91ee-8f0e-4390-8da3-79b6ef26d605_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_68785f13-38f6-4f93-a1df-879bd7e0d2f2" 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_fe3d91ee-8f0e-4390-8da3-79b6ef26d605" xlink:to="loc_srt_ConsolidationItemsDomain_68785f13-38f6-4f93-a1df-879bd7e0d2f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_6686df11-19c7-4345-aebd-a87d73a76cdf" 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_68785f13-38f6-4f93-a1df-879bd7e0d2f2" xlink:to="loc_us-gaap_OperatingSegmentsMember_6686df11-19c7-4345-aebd-a87d73a76cdf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_699f5e50-dbd5-42e0-8ea4-5adf6acf566d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MaterialReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_68785f13-38f6-4f93-a1df-879bd7e0d2f2" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_699f5e50-dbd5-42e0-8ea4-5adf6acf566d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_CorporateAndReconcilingItemsMember_62c676e3-4d08-4561-a8de-7a4d73e413c7" xlink:href="klxe-20220630.xsd#klxe_CorporateAndReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MaterialReconcilingItemsMember_699f5e50-dbd5-42e0-8ea4-5adf6acf566d" xlink:to="loc_klxe_CorporateAndReconcilingItemsMember_62c676e3-4d08-4561-a8de-7a4d73e413c7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails" xlink:type="extended" id="i9294bf1b21fb405ea1895f30bef52ad6_SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_b7c76318-b15b-43a3-a05c-0007404b73e8" 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_9e816d12-8e26-4df9-934e-b180e4c51d7e" 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_b7c76318-b15b-43a3-a05c-0007404b73e8" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_9e816d12-8e26-4df9-934e-b180e4c51d7e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_c541d91e-e4ad-4914-a30c-5019ba737998" 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_b7c76318-b15b-43a3-a05c-0007404b73e8" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_c541d91e-e4ad-4914-a30c-5019ba737998" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_b1de79e8-a09d-4763-b079-e6b047b3341d" 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_c541d91e-e4ad-4914-a30c-5019ba737998" xlink:to="loc_srt_ProductOrServiceAxis_b1de79e8-a09d-4763-b079-e6b047b3341d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_b1de79e8-a09d-4763-b079-e6b047b3341d_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_b1de79e8-a09d-4763-b079-e6b047b3341d" xlink:to="loc_srt_ProductsAndServicesDomain_b1de79e8-a09d-4763-b079-e6b047b3341d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_27f44cd2-7d22-479c-b618-f281661c5982" 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_b1de79e8-a09d-4763-b079-e6b047b3341d" xlink:to="loc_srt_ProductsAndServicesDomain_27f44cd2-7d22-479c-b618-f281661c5982" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_DrillingRevenuesMember_f62d67e9-d6ff-4be2-9522-ebbd0d8d862b" xlink:href="klxe-20220630.xsd#klxe_DrillingRevenuesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_27f44cd2-7d22-479c-b618-f281661c5982" xlink:to="loc_klxe_DrillingRevenuesMember_f62d67e9-d6ff-4be2-9522-ebbd0d8d862b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_CompletionRevenuesMember_75f5a331-8264-4f0c-9aeb-d70fc45cba0a" xlink:href="klxe-20220630.xsd#klxe_CompletionRevenuesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_27f44cd2-7d22-479c-b618-f281661c5982" xlink:to="loc_klxe_CompletionRevenuesMember_75f5a331-8264-4f0c-9aeb-d70fc45cba0a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_ProductionRevenuesMember_2c3d486d-46c4-46c2-864f-5a654f7e4a0a" xlink:href="klxe-20220630.xsd#klxe_ProductionRevenuesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_27f44cd2-7d22-479c-b618-f281661c5982" xlink:to="loc_klxe_ProductionRevenuesMember_2c3d486d-46c4-46c2-864f-5a654f7e4a0a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_InterventionRevenuesMember_c8b3e668-dbde-4010-af40-ed23453f202f" xlink:href="klxe-20220630.xsd#klxe_InterventionRevenuesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_27f44cd2-7d22-479c-b618-f281661c5982" xlink:to="loc_klxe_InterventionRevenuesMember_c8b3e668-dbde-4010-af40-ed23453f202f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_25c8bc9e-f0f4-46c1-a626-cd76c9beea66" 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_c541d91e-e4ad-4914-a30c-5019ba737998" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_25c8bc9e-f0f4-46c1-a626-cd76c9beea66" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_25c8bc9e-f0f4-46c1-a626-cd76c9beea66_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_25c8bc9e-f0f4-46c1-a626-cd76c9beea66" xlink:to="loc_us-gaap_SegmentDomain_25c8bc9e-f0f4-46c1-a626-cd76c9beea66_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_89190974-8c03-40e1-9091-c84a2c89ec76" 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_25c8bc9e-f0f4-46c1-a626-cd76c9beea66" xlink:to="loc_us-gaap_SegmentDomain_89190974-8c03-40e1-9091-c84a2c89ec76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_RockyMountainsMember_83943105-2e02-4088-93b7-b334ae7ce42f" xlink:href="klxe-20220630.xsd#klxe_RockyMountainsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_89190974-8c03-40e1-9091-c84a2c89ec76" xlink:to="loc_klxe_RockyMountainsMember_83943105-2e02-4088-93b7-b334ae7ce42f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SouthwestMember_49778020-78e7-4e35-bc5a-b1ca9a12dba1" xlink:href="klxe-20220630.xsd#klxe_SouthwestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_89190974-8c03-40e1-9091-c84a2c89ec76" xlink:to="loc_klxe_SouthwestMember_49778020-78e7-4e35-bc5a-b1ca9a12dba1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_NortheastMember_d9e918b4-d9c4-45c2-aaa9-53b637ecf340" xlink:href="klxe-20220630.xsd#klxe_NortheastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_89190974-8c03-40e1-9091-c84a2c89ec76" xlink:to="loc_klxe_NortheastMember_d9e918b4-d9c4-45c2-aaa9-53b637ecf340" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/SegmentReportingCapitalExpendituresbyReportableSegmentDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#SegmentReportingCapitalExpendituresbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/SegmentReportingCapitalExpendituresbyReportableSegmentDetails" xlink:type="extended" id="ifaf5220c66904f86b776a29d360dbc2d_SegmentReportingCapitalExpendituresbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_d5c3ffa3-55df-4861-8335-6e717b42b56d" 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_0ed0ce14-c779-4cdc-97b5-1499f581cb45" 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_d5c3ffa3-55df-4861-8335-6e717b42b56d" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0ed0ce14-c779-4cdc-97b5-1499f581cb45" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_1ec41237-b14c-487d-9468-f1462844ec36" 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_d5c3ffa3-55df-4861-8335-6e717b42b56d" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_1ec41237-b14c-487d-9468-f1462844ec36" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_69276489-7846-4039-82ff-883589cb5cd1" 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_1ec41237-b14c-487d-9468-f1462844ec36" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_69276489-7846-4039-82ff-883589cb5cd1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_69276489-7846-4039-82ff-883589cb5cd1_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_69276489-7846-4039-82ff-883589cb5cd1" xlink:to="loc_us-gaap_SegmentDomain_69276489-7846-4039-82ff-883589cb5cd1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_45b09f78-30f1-4ed7-b566-8c963e4dc5dd" 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_69276489-7846-4039-82ff-883589cb5cd1" xlink:to="loc_us-gaap_SegmentDomain_45b09f78-30f1-4ed7-b566-8c963e4dc5dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_RockyMountainsMember_d6a912c4-f802-4641-9738-41fee9d861b8" xlink:href="klxe-20220630.xsd#klxe_RockyMountainsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_45b09f78-30f1-4ed7-b566-8c963e4dc5dd" xlink:to="loc_klxe_RockyMountainsMember_d6a912c4-f802-4641-9738-41fee9d861b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SouthwestMember_702ed668-d201-45d7-a53f-037f6c7bf8f6" xlink:href="klxe-20220630.xsd#klxe_SouthwestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_45b09f78-30f1-4ed7-b566-8c963e4dc5dd" xlink:to="loc_klxe_SouthwestMember_702ed668-d201-45d7-a53f-037f6c7bf8f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_NortheastMember_67c76f08-6165-41ba-b4d2-a65f9d1e0238" xlink:href="klxe-20220630.xsd#klxe_NortheastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_45b09f78-30f1-4ed7-b566-8c963e4dc5dd" xlink:to="loc_klxe_NortheastMember_67c76f08-6165-41ba-b4d2-a65f9d1e0238" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_f32da533-8887-40d0-9922-ab77b0814e01" 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_1ec41237-b14c-487d-9468-f1462844ec36" xlink:to="loc_srt_ConsolidationItemsAxis_f32da533-8887-40d0-9922-ab77b0814e01" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_f32da533-8887-40d0-9922-ab77b0814e01_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_f32da533-8887-40d0-9922-ab77b0814e01" xlink:to="loc_srt_ConsolidationItemsDomain_f32da533-8887-40d0-9922-ab77b0814e01_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_f60deeba-1e5f-4323-9c0c-b88e2551f01a" 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_f32da533-8887-40d0-9922-ab77b0814e01" xlink:to="loc_srt_ConsolidationItemsDomain_f60deeba-1e5f-4323-9c0c-b88e2551f01a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_dcf67291-8934-4d18-ac2a-423dd2754ebb" 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_f60deeba-1e5f-4323-9c0c-b88e2551f01a" xlink:to="loc_us-gaap_OperatingSegmentsMember_dcf67291-8934-4d18-ac2a-423dd2754ebb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_00cf2217-5f05-4255-b30e-e692ba0ccab4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MaterialReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_f60deeba-1e5f-4323-9c0c-b88e2551f01a" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_00cf2217-5f05-4255-b30e-e692ba0ccab4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_CorporateAndReconcilingItemsMember_7bcc06d4-c2b0-48a2-80da-e060ad2046b2" xlink:href="klxe-20220630.xsd#klxe_CorporateAndReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MaterialReconcilingItemsMember_00cf2217-5f05-4255-b30e-e692ba0ccab4" xlink:to="loc_klxe_CorporateAndReconcilingItemsMember_7bcc06d4-c2b0-48a2-80da-e060ad2046b2" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/SegmentReportingTotalAssetsbyReportableSegmentDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#SegmentReportingTotalAssetsbyReportableSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/SegmentReportingTotalAssetsbyReportableSegmentDetails" xlink:type="extended" id="ibb39e6e3abd94bac881c4a942eee8897_SegmentReportingTotalAssetsbyReportableSegmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingAssetReconcilingItemLineItems_9c4d9fd9-8be1-4d55-ae10-7b27f694a0c4" 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_a89271a9-ab70-41f0-a953-344c67d75724" 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_9c4d9fd9-8be1-4d55-ae10-7b27f694a0c4" xlink:to="loc_us-gaap_Assets_a89271a9-ab70-41f0-a953-344c67d75724" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable_cde4c664-0166-4802-b5f4-7b8d03837d55" 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_9c4d9fd9-8be1-4d55-ae10-7b27f694a0c4" xlink:to="loc_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable_cde4c664-0166-4802-b5f4-7b8d03837d55" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_27650dd4-49be-40f6-bea0-5f3efc94e348" 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_cde4c664-0166-4802-b5f4-7b8d03837d55" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_27650dd4-49be-40f6-bea0-5f3efc94e348" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_27650dd4-49be-40f6-bea0-5f3efc94e348_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_27650dd4-49be-40f6-bea0-5f3efc94e348" xlink:to="loc_us-gaap_SegmentDomain_27650dd4-49be-40f6-bea0-5f3efc94e348_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_eb78b320-bfb2-45ad-aacf-5029320584a3" 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_27650dd4-49be-40f6-bea0-5f3efc94e348" xlink:to="loc_us-gaap_SegmentDomain_eb78b320-bfb2-45ad-aacf-5029320584a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_RockyMountainsMember_dc7f403b-2df5-4a28-b0e6-d5e48afbfe09" xlink:href="klxe-20220630.xsd#klxe_RockyMountainsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_eb78b320-bfb2-45ad-aacf-5029320584a3" xlink:to="loc_klxe_RockyMountainsMember_dc7f403b-2df5-4a28-b0e6-d5e48afbfe09" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_SouthwestMember_8faf6922-c626-4d44-83bd-8838e99d02a6" xlink:href="klxe-20220630.xsd#klxe_SouthwestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_eb78b320-bfb2-45ad-aacf-5029320584a3" xlink:to="loc_klxe_SouthwestMember_8faf6922-c626-4d44-83bd-8838e99d02a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_NortheastMember_b767f193-801f-4803-9c1b-e5ab97b69e23" xlink:href="klxe-20220630.xsd#klxe_NortheastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_eb78b320-bfb2-45ad-aacf-5029320584a3" xlink:to="loc_klxe_NortheastMember_b767f193-801f-4803-9c1b-e5ab97b69e23" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_64f1726c-3784-4776-ab26-3c12d5fcc545" 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_cde4c664-0166-4802-b5f4-7b8d03837d55" xlink:to="loc_srt_ConsolidationItemsAxis_64f1726c-3784-4776-ab26-3c12d5fcc545" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_64f1726c-3784-4776-ab26-3c12d5fcc545_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_64f1726c-3784-4776-ab26-3c12d5fcc545" xlink:to="loc_srt_ConsolidationItemsDomain_64f1726c-3784-4776-ab26-3c12d5fcc545_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_c4daa2cb-f0fa-4a43-96a7-e555393dfd5d" 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_64f1726c-3784-4776-ab26-3c12d5fcc545" xlink:to="loc_srt_ConsolidationItemsDomain_c4daa2cb-f0fa-4a43-96a7-e555393dfd5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_91035cec-cda5-4cb1-945f-892d3abd1fb6" 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_c4daa2cb-f0fa-4a43-96a7-e555393dfd5d" xlink:to="loc_us-gaap_OperatingSegmentsMember_91035cec-cda5-4cb1-945f-892d3abd1fb6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_eb8f3737-352e-44f5-9bbb-f1d575b96661" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MaterialReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_c4daa2cb-f0fa-4a43-96a7-e555393dfd5d" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_eb8f3737-352e-44f5-9bbb-f1d575b96661" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_klxe_CorporateAndReconcilingItemsMember_4b082383-3b27-423e-b963-c4cfa1604956" xlink:href="klxe-20220630.xsd#klxe_CorporateAndReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MaterialReconcilingItemsMember_eb8f3737-352e-44f5-9bbb-f1d575b96661" xlink:to="loc_klxe_CorporateAndReconcilingItemsMember_4b082383-3b27-423e-b963-c4cfa1604956" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.klx.com/role/NetLossPerCommonShareNarrativeDetails" xlink:type="simple" xlink:href="klxe-20220630.xsd#NetLossPerCommonShareNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.klx.com/role/NetLossPerCommonShareNarrativeDetails" xlink:type="extended" id="ieeab81c8dfb2446a869b7544cacc65ac_NetLossPerCommonShareNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicLineItems_65d00885-0a4b-4986-9ac4-ea5a6df702a0" 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_5a1411ec-227f-47d6-8035-abeb3577b219" 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_65d00885-0a4b-4986-9ac4-ea5a6df702a0" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_5a1411ec-227f-47d6-8035-abeb3577b219" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_7883801b-f491-4aaa-94e0-d5da58e2e001" 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_65d00885-0a4b-4986-9ac4-ea5a6df702a0" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable_7883801b-f491-4aaa-94e0-d5da58e2e001" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_9b5d4bfc-a5e9-44c0-b16c-70db26bc83e5" 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_7883801b-f491-4aaa-94e0-d5da58e2e001" xlink:to="loc_us-gaap_AwardTypeAxis_9b5d4bfc-a5e9-44c0-b16c-70db26bc83e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9b5d4bfc-a5e9-44c0-b16c-70db26bc83e5_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_9b5d4bfc-a5e9-44c0-b16c-70db26bc83e5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9b5d4bfc-a5e9-44c0-b16c-70db26bc83e5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_fee373e2-20d9-4746-a9f8-71f9c41f79d5" 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_9b5d4bfc-a5e9-44c0-b16c-70db26bc83e5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_fee373e2-20d9-4746-a9f8-71f9c41f79d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_cecd0070-4f85-47d9-962d-bed9c6975709" 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_fee373e2-20d9-4746-a9f8-71f9c41f79d5" xlink:to="loc_us-gaap_RestrictedStockMember_cecd0070-4f85-47d9-962d-bed9c6975709" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
