XML 41 R33.htm IDEA: XBRL DOCUMENT
v3.25.1

Significant Accounting Policies - Additional Information (Detail) | 3 Months Ended | 12 Months Ended
--- | --- | ---
Mar. 31, 2025 State Facility Segment | Dec. 31, 2023
Significant Accounting Policies [Line Items] |  |
Number of quarries and yards | Facility | 390 |
Number of states in which entity operates | State | 28 |
Reportable business segments | Segment | 2 |
Percentage of minimum amount of income tax payments net of refunds received |  | 5.00%

X
- Definition Number of quarries and yards. + References No definition available. + Details
Name: | mlm_NumberOfQuarriesAndYards
Namespace Prefix: | mlm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of minimum amount of income tax payments net of refunds received. + References No definition available. + Details
Name: | mlm_PercentageOfMinimumAmountOfIncomeTaxPaymentsNetOfRefundsReceived
Namespace Prefix: | mlm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Significant accounting policies. + References No definition available. + Details
Name: | mlm_SignificantAccountingPoliciesLineItems
Namespace Prefix: | mlm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of segments reported by the entity. A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 47 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-47 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 54 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482785/280-10-55-54 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 280 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482810/280-10-50-18 + Details
Name: | us-gaap_NumberOfReportableSegments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant