<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="mxc-20260331.xsd" xlink:type="simple"/>
    <context id="From2025-04-01to2026-03-31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000066418</identifier>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="AsOf2025-09-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000066418</identifier>
        </entity>
        <period>
            <instant>2025-09-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-29">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000066418</identifier>
        </entity>
        <period>
            <instant>2026-06-29</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <dei:AmendmentFlag contextRef="From2025-04-01to2026-03-31" id="Fact000003">true</dei:AmendmentFlag>
    <dei:DocumentFiscalPeriodFocus contextRef="From2025-04-01to2026-03-31" id="Fact000004">FY</dei:DocumentFiscalPeriodFocus>
    <dei:EntityCentralIndexKey contextRef="From2025-04-01to2026-03-31" id="Fact000005">0000066418</dei:EntityCentralIndexKey>
    <dei:EntityVoluntaryFilers contextRef="From2025-04-01to2026-03-31" id="xdx2ixbrl0043">No</dei:EntityVoluntaryFilers>
    <dei:DocumentType contextRef="From2025-04-01to2026-03-31" id="Fact000020">10-K/A</dei:DocumentType>
    <dei:DocumentAnnualReport contextRef="From2025-04-01to2026-03-31" id="Fact000021">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate contextRef="From2025-04-01to2026-03-31" id="Fact000022">2026-03-31</dei:DocumentPeriodEndDate>
    <dei:CurrentFiscalYearEndDate contextRef="From2025-04-01to2026-03-31" id="Fact000023">--03-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentFiscalYearFocus contextRef="From2025-04-01to2026-03-31" id="Fact000025">2026</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport contextRef="From2025-04-01to2026-03-31" id="Fact000026">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber contextRef="From2025-04-01to2026-03-31" id="Fact000028">1-31785</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="From2025-04-01to2026-03-31" id="Fact000029">MEXCO ENERGY CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="From2025-04-01to2026-03-31" id="Fact000030">CO</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="From2025-04-01to2026-03-31" id="Fact000031">84-0627918</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="From2025-04-01to2026-03-31" id="Fact000032">415 W. Wall</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="From2025-04-01to2026-03-31" id="Fact000033">Suite 475</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="From2025-04-01to2026-03-31" id="Fact000034">Midland</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="From2025-04-01to2026-03-31" id="Fact000035">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="From2025-04-01to2026-03-31" id="Fact000036">79701</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="From2025-04-01to2026-03-31" id="Fact000037">(432)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="From2025-04-01to2026-03-31" id="Fact000038">682-1119</dei:LocalPhoneNumber>
    <dei:Security12bTitle contextRef="From2025-04-01to2026-03-31" id="Fact000039">Common Stock, par value     $0.50 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="From2025-04-01to2026-03-31" id="Fact000040">MXC</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="From2025-04-01to2026-03-31" id="Fact000041">NYSEAMER</dei:SecurityExchangeName>
    <dei:EntityWellKnownSeasonedIssuer contextRef="From2025-04-01to2026-03-31" id="Fact000042">No</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityCurrentReportingStatus contextRef="From2025-04-01to2026-03-31" id="Fact000044">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="From2025-04-01to2026-03-31" id="Fact000045">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="From2025-04-01to2026-03-31" id="Fact000046">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="From2025-04-01to2026-03-31" id="Fact000047">true</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="From2025-04-01to2026-03-31" id="Fact000048">false</dei:EntityEmergingGrowthCompany>
    <dei:IcfrAuditorAttestationFlag contextRef="From2025-04-01to2026-03-31" id="Fact000049">false</dei:IcfrAuditorAttestationFlag>
    <dei:DocumentFinStmtErrorCorrectionFlag contextRef="From2025-04-01to2026-03-31" id="Fact000050">false</dei:DocumentFinStmtErrorCorrectionFlag>
    <dei:EntityShellCompany contextRef="From2025-04-01to2026-03-31" id="Fact000051">false</dei:EntityShellCompany>
    <dei:EntityPublicFloat
      contextRef="AsOf2025-09-30"
      decimals="0"
      id="Fact000052"
      unitRef="USD">9540503</dei:EntityPublicFloat>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="AsOf2026-06-29"
      decimals="INF"
      id="Fact000054"
      unitRef="Shares">2046000</dei:EntityCommonStockSharesOutstanding>
    <dei:AmendmentDescription contextRef="From2025-04-01to2026-03-31" id="Fact000057">This
Amendment No. 1 on Form 10-K/A (this &#x201c;Amended Report&#x201d;) amends the Annual Report on Form 10-K for Mexco Energy Corporation
(the &#x201c;Company&#x201d;) for the year ended March 31, 2026, originally filed on June 29, 2026 (the &#x201c;Original Report&#x201d;).
We are filing this Amended Report for the sole purpose of filing the information required by Part III of Form 10-K. We previously omitted
this information from the Original Report in reliance on General Instruction G(3) to Form 10-K, which permits this information to be
incorporated by reference from a registrant&#x2019;s definitive proxy statement if the proxy statement is filed within 120 days after
fiscal year-end. Due to an administrative error, our definitive proxy statement containing such information was not filed within 120
days after the end of our fiscal year, and we are therefore filing this Amended Report to include the Part III information directly.&#160;

The
reference on the cover page of the Original Report to such incorporation by reference has been deleted, and this Amended Report amends
and restates in their entirety the cover page and Part III of the Original Report.

&#160;

Capitalized
terms not otherwise defined in Part III of this Amended Report shall have the same meanings assigned to those terms in Parts I and II
of the Original Report.

&#160;

Pursuant
to the rules of the U.S. Securities and Exchange Commission (the &#x201c;SEC&#x201d;), Part IV, Item 15 (Exhibit Index) has also been amended
to contain the currently dated certifications from our principal executive officer and principal financial officer pursuant to Section
302 of the Sarbanes-Oxley Act of 2002. The certifications of our principal executive officer and of our principal financial officer are
attached to this Amended Report as Exhibits 31.1 and 31.2, respectively. Because no financial statements have been included in this Amended
Report and this Amended Report does not contain or amend any disclosure with respect to Items 307 and 308 of Regulation S-K, we have
omitted paragraphs 3, 4 and 5 of the certifications filed with this Amended Report. Additionally, we are not including the certifications
under Section 906 of the Sarbanes-Oxley Act of 2002, because we are not filing any financial statements with this Amended Report.

&#160;

The
remainder of the Original Report remains the same as previously reported in the Original Report, and there are no other changes to the
Company&#x2019;s financial statements or disclosures and there are no changes to the Company&#x2019;s reported results. This Amended Report
does not reflect any subsequent events occurring after the filing date of the Original Report and does not modify or update in any way
the disclosures made in the Original Report except as described above. Accordingly, this Amended Report should be read in conjunction
with the Original Report and with our filings with the SEC after the Original Report.

&#160;</dei:AmendmentDescription>
</xbrl>
