<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>112</ContextCount>
  <ElementCount>415</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>44</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00000001 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00000002 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/BalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00000003 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/BalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00000004 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00000005 - Statement - Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00000006 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00000007 - Disclosure - Nature of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/NatureOfOperations</Role>
      <ShortName>Nature of Operations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00000008 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>00000009 - Disclosure - Fair Value of Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/FairValueOfFinancialInstruments</Role>
      <ShortName>Fair Value of Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>00000010 - Disclosure - Property Sales</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/PropertySales</Role>
      <ShortName>Property Sales</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>00000011 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/Long-termDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>00000012 - Disclosure - Asset Retirement Obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/AssetRetirementObligations</Role>
      <ShortName>Asset Retirement Obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>00000013 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>00000014 - Disclosure - Major Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/MajorCustomers</Role>
      <ShortName>Major Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>00000015 - Disclosure - Oil and Natural Gas Costs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndNaturalGasCosts</Role>
      <ShortName>Oil and Natural Gas Costs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>00000016 - Disclosure - Loss Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/LossPerCommonShare</Role>
      <ShortName>Loss Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>00000017 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>00000018 - Disclosure - Stock Options</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockOptions</Role>
      <ShortName>Stock Options</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>00000019 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>00000020 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>00000021 - Disclosure - Oil and Gas Reserve Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveData</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>00000022 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>00000023 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>00000024 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/Long-termDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/Long-termDebt</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>00000025 - Disclosure - Asset Retirement Obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/AssetRetirementObligationsTables</Role>
      <ShortName>Asset Retirement Obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/AssetRetirementObligations</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>00000026 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/IncomeTaxes</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>00000027 - Disclosure - Oil and Natural Gas Costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndNaturalGasCostsTables</Role>
      <ShortName>Oil and Natural Gas Costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndNaturalGasCosts</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>00000028 - Disclosure - Loss Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/LossPerCommonShareTables</Role>
      <ShortName>Loss Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/LossPerCommonShare</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>00000029 - Disclosure - Stock Options (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockOptionsTables</Role>
      <ShortName>Stock Options (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/StockOptions</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>00000030 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/Leases</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>00000031 - Disclosure - Oil and Gas Reserve Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveDataTables</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndGasReserveData</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>00000032 - Disclosure - Summary of Significant Accounting Policies (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative</Role>
      <ShortName>Summary of Significant Accounting Policies (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/SummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>00000033 - Disclosure - Property Sales (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/PropertySalesDetailsNarrative</Role>
      <ShortName>Property Sales (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/PropertySales</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>00000034 - Disclosure - Long-Term Debt (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/Long-termDebtDetailsNarrative</Role>
      <ShortName>Long-Term Debt (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/Long-termDebtTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>00000035 - Disclosure - Long-Term Debt - Schedule of Long Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/Long-termDebt-ScheduleOfLongTermDebtDetails</Role>
      <ShortName>Long-Term Debt - Schedule of Long Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>00000036 - Disclosure - Long-Term Debt - Summary of Line of Credit Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/Long-termDebt-SummaryOfLineOfCreditActivityDetails</Role>
      <ShortName>Long-Term Debt - Summary of Line of Credit Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>00000037 - Disclosure - Assets Retirement Obligations - Schedule of Rollforward of Asset Retirement Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/AssetsRetirementObligations-ScheduleOfRollforwardOfAssetRetirementObligationsDetails</Role>
      <ShortName>Assets Retirement Obligations - Schedule of Rollforward of Asset Retirement Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>00000038 - Disclosure - Income Taxes (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/IncomeTaxesDetailsNarrative</Role>
      <ShortName>Income Taxes (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/IncomeTaxesTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>00000039 - Disclosure - Income Taxes - Schedule of Components of Net Deferred Tax Assets (Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/IncomeTaxes-ScheduleOfComponentsOfNetDeferredTaxAssetsLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Schedule of Components of Net Deferred Tax Assets (Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>00000040 - Disclosure - Income Taxes - Schedule of Reconciliation of Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/IncomeTaxes-ScheduleOfReconciliationOfProvisionForIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Schedule of Reconciliation of Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>00000041 - Disclosure - Income Taxes - Schedule of Reconciliation of Provision for Income Taxes (Details) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/IncomeTaxes-ScheduleOfReconciliationOfProvisionForIncomeTaxesDetailsParenthetical</Role>
      <ShortName>Income Taxes - Schedule of Reconciliation of Provision for Income Taxes (Details) (Parenthetical)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>00000042 - Disclosure - Major Customers (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/MajorCustomersDetailsNarrative</Role>
      <ShortName>Major Customers (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/MajorCustomers</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>00000043 - Disclosure - Oil and Natural Gas Costs (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndNaturalGasCostsDetailsNarrative</Role>
      <ShortName>Oil and Natural Gas Costs (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndNaturalGasCostsTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>00000044 - Disclosure - Oil and Natural Gas Costs - Schedule of Cost Related to Oil and Gas Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndNaturalGasCosts-ScheduleOfCostRelatedToOilAndGasActivitiesDetails</Role>
      <ShortName>Oil and Natural Gas Costs - Schedule of Cost Related to Oil and Gas Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>00000045 - Disclosure - Oil and Natural Gas Costs - Schedule of Aggregate Capitalized Costs Relating Oil and Gas Property Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndNaturalGasCosts-ScheduleOfAggregateCapitalizedCostsRelatingOilAndGasPropertyActivitiesDetails</Role>
      <ShortName>Oil and Natural Gas Costs - Schedule of Aggregate Capitalized Costs Relating Oil and Gas Property Activities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>00000046 - Disclosure - Loss Per Common Share - Schedule of Reconciliation of Basic Net Loss Per Share and Diluted Loss Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/LossPerCommonShare-ScheduleOfReconciliationOfBasicNetLossPerShareAndDilutedLossPerShareDetails</Role>
      <ShortName>Loss Per Common Share - Schedule of Reconciliation of Basic Net Loss Per Share and Diluted Loss Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>00000047 - Disclosure - Stockholders' Equity (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockholdersEquityDetailsNarrative</Role>
      <ShortName>Stockholders' Equity (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/StockholdersEquity</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>00000048 - Disclosure - Stock Options (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockOptionsDetailsNarrative</Role>
      <ShortName>Stock Options (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/StockOptionsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>00000049 - Disclosure - Stock Options - Summary of Grant-date Fair Value of Stock Options Granted and Assumptions Used Binomial Models (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockOptions-SummaryOfGrant-dateFairValueOfStockOptionsGrantedAndAssumptionsUsedBinomialModelsDetails</Role>
      <ShortName>Stock Options - Summary of Grant-date Fair Value of Stock Options Granted and Assumptions Used Binomial Models (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>00000050 - Disclosure - Stock Options - Summary of Stock Options Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockOptions-SummaryOfStockOptionsActivityDetails</Role>
      <ShortName>Stock Options - Summary of Stock Options Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>00000051 - Disclosure - Stock Options - Schedule of Other Information Pertaining to Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockOptions-ScheduleOfOtherInformationPertainingToOptionActivityDetails</Role>
      <ShortName>Stock Options - Schedule of Other Information Pertaining to Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>00000052 - Disclosure - Stock Options - Summary of Information About Options Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/StockOptions-SummaryOfInformationAboutOptionsOutstandingDetails</Role>
      <ShortName>Stock Options - Summary of Information About Options Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>00000053 - Disclosure - Related Party Transactions (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/RelatedPartyTransactionsDetailsNarrative</Role>
      <ShortName>Related Party Transactions (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/RelatedPartyTransactions</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>00000054 - Disclosure - Leases (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/LeasesDetailsNarrative</Role>
      <ShortName>Leases (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/LeasesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>00000055 - Disclosure - Leases - Schedule of Operating Lease Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/Leases-ScheduleOfOperatingLeaseAssetsAndLiabilitiesDetails</Role>
      <ShortName>Leases - Schedule of Operating Lease Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>00000056 - Disclosure - Leases - Schedule of Future Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/Leases-ScheduleOfFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>Leases - Schedule of Future Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>00000057 - Disclosure - Oil and Gas Reserve Data (Unaudited) (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveDataDetailsNarrative</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited) (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndGasReserveDataTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>00000058 - Disclosure - Oil and Gas Reserve Data (Unaudited) - Schedule of Commodity Prices Utilized for Reserve Estimates the Prior to Adjustments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveData-ScheduleOfCommodityPricesUtilizedForReserveEstimatesPriorToAdjustmentsDetails</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited) - Schedule of Commodity Prices Utilized for Reserve Estimates the Prior to Adjustments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndGasReserveDataTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>00000059 - Disclosure - Oil and Gas Reserve Data (Unaudited) - Schedule of Changes in Proved Reserves (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveData-ScheduleOfChangesInProvedReservesDetails</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited) - Schedule of Changes in Proved Reserves (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndGasReserveDataTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>00000060 - Disclosure - Oil and Gas Reserve Data (Unaudited) - Summary of Proved Developed and Undeveloped Reserves (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveData-SummaryOfProvedDevelopedAndUndevelopedReservesDetails</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited) - Summary of Proved Developed and Undeveloped Reserves (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndGasReserveDataTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>00000061 - Disclosure - Oil and Gas Reserve Data (Unaudited) - Schedule of Progress of Converting Proved Undeveloped Reserves (Details</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveData-ScheduleOfProgressOfConvertingProvedUndevelopedReservesDetails</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited) - Schedule of Progress of Converting Proved Undeveloped Reserves (Details</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>00000062 - Disclosure - Oil and Gas Reserve Data (Unaudited) - Schedule of Standardized Measure of Discounted Future Net Cash Flows Relating to Proved Reserves (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveData-ScheduleOfStandardizedMeasureOfDiscountedFutureNetCashFlowsRelatingToProvedReservesDetails</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited) - Schedule of Standardized Measure of Discounted Future Net Cash Flows Relating to Proved Reserves (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndGasReserveDataTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>00000063 - Disclosure - Oil and Gas Reserve Data (Unaudited) - Schedule of Changes in Standardized Measure of Discounted Future Net Cash Flows to Proved Oil and Gas Reserves (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/OilAndGasReserveData-ScheduleOfChangesInStandardizedMeasureOfDiscountedFutureNetCashFlowsToProvedOilAndGasReservesDetails</Role>
      <ShortName>Oil and Gas Reserve Data (Unaudited) - Schedule of Changes in Standardized Measure of Discounted Future Net Cash Flows to Proved Oil and Gas Reserves (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/OilAndGasReserveDataTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="mxc-20200331.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>00000064 - Disclosure - Subsequent Events (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://mexcoenergy.com/role/SubsequentEventsDetailsNarrative</Role>
      <ShortName>Subsequent Events (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://mexcoenergy.com/role/SubsequentEvents</ParentRole>
      <Position>64</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>mxc-20200331.xml</File>
    <File>mxc-20200331.xsd</File>
    <File>mxc-20200331_cal.xml</File>
    <File>mxc-20200331_def.xml</File>
    <File>mxc-20200331_lab.xml</File>
    <File>mxc-20200331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
