XML 71 R63.htm IDEA: XBRL DOCUMENT
v3.25.3

Other Operating (Expense) Income, Net - Additional Information (Detail) - USD ($) $ in Millions | 9 Months Ended
--- | ---
Sep. 30, 2025 | Sep. 30, 2024
Property, Plant and Equipment [Line Items] |  |
Gain on sale of investment |  | $ 1,300
Noncash asset and portfolio rationalization charge | $ 0 | 50
South Texas Cement Business |  |
Property, Plant and Equipment [Line Items] |  |
Gain on sale of investment |  | 1,300
Noncash asset and portfolio rationalization charge |  | $ 50

X
- Definition Noncash asset and portfolio rationalization charge. + References No definition available. + Details
Name: | mlm_NoncashAssetAndPortfolioRationalizationCharge
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of gain (loss) from sale and disposal of integrated set of activities and assets capable of being conducted and managed for purpose of providing return in form of dividend, lower cost, or other economic benefit to investor, owner, member and participant. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 810 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1B -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481203/810-10-50-1B + Details
Name: | us-gaap_GainLossOnSaleOfBusiness
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-7A + Details
Name: | us-gaap_PropertyPlantAndEquipmentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=mlm_SouthTexasCementBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |