<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:country="http://xbrl.sec.gov/country/2026"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:exp="http://www.eaglematerials.com/20260331"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rxp="http://xbrl.sec.gov/rxp/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="exp-20260331.xsd" xlink:type="simple"/>
    <context id="P04_01_2025To03_31_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000918646</identifier>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2025To03_31_2026_UnitedStatesBureauOfLandManagementMemberrxpProjectAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000918646</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:ProjectAxis">exp:UnitedStatesBureauOfLandManagementMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2025To03_31_2026_UnitedStatesUSDepartmentofTreasuryMemberrxpProjectAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000918646</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:ProjectAxis">exp:UnitedStatesUSDepartmentofTreasuryMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2025To03_31_2026_BureauOfLandManagementMemberrxpGovernmentAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000918646</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:GovernmentAxis">exp:BureauOfLandManagementMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2025To03_31_2026_USDepartmentofTreasuryMemberrxpGovernmentAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000918646</identifier>
            <segment>
                <xbrldi:explicitMember dimension="rxp:GovernmentAxis">exp:USDepartmentofTreasuryMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2025To03_31_2026_1TypedMemberrxpPmtAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000918646</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>1</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2025To03_31_2026_2TypedMemberrxpPmtAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000918646</identifier>
            <segment>
                <xbrldi:typedMember dimension="rxp:PmtAxis">
                    <rxp:pmt>2</rxp:pmt>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:DocumentType contextRef="P04_01_2025To03_31_2026" id="ixv-218">2.01 SD</dei:DocumentType>
    <dei:AmendmentFlag contextRef="P04_01_2025To03_31_2026" id="ixv-219">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="P04_01_2025To03_31_2026" id="ixv-220">0000918646</dei:EntityCentralIndexKey>
    <dei:EntityReportingCurrencyISOCode contextRef="P04_01_2025To03_31_2026" id="ixv-221">USD</dei:EntityReportingCurrencyISOCode>
    <rxp:AlternativeReportingRegime contextRef="P04_01_2025To03_31_2026" id="ixv-222">NR</rxp:AlternativeReportingRegime>
    <rxp:P
      contextRef="P04_01_2025To03_31_2026_1TypedMemberrxpPmtAxis"
      id="ixv-223">rxp:Royalties</rxp:P>
    <rxp:P
      contextRef="P04_01_2025To03_31_2026_2TypedMemberrxpPmtAxis"
      id="ixv-224">rxp:Taxes</rxp:P>
    <rxp:Co
      contextRef="P04_01_2025To03_31_2026_1TypedMemberrxpPmtAxis"
      id="hidden170008814">country:US</rxp:Co>
    <rxp:Co
      contextRef="P04_01_2025To03_31_2026_2TypedMemberrxpPmtAxis"
      id="hidden170008815">country:US</rxp:Co>
    <rxp:Gv
      contextRef="P04_01_2025To03_31_2026_1TypedMemberrxpPmtAxis"
      id="ixv-227">exp:USDepartmentofTreasuryMember</rxp:Gv>
    <rxp:Gv
      contextRef="P04_01_2025To03_31_2026_2TypedMemberrxpPmtAxis"
      id="ixv-228">exp:BureauOfLandManagementMember</rxp:Gv>
    <rxp:Pr
      contextRef="P04_01_2025To03_31_2026_1TypedMemberrxpPmtAxis"
      id="ixv-229">exp:UnitedStatesUSDepartmentofTreasuryMember</rxp:Pr>
    <rxp:Pr
      contextRef="P04_01_2025To03_31_2026_2TypedMemberrxpPmtAxis"
      id="ixv-230">exp:UnitedStatesBureauOfLandManagementMember</rxp:Pr>
    <rxp:R
      contextRef="P04_01_2025To03_31_2026_2TypedMemberrxpPmtAxis"
      id="ixv-231">exp:MineralsMember</rxp:R>
    <rxp:R
      contextRef="P04_01_2025To03_31_2026_1TypedMemberrxpPmtAxis"
      id="ixv-232">exp:MineralsMember</rxp:R>
    <rxp:M
      contextRef="P04_01_2025To03_31_2026_1TypedMemberrxpPmtAxis"
      id="ixv-233">Underground Mining</rxp:M>
    <rxp:M
      contextRef="P04_01_2025To03_31_2026_2TypedMemberrxpPmtAxis"
      id="ixv-234">Underground Mining</rxp:M>
    <dei:EntityRegistrantName contextRef="P04_01_2025To03_31_2026" id="ixv-299">EAGLE MATERIALS INC</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate contextRef="P04_01_2025To03_31_2026" id="ixv-300">2026-03-31</dei:DocumentPeriodEndDate>
    <rxp:Taxes
      contextRef="P04_01_2025To03_31_2026_UnitedStatesUSDepartmentofTreasuryMemberrxpProjectAxis"
      decimals="-3"
      id="Fact_170008825"
      unitRef="Unit_USD">69541000</rxp:Taxes>
    <rxp:Taxes
      contextRef="P04_01_2025To03_31_2026_USDepartmentofTreasuryMemberrxpGovernmentAxis"
      decimals="-3"
      id="Fact_170008805"
      unitRef="Unit_USD">69541000</rxp:Taxes>
    <rxp:TotalPayments
      contextRef="P04_01_2025To03_31_2026_USDepartmentofTreasuryMemberrxpGovernmentAxis"
      decimals="-3"
      id="ixv-303"
      unitRef="Unit_USD">69541000</rxp:TotalPayments>
    <rxp:TotalPayments
      contextRef="P04_01_2025To03_31_2026_UnitedStatesUSDepartmentofTreasuryMemberrxpProjectAxis"
      decimals="-3"
      id="ixv-304"
      unitRef="Unit_USD">69541000</rxp:TotalPayments>
    <rxp:Royalties
      contextRef="P04_01_2025To03_31_2026_BureauOfLandManagementMemberrxpGovernmentAxis"
      decimals="-3"
      id="ixv-305"
      unitRef="Unit_USD">59000</rxp:Royalties>
    <rxp:Royalties
      contextRef="P04_01_2025To03_31_2026_UnitedStatesBureauOfLandManagementMemberrxpProjectAxis"
      decimals="-3"
      id="ixv-306"
      unitRef="Unit_USD">59000</rxp:Royalties>
    <rxp:TotalPayments
      contextRef="P04_01_2025To03_31_2026_BureauOfLandManagementMemberrxpGovernmentAxis"
      decimals="-3"
      id="ixv-307"
      unitRef="Unit_USD">59000</rxp:TotalPayments>
    <rxp:TotalPayments
      contextRef="P04_01_2025To03_31_2026_UnitedStatesBureauOfLandManagementMemberrxpProjectAxis"
      decimals="-3"
      id="ixv-308"
      unitRef="Unit_USD">59000</rxp:TotalPayments>
    <rxp:TotalPayments
      contextRef="P04_01_2025To03_31_2026"
      decimals="-3"
      id="ixv-309"
      unitRef="Unit_USD">69600000</rxp:TotalPayments>
    <rxp:TotalPayments
      contextRef="P04_01_2025To03_31_2026"
      decimals="-3"
      id="ixv-310"
      unitRef="Unit_USD">69600000</rxp:TotalPayments>
    <rxp:A
      contextRef="P04_01_2025To03_31_2026_1TypedMemberrxpPmtAxis"
      decimals="-3"
      id="ixv-311"
      unitRef="Unit_USD">69541000</rxp:A>
    <rxp:A
      contextRef="P04_01_2025To03_31_2026_2TypedMemberrxpPmtAxis"
      decimals="-3"
      id="ixv-312"
      unitRef="Unit_USD">59000</rxp:A>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#Fact_170008805"
          xlink:label="Fact_170008805"
          xlink:type="locator"/>
        <link:footnote id="FN_733054" xlink:label="FN_733054" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The Company files a consolidated U.S. federal income tax return which includes, on a consolidated/combined basis, all U.S. federal income taxes attributable to the Company and all of its U.S. corporate subsidiaries.&#160;The income tax reported above is that portion of the consolidated group tax liability which relates to those corporate subsidiary entities included in the Company consolidated tax return which are engaged in the commercial development of minerals.&#160;Such portion was determined utilizing apportionment methods set forth in applicable U.S. federal income tax regulations.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact_170008805"
          xlink:to="FN_733054"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#Fact_170008825"
          xlink:label="Fact_170008825"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="Fact_170008825"
          xlink:to="FN_733054"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
