<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>88</ContextCount>
  <ElementCount>26</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>11</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="exp-20250623.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/20250623/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="exp-20250623.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="exp-20250623.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995443 - Disclosure - Award Timing Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure</Role>
      <ShortName>Award Timing Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>3</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="DEF 14A" isProxy="true" isUsgaap="true" original="exp-20250623.htm">exp-20250623.htm</File>
    <File>exp-20250623.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img32291064_0.jpg</File>
    <File>img32291064_1.jpg</File>
    <File>img32291064_10.jpg</File>
    <File>img32291064_100.jpg</File>
    <File>img32291064_101.jpg</File>
    <File>img32291064_102.jpg</File>
    <File>img32291064_103.jpg</File>
    <File>img32291064_104.jpg</File>
    <File>img32291064_105.jpg</File>
    <File>img32291064_106.jpg</File>
    <File>img32291064_107.jpg</File>
    <File>img32291064_108.jpg</File>
    <File>img32291064_109.jpg</File>
    <File>img32291064_11.jpg</File>
    <File>img32291064_110.jpg</File>
    <File>img32291064_111.jpg</File>
    <File>img32291064_112.jpg</File>
    <File>img32291064_113.jpg</File>
    <File>img32291064_114.jpg</File>
    <File>img32291064_115.jpg</File>
    <File>img32291064_116.jpg</File>
    <File>img32291064_117.jpg</File>
    <File>img32291064_118.jpg</File>
    <File>img32291064_119.jpg</File>
    <File>img32291064_12.jpg</File>
    <File>img32291064_120.jpg</File>
    <File>img32291064_121.jpg</File>
    <File>img32291064_122.jpg</File>
    <File>img32291064_123.jpg</File>
    <File>img32291064_124.jpg</File>
    <File>img32291064_125.jpg</File>
    <File>img32291064_126.jpg</File>
    <File>img32291064_127.jpg</File>
    <File>img32291064_128.jpg</File>
    <File>img32291064_129.jpg</File>
    <File>img32291064_13.jpg</File>
    <File>img32291064_130.jpg</File>
    <File>img32291064_14.jpg</File>
    <File>img32291064_15.jpg</File>
    <File>img32291064_16.jpg</File>
    <File>img32291064_17.jpg</File>
    <File>img32291064_18.jpg</File>
    <File>img32291064_19.jpg</File>
    <File>img32291064_2.jpg</File>
    <File>img32291064_20.jpg</File>
    <File>img32291064_21.jpg</File>
    <File>img32291064_22.jpg</File>
    <File>img32291064_23.jpg</File>
    <File>img32291064_24.jpg</File>
    <File>img32291064_25.jpg</File>
    <File>img32291064_26.jpg</File>
    <File>img32291064_27.jpg</File>
    <File>img32291064_28.jpg</File>
    <File>img32291064_29.jpg</File>
    <File>img32291064_3.jpg</File>
    <File>img32291064_30.jpg</File>
    <File>img32291064_31.jpg</File>
    <File>img32291064_32.jpg</File>
    <File>img32291064_33.jpg</File>
    <File>img32291064_34.jpg</File>
    <File>img32291064_35.jpg</File>
    <File>img32291064_36.jpg</File>
    <File>img32291064_37.jpg</File>
    <File>img32291064_38.jpg</File>
    <File>img32291064_39.jpg</File>
    <File>img32291064_4.jpg</File>
    <File>img32291064_40.jpg</File>
    <File>img32291064_41.jpg</File>
    <File>img32291064_42.jpg</File>
    <File>img32291064_43.jpg</File>
    <File>img32291064_44.jpg</File>
    <File>img32291064_45.jpg</File>
    <File>img32291064_46.jpg</File>
    <File>img32291064_47.jpg</File>
    <File>img32291064_48.jpg</File>
    <File>img32291064_49.jpg</File>
    <File>img32291064_5.jpg</File>
    <File>img32291064_50.jpg</File>
    <File>img32291064_51.jpg</File>
    <File>img32291064_52.jpg</File>
    <File>img32291064_53.jpg</File>
    <File>img32291064_54.jpg</File>
    <File>img32291064_55.jpg</File>
    <File>img32291064_56.jpg</File>
    <File>img32291064_57.jpg</File>
    <File>img32291064_58.jpg</File>
    <File>img32291064_59.jpg</File>
    <File>img32291064_6.jpg</File>
    <File>img32291064_60.jpg</File>
    <File>img32291064_61.jpg</File>
    <File>img32291064_62.jpg</File>
    <File>img32291064_63.jpg</File>
    <File>img32291064_64.jpg</File>
    <File>img32291064_65.jpg</File>
    <File>img32291064_66.jpg</File>
    <File>img32291064_67.jpg</File>
    <File>img32291064_68.jpg</File>
    <File>img32291064_69.jpg</File>
    <File>img32291064_7.jpg</File>
    <File>img32291064_70.jpg</File>
    <File>img32291064_71.jpg</File>
    <File>img32291064_72.jpg</File>
    <File>img32291064_73.jpg</File>
    <File>img32291064_74.jpg</File>
    <File>img32291064_75.jpg</File>
    <File>img32291064_76.jpg</File>
    <File>img32291064_77.jpg</File>
    <File>img32291064_78.jpg</File>
    <File>img32291064_79.jpg</File>
    <File>img32291064_8.jpg</File>
    <File>img32291064_80.jpg</File>
    <File>img32291064_81.jpg</File>
    <File>img32291064_82.jpg</File>
    <File>img32291064_83.jpg</File>
    <File>img32291064_84.jpg</File>
    <File>img32291064_85.jpg</File>
    <File>img32291064_86.jpg</File>
    <File>img32291064_87.jpg</File>
    <File>img32291064_88.jpg</File>
    <File>img32291064_89.jpg</File>
    <File>img32291064_9.jpg</File>
    <File>img32291064_90.jpg</File>
    <File>img32291064_91.jpg</File>
    <File>img32291064_92.jpg</File>
    <File>img32291064_93.jpg</File>
    <File>img32291064_94.jpg</File>
    <File>img32291064_95.jpg</File>
    <File>img32291064_96.jpg</File>
    <File>img32291064_97.jpg</File>
    <File>img32291064_98.jpg</File>
    <File>img32291064_99.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="5">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="164">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
