XML 146 R115.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Other Operating Income, Net - Additional Information (Detail) - USD ($) $ in Millions |  | 12 Months Ended
--- | --- | ---
Apr. 01, 2022 | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Property, Plant and Equipment [Line Items] |  |  |  |
Other operating income and expenses, net |  | $ 28.4 | $ 189.2 | $ 34.3
Colorado and Central Texas |  |  |  |
Property, Plant and Equipment [Line Items] |  |  |  |
Gain on sale of investment | $ 151.9 |  | $ 151.9 |
Land |  |  |  |
Property, Plant and Equipment [Line Items] |  |  |  |
Other operating income and expenses, net |  | $ 19.5 |  |
Corporate headquarters |  |  |  |
Property, Plant and Equipment [Line Items] |  |  |  |
Gain on sale of investment |  |  |  | $ 21.6

X
- Definition Amount of gain (loss) on sale or disposal of property, plant and equipment assets, excluding oil and gas property and timber property. + 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/2009/role/commonPracticeRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482130/360-10-45-5 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482099/360-10-50-3 + Details
Name: | us-gaap_GainLossOnDispositionOfAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 The net amount of other operating income and expenses, the components of which are not separately disclosed on the income statement, from items that are associated with the entity's normal revenue producing operations. + References No definition available. + Details
Name: | us-gaap_OtherOperatingIncomeExpenseNet
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 No definition available. + 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_ColoradoAndCentralTexasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LandMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=mlm_CorporateHeadquartersMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |