| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.24.0.1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 165 </ContextCount> |
| <ElementCount> 350 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> true </FootnotesReported> |
| <SegmentCount> 39 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 8 </UnitCount> |
| <MyReports> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 0000001 - Document - Cover </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/Cover </Role> |
| | | <ShortName> Cover </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R2.htm </HtmlFileName> |
| | | <LongName> 0000002 - Document - Audit Information </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/AuditInformation </Role> |
| | | <ShortName> Audit Information </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 2 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R3.htm </HtmlFileName> |
| | | <LongName> 0000003 - Statement - Consolidated Balance Sheets </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/ConsolidatedBalanceSheets </Role> |
| | | <ShortName> Consolidated Balance Sheets </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 3 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R4.htm </HtmlFileName> |
| | | <LongName> 0000004 - Statement - Consolidated Balance Sheets (Parenthetical) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/ConsolidatedBalanceSheetsParenthetical </Role> |
| | | <ShortName> Consolidated Balance Sheets (Parenthetical) </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 4 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R5.htm </HtmlFileName> |
| | | <LongName> 0000005 - Statement - Consolidated Statements of Operations </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/ConsolidatedStatementsofOperations </Role> |
| | | <ShortName> Consolidated Statements of Operations </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 5 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R6.htm </HtmlFileName> |
| | | <LongName> 0000006 - Statement - Consolidated Statements of Stockholders' Equity </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/ConsolidatedStatementsofStockholdersEquity </Role> |
| | | <ShortName> Consolidated Statements of Stockholders' Equity </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 6 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R7.htm </HtmlFileName> |
| | | <LongName> 0000007 - Statement - Consolidated Statements of Cash Flows </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/ConsolidatedStatementsofCashFlows </Role> |
| | | <ShortName> Consolidated Statements of Cash Flows </ShortName> |
| | | <MenuCategory> Statements </MenuCategory> |
| | | <Position> 7 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R8.htm </HtmlFileName> |
| | | <LongName> 0000008 - Disclosure - Description of Business and Significant Accounting Policies </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/DescriptionofBusinessandSignificantAccountingPolicies </Role> |
| | | <ShortName> Description of Business and Significant Accounting Policies </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 8 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9.htm </HtmlFileName> |
| | | <LongName> 0000009 - Disclosure - Recent Accounting Pronouncements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/RecentAccountingPronouncements </Role> |
| | | <ShortName> Recent Accounting Pronouncements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 9 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R10.htm </HtmlFileName> |
| | | <LongName> 0000010 - Disclosure - Business Combinations </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/BusinessCombinations </Role> |
| | | <ShortName> Business Combinations </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 10 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R11.htm </HtmlFileName> |
| | | <LongName> 0000011 - Disclosure - Inventories, net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/Inventoriesnet </Role> |
| | | <ShortName> Inventories, net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 11 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R12.htm </HtmlFileName> |
| | | <LongName> 0000012 - Disclosure - Property and Equipment, Net </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/PropertyandEquipmentNet </Role> |
| | | <ShortName> Property and Equipment, Net </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 12 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R13.htm </HtmlFileName> |
| | | <LongName> 0000013 - Disclosure - Accrued Liabilities </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/AccruedLiabilities </Role> |
| | | <ShortName> Accrued Liabilities </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 13 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R14.htm </HtmlFileName> |
| | | <LongName> 0000014 - Disclosure - Long-Term Debt </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LongTermDebt </Role> |
| | | <ShortName> Long-Term Debt </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 14 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R15.htm </HtmlFileName> |
| | | <LongName> 0000015 - Disclosure - Leases </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/Leases </Role> |
| | | <ShortName> Leases </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 15 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R16.htm </HtmlFileName> |
| | | <LongName> 0000016 - Disclosure - Fair Value Information </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/FairValueInformation </Role> |
| | | <ShortName> Fair Value Information </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 16 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R17.htm </HtmlFileName> |
| | | <LongName> 0000017 - Disclosure - Commitments, Contingencies and Off-Balance Sheet Arrangements </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/CommitmentsContingenciesandOffBalanceSheetArrangements </Role> |
| | | <ShortName> Commitments, Contingencies and Off-Balance Sheet Arrangements </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 17 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R18.htm </HtmlFileName> |
| | | <LongName> 0000018 - Disclosure - Employee Retirement Plans </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/EmployeeRetirementPlans </Role> |
| | | <ShortName> Employee Retirement Plans </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 18 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R19.htm </HtmlFileName> |
| | | <LongName> 0000019 - Disclosure - Stock-Based Compensation </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/StockBasedCompensation </Role> |
| | | <ShortName> Stock-Based Compensation </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 19 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R20.htm </HtmlFileName> |
| | | <LongName> 0000020 - Disclosure - Income Taxes </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/IncomeTaxes </Role> |
| | | <ShortName> Income Taxes </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 20 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R21.htm </HtmlFileName> |
| | | <LongName> 0000021 - Disclosure - Segment Reporting </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/SegmentReporting </Role> |
| | | <ShortName> Segment Reporting </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 21 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R22.htm </HtmlFileName> |
| | | <LongName> 0000022 - Disclosure - Net Income (Loss) Per Common Share </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/NetIncomeLossPerCommonShare </Role> |
| | | <ShortName> Net Income (Loss) Per Common Share </ShortName> |
| | | <MenuCategory> Notes </MenuCategory> |
| | | <Position> 22 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R23.htm </HtmlFileName> |
| | | <LongName> 9954471 - Disclosure - Description of Business and Significant Accounting Policies (Policies) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/DescriptionofBusinessandSignificantAccountingPoliciesPolicies </Role> |
| | | <ShortName> Description of Business and Significant Accounting Policies (Policies) </ShortName> |
| | | <MenuCategory> Policies </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/DescriptionofBusinessandSignificantAccountingPolicies </ParentRole> |
| | | <Position> 23 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R24.htm </HtmlFileName> |
| | | <LongName> 9954472 - Disclosure - Description of Business and Significant Accounting Policies (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/DescriptionofBusinessandSignificantAccountingPoliciesTables </Role> |
| | | <ShortName> Description of Business and Significant Accounting Policies (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/DescriptionofBusinessandSignificantAccountingPolicies </ParentRole> |
| | | <Position> 24 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R25.htm </HtmlFileName> |
| | | <LongName> 9954473 - Disclosure - Business Combinations (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/BusinessCombinationsTables </Role> |
| | | <ShortName> Business Combinations (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/BusinessCombinations </ParentRole> |
| | | <Position> 25 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R26.htm </HtmlFileName> |
| | | <LongName> 9954474 - Disclosure - Inventories, net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/InventoriesnetTables </Role> |
| | | <ShortName> Inventories, net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/Inventoriesnet </ParentRole> |
| | | <Position> 26 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R27.htm </HtmlFileName> |
| | | <LongName> 9954475 - Disclosure - Property and Equipment, Net (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/PropertyandEquipmentNetTables </Role> |
| | | <ShortName> Property and Equipment, Net (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/PropertyandEquipmentNet </ParentRole> |
| | | <Position> 27 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R28.htm </HtmlFileName> |
| | | <LongName> 9954476 - Disclosure - Accrued Liabilities (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/AccruedLiabilitiesTables </Role> |
| | | <ShortName> Accrued Liabilities (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/AccruedLiabilities </ParentRole> |
| | | <Position> 28 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R29.htm </HtmlFileName> |
| | | <LongName> 9954477 - Disclosure - Long-Term Debt (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LongTermDebtTables </Role> |
| | | <ShortName> Long-Term Debt (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/LongTermDebt </ParentRole> |
| | | <Position> 29 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R30.htm </HtmlFileName> |
| | | <LongName> 9954478 - Disclosure - Leases (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LeasesTables </Role> |
| | | <ShortName> Leases (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/Leases </ParentRole> |
| | | <Position> 30 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R31.htm </HtmlFileName> |
| | | <LongName> 9954479 - Disclosure - Fair Value Information (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/FairValueInformationTables </Role> |
| | | <ShortName> Fair Value Information (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/FairValueInformation </ParentRole> |
| | | <Position> 31 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R32.htm </HtmlFileName> |
| | | <LongName> 9954480 - Disclosure - Stock-Based Compensation (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/StockBasedCompensationTables </Role> |
| | | <ShortName> Stock-Based Compensation (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/StockBasedCompensation </ParentRole> |
| | | <Position> 32 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R33.htm </HtmlFileName> |
| | | <LongName> 9954481 - Disclosure - Income Taxes (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/IncomeTaxesTables </Role> |
| | | <ShortName> Income Taxes (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/IncomeTaxes </ParentRole> |
| | | <Position> 33 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R34.htm </HtmlFileName> |
| | | <LongName> 9954482 - Disclosure - Segment Reporting (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/SegmentReportingTables </Role> |
| | | <ShortName> Segment Reporting (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/SegmentReporting </ParentRole> |
| | | <Position> 34 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R35.htm </HtmlFileName> |
| | | <LongName> 9954483 - Disclosure - Net Income (Loss) Per Common Share (Tables) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/NetIncomeLossPerCommonShareTables </Role> |
| | | <ShortName> Net Income (Loss) Per Common Share (Tables) </ShortName> |
| | | <MenuCategory> Tables </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/NetIncomeLossPerCommonShare </ParentRole> |
| | | <Position> 35 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R36.htm </HtmlFileName> |
| | | <LongName> 9954484 - Disclosure - Description of Business and Significant Accounting Policies - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/DescriptionofBusinessandSignificantAccountingPoliciesNarrativeDetails </Role> |
| | | <ShortName> Description of Business and Significant Accounting Policies - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/DescriptionofBusinessandSignificantAccountingPoliciesTables </ParentRole> |
| | | <Position> 36 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R37.htm </HtmlFileName> |
| | | <LongName> 9954485 - Disclosure - Description of Business and Significant Accounting Policies - Allowance for Doubtful Accounts (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/DescriptionofBusinessandSignificantAccountingPoliciesAllowanceforDoubtfulAccountsDetails </Role> |
| | | <ShortName> Description of Business and Significant Accounting Policies - Allowance for Doubtful Accounts (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 37 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R38.htm </HtmlFileName> |
| | | <LongName> 9954486 - Disclosure - Business Combinations - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/BusinessCombinationsNarrativeDetails </Role> |
| | | <ShortName> Business Combinations - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 38 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R39.htm </HtmlFileName> |
| | | <LongName> 9954487 - Disclosure - Business Combinations - Schedule of Fair Values of Assets Acquired and Liabilities Assumed (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/BusinessCombinationsScheduleofFairValuesofAssetsAcquiredandLiabilitiesAssumedDetails </Role> |
| | | <ShortName> Business Combinations - Schedule of Fair Values of Assets Acquired and Liabilities Assumed (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 39 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R40.htm </HtmlFileName> |
| | | <LongName> 9954488 - Disclosure - Business Combinations - Pro Forma Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/BusinessCombinationsProFormaInformationDetails </Role> |
| | | <ShortName> Business Combinations - Pro Forma Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 40 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R41.htm </HtmlFileName> |
| | | <LongName> 9954489 - Disclosure - Inventories, net - Schedule of Inventory (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/InventoriesnetScheduleofInventoryDetails </Role> |
| | | <ShortName> Inventories, net - Schedule of Inventory (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 41 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R42.htm </HtmlFileName> |
| | | <LongName> 9954490 - Disclosure - Inventories, net - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/InventoriesnetNarrativeDetails </Role> |
| | | <ShortName> Inventories, net - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 42 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R43.htm </HtmlFileName> |
| | | <LongName> 9954491 - Disclosure - Inventories, net - Reserve for Inventory (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/InventoriesnetReserveforInventoryDetails </Role> |
| | | <ShortName> Inventories, net - Reserve for Inventory (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 43 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R44.htm </HtmlFileName> |
| | | <LongName> 9954492 - Disclosure - Property and Equipment, Net - Schedule of Property and Equipment (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/PropertyandEquipmentNetScheduleofPropertyandEquipmentDetails </Role> |
| | | <ShortName> Property and Equipment, Net - Schedule of Property and Equipment (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 44 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R45.htm </HtmlFileName> |
| | | <LongName> 9954493 - Disclosure - Property and Equipment, Net - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/PropertyandEquipmentNetNarrativeDetails </Role> |
| | | <ShortName> Property and Equipment, Net - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 45 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R46.htm </HtmlFileName> |
| | | <LongName> 9954494 - Disclosure - Accrued Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/AccruedLiabilitiesDetails </Role> |
| | | <ShortName> Accrued Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/AccruedLiabilitiesTables </ParentRole> |
| | | <Position> 46 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R47.htm </HtmlFileName> |
| | | <LongName> 9954495 - Disclosure - Long-Term Debt - Schedule of Long-term Debt (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LongTermDebtScheduleofLongtermDebtDetails </Role> |
| | | <ShortName> Long-Term Debt - Schedule of Long-term Debt (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 47 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R48.htm </HtmlFileName> |
| | | <LongName> 9954496 - Disclosure - Long-Term Debt - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LongTermDebtNarrativeDetails </Role> |
| | | <ShortName> Long-Term Debt - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 48 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R49.htm </HtmlFileName> |
| | | <LongName> 9954497 - Disclosure - Long-Term Debt - Maturities of Long-term Debt (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LongTermDebtMaturitiesofLongtermDebtDetails </Role> |
| | | <ShortName> Long-Term Debt - Maturities of Long-term Debt (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 49 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R50.htm </HtmlFileName> |
| | | <LongName> 9954498 - Disclosure - Leases - Lease Cost (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LeasesLeaseCostDetails </Role> |
| | | <ShortName> Leases - Lease Cost (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 50 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R51.htm </HtmlFileName> |
| | | <LongName> 9954499 - Disclosure - Leases - Supplemental Cash Flow Information (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LeasesSupplementalCashFlowInformationDetails </Role> |
| | | <ShortName> Leases - Supplemental Cash Flow Information (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 51 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R52.htm </HtmlFileName> |
| | | <LongName> 9954500 - Disclosure - Leases - Supplemental Balance Sheet (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LeasesSupplementalBalanceSheetDetails </Role> |
| | | <ShortName> Leases - Supplemental Balance Sheet (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 52 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R53.htm </HtmlFileName> |
| | | <LongName> 9954501 - Disclosure - Leases - Maturities of Operating and Financing Lease Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LeasesMaturitiesofOperatingandFinancingLeaseLiabilitiesDetails </Role> |
| | | <ShortName> Leases - Maturities of Operating and Financing Lease Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 53 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R54.htm </HtmlFileName> |
| | | <LongName> 9954502 - Disclosure - Leases - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/LeasesNarrativeDetails </Role> |
| | | <ShortName> Leases - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 54 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R55.htm </HtmlFileName> |
| | | <LongName> 9954503 - Disclosure - Fair Value Information - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/FairValueInformationNarrativeDetails </Role> |
| | | <ShortName> Fair Value Information - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 55 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R56.htm </HtmlFileName> |
| | | <LongName> 9954504 - Disclosure - Fair Value Information - Placement in the Fair Value Hierarchy of Notes and Assets Held for Sale (Details) </LongName> |
| | | <ReportType> Notes </ReportType> |
| | | <Role> http://www.klx.com/role/FairValueInformationPlacementintheFairValueHierarchyofNotesandAssetsHeldforSaleDetails </Role> |
| | | <ShortName> Fair Value Information - Placement in the Fair Value Hierarchy of Notes and Assets Held for Sale (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 56 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R57.htm </HtmlFileName> |
| | | <LongName> 9954505 - Disclosure - Employee Retirement Plans (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/EmployeeRetirementPlansDetails </Role> |
| | | <ShortName> Employee Retirement Plans (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/EmployeeRetirementPlans </ParentRole> |
| | | <Position> 57 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R58.htm </HtmlFileName> |
| | | <LongName> 9954506 - Disclosure - Stock-Based Compensation - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/StockBasedCompensationNarrativeDetails </Role> |
| | | <ShortName> Stock-Based Compensation - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 58 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R59.htm </HtmlFileName> |
| | | <LongName> 9954507 - Disclosure - Stock-Based Compensation - Schedule of Restricted Stock (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/StockBasedCompensationScheduleofRestrictedStockDetails </Role> |
| | | <ShortName> Stock-Based Compensation - Schedule of Restricted Stock (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 59 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R60.htm </HtmlFileName> |
| | | <LongName> 9954508 - Disclosure - Income Taxes - Components of Income Tax Expense (Benefit) (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails </Role> |
| | | <ShortName> Income Taxes - Components of Income Tax Expense (Benefit) (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 60 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R61.htm </HtmlFileName> |
| | | <LongName> 9954509 - Disclosure - Income Taxes - Reconciliation of Income Tax Expense (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/IncomeTaxesReconciliationofIncomeTaxExpenseDetails </Role> |
| | | <ShortName> Income Taxes - Reconciliation of Income Tax Expense (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 61 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R62.htm </HtmlFileName> |
| | | <LongName> 9954510 - Disclosure - Income Taxes - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/IncomeTaxesNarrativeDetails </Role> |
| | | <ShortName> Income Taxes - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 62 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R63.htm </HtmlFileName> |
| | | <LongName> 9954511 - Disclosure - Income Taxes - Deferred Tax Assets and Liabilities (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails </Role> |
| | | <ShortName> Income Taxes - Deferred Tax Assets and Liabilities (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 63 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R64.htm </HtmlFileName> |
| | | <LongName> 9954512 - Disclosure - Segment Reporting - Revenues and Operating (Loss) Earnings by Reportable Segment (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/SegmentReportingRevenuesandOperatingLossEarningsbyReportableSegmentDetails </Role> |
| | | <ShortName> Segment Reporting - Revenues and Operating (Loss) Earnings by Reportable Segment (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 64 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R65.htm </HtmlFileName> |
| | | <LongName> 9954513 - Disclosure - Segment Reporting - Revenues by Service Offering by Reportable Segment (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/SegmentReportingRevenuesbyServiceOfferingbyReportableSegmentDetails </Role> |
| | | <ShortName> Segment Reporting - Revenues by Service Offering by Reportable Segment (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 65 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R66.htm </HtmlFileName> |
| | | <LongName> 9954514 - Disclosure - Segment Reporting - Total Assets by Reportable Segment (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/SegmentReportingTotalAssetsbyReportableSegmentDetails </Role> |
| | | <ShortName> Segment Reporting - Total Assets by Reportable Segment (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 66 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R67.htm </HtmlFileName> |
| | | <LongName> 9954515 - Disclosure - Segment Reporting - Capital Expenditures by Reportable Segment (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/SegmentReportingCapitalExpendituresbyReportableSegmentDetails </Role> |
| | | <ShortName> Segment Reporting - Capital Expenditures by Reportable Segment (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <Position> 67 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R68.htm </HtmlFileName> |
| | | <LongName> 9954516 - Disclosure - Net Income (Loss) Per Common Share - Narrative (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/NetIncomeLossPerCommonShareNarrativeDetails </Role> |
| | | <ShortName> Net Income (Loss) Per Common Share - Narrative (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/NetIncomeLossPerCommonShareTables </ParentRole> |
| | | <Position> 68 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R69.htm </HtmlFileName> |
| | | <LongName> 9954517 - Disclosure - Net Income (Loss) Per Common Share - Computations of Basic and Diluted Earnings Per Share (Details) </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.klx.com/role/NetIncomeLossPerCommonShareComputationsofBasicandDilutedEarningsPerShareDetails </Role> |
| | | <ShortName> Net Income (Loss) Per Common Share - Computations of Basic and Diluted Earnings Per Share (Details) </ShortName> |
| | | <MenuCategory> Details </MenuCategory> |
| | | <ParentRole> http://www.klx.com/role/NetIncomeLossPerCommonShareTables </ParentRole> |
| | | <Position> 69 </Position> |
| | | </Report> |
| | <Report instance="klxe-20231231.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R9999.htm </HtmlFileName> |
| | | <LongName> Uncategorized Items - klxe-20231231.htm </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://xbrl.sec.gov/role/uncategorizedFacts </Role> |
| | | <ShortName> Uncategorized Items - klxe-20231231.htm </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 70 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="klxe-20231231.htm"> klxe-20231231.htm </File> |
| | <File> klxe-20231231.xsd </File> |
| | <File> klxe-20231231_cal.xml </File> |
| | <File> klxe-20231231_def.xml </File> |
| | <File> klxe-20231231_lab.xml </File> |
| | <File> klxe-20231231_pre.xml </File> |
| | </InputFiles> |
| <SupplementalFiles/> |
| <BaseTaxonomies> |
| | <BaseTaxonomy items="700"> http://fasb.org/us-gaap/2023 </BaseTaxonomy> |
| | <BaseTaxonomy items="39"> http://xbrl.sec.gov/dei/2023 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> true </HasCalculationLinkbase> |
| </FilingSummary> |