<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>83</ContextCount>
  <ElementCount>91</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>16</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>75000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>75010 - Statement - Statements of Net Assets Available for Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits</Role>
      <ShortName>Statements of Net Assets Available for Benefits</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>75020 - Statement - Statement of Changes in Net Assets Available for Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits</Role>
      <ShortName>Statement of Changes in Net Assets Available for Benefits</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>75030 - Disclosure - Description of the Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan1</Role>
      <ShortName>Description of the Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>75040 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureSignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>75050 - Disclosure - NAV Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureNavPerShare</Role>
      <ShortName>NAV Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>75060 - Disclosure - Guaranteed Investment Contract</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureGuaranteedInvestmentContract</Role>
      <ShortName>Guaranteed Investment Contract</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>75070 - Disclosure - Income Tax Status</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus</Role>
      <ShortName>Income Tax Status</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>75080 - Disclosure - Related Party Transactions and Party-in-interest Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureRelatedPartyTransactionsAndPartyininterestTransactions1</Role>
      <ShortName>Related Party Transactions and Party-in-interest Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>75090 - Disclosure - Reconciliation of Financial Statements to Form 5500</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureReconciliationOfFinancialStatementsToForm55001</Role>
      <ShortName>Reconciliation of Financial Statements to Form 5500</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>75100 - Disclosure - Risks and Uncertainties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties</Role>
      <ShortName>Risks and Uncertainties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>75110 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>75120 - Disclosure - Schedule H; Line 4i - Schedule of Assets (Held at End of Year)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear1</Role>
      <ShortName>Schedule H; Line 4i - Schedule of Assets (Held at End of Year)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>75130 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureSignificantAccountingPolicies</ParentRole>
      <Position>14</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>75140 - Disclosure - Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureSignificantAccountingPoliciesTables</Role>
      <ShortName>Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureSignificantAccountingPolicies</ParentRole>
      <Position>15</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>75150 - Disclosure - NAV Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureNavPerShareTables</Role>
      <ShortName>NAV Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureNavPerShare</ParentRole>
      <Position>16</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>75160 - Disclosure - Reconciliation of Financial Statements to Form 5500 (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureReconciliationOfFinancialStatementsToForm5500Tables</Role>
      <ShortName>Reconciliation of Financial Statements to Form 5500 (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureReconciliationOfFinancialStatementsToForm55001</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>75170 - Disclosure - Description of the Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanDetails</Role>
      <ShortName>Description of the Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan1</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>75180 - Disclosure - Significant Accounting Policies - Schedule of Plan's Investments at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureSignificantAccountingPoliciesScheduleOfPlansInvestmentsAtFairValueOnARecurringBasisDetails</Role>
      <ShortName>Significant Accounting Policies - Schedule of Plan's Investments at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>75190 - Disclosure - NAV Per Share - Summary of Plan's Investments with a Reported NAV (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureNavPerShareSummaryOfPlansInvestmentsWithAReportedNavDetails</Role>
      <ShortName>NAV Per Share - Summary of Plan's Investments with a Reported NAV (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>75200 - Disclosure - Guaranteed Investment Contract (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureGuaranteedInvestmentContractDetails</Role>
      <ShortName>Guaranteed Investment Contract (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureGuaranteedInvestmentContract</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>75210 - Disclosure - Income Tax Status (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusDetails</Role>
      <ShortName>Income Tax Status (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>75220 - Disclosure - Related Party Transactions and Party-in-interest Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureRelatedPartyTransactionsAndPartyininterestTransactionsDetails</Role>
      <ShortName>Related Party Transactions and Party-in-interest Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureRelatedPartyTransactionsAndPartyininterestTransactions1</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>75230 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Reconciliation Of Net Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureReconciliationOfFinancialStatementsToForm5500ReconciliationOfNetAssetsDetails</Role>
      <ShortName>Reconciliation of Financial Statements to Form 5500 - Reconciliation Of Net Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>75240 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Reconciliation Of Changes In Net Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureReconciliationOfFinancialStatementsToForm5500ReconciliationOfChangesInNetAssetsDetails</Role>
      <ShortName>Reconciliation of Financial Statements to Form 5500 - Reconciliation Of Changes In Net Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="exp-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>75250 - Disclosure - Schedule H; Line 4i - Schedule of Assets (Held at End of Year) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYearDetails</Role>
      <ShortName>Schedule H; Line 4i - Schedule of Assets (Held at End of Year) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.eaglematerials.com/20251231/taxonomy/role/DisclosureScheduleHLine4iScheduleOfAssetsHeldAtEndOfYear1</ParentRole>
      <Position>26</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="11-K" isDefinitelyFs="true" isUsgaap="true" original="exp-20251231.htm">exp-20251231.htm</File>
    <File>exp-20251231.xsd</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="183">http://fasb.org/us-gaap-ebp/2026</BaseTaxonomy>
    <BaseTaxonomy items="12">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
