<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="oesx-20260805.xsd" xlink:type="simple"/>
    <context id="C_c23aa08d-66cc-42a4-b44b-b31d4141b453">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001409375</identifier>
        </entity>
        <period>
            <startDate>2026-08-05</startDate>
            <endDate>2026-08-05</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_44f21414-d8d2-4a19-89a6-a1c1b965da40">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_9a939c49-3bee-47da-8edf-da8f8f16ee7a">0001409375</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_9cd13ef3-ac1e-444c-b33b-d750e974635f">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_d57d40ce-a9f4-4bba-b6d2-f51aa3be397f">2026-08-05</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_129212b6-d1c9-4b4c-b515-d3fb9022c281">ORION ENERGY SYSTEMS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_c5484adf-0045-4460-baa1-b11f41164b9b">WI</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_77969ce8-d354-4618-a13f-edd5419cefb0">01-33887</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_51fdb8f6-96e7-4642-b37c-490f4c4d5c6d">39-1847269</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_f767ba13-0f0f-4efb-97fa-a186ea3e2ee1">2210 Woodland Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_eae07de7-dee6-4677-aaae-829d5ec850e0">Manitowoc</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_dff15a43-7752-4281-b355-4e3fb2a24a80">WI</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_6cc1acdd-6c21-4000-a2ff-a86508699988">54220</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_71c230f0-9932-4b6c-83da-5493867619ec">920</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_392159e4-011e-42ef-8d86-5fd912bcd21f">892-9340</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_b031d5fc-6d7b-4f6a-b365-7119e7df9cc1">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_d6b180e3-5d6a-43cd-aeaf-babccf370f09">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_2db67144-11ba-4543-8935-b81644c56047">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_eb3989aa-5efc-478c-85dd-148f31e77518">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_c56ef3fb-15ec-49b1-9b88-1d8031650ff2">Common stock, no par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_6a4baf7c-6151-4ac7-ac7c-8764e4e18219">OESX</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_6d6eb254-003c-4b76-9e9a-ad19845f20a9">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_c23aa08d-66cc-42a4-b44b-b31d4141b453"
      id="F_1e61f9e0-7f50-4bc9-bfa5-b691172fcad9">false</dei:EntityEmergingGrowthCompany>
</xbrl>
