XML 49 R38.htm IDEA: XBRL DOCUMENT
v3.23.2

Divestitures, Discontinued Operations and Assets and Liabilities Held for Sale - Additional Information (Detail) $ in Millions |  | 6 Months Ended
--- | --- | ---
Apr. 01, 2022 USD ($) | Jun. 30, 2023 USD ($) | Jun. 30, 2022 USD ($) Plant
Business Acquisition [Line Items] |  |  |
Cash used for operating and investing activities for discontinued operations |  | $ 42.5 | $ 224.2
Revenues |  |  | 235.0
Proceeds from Divestiture and sale of assets |  | 57.5 | 235.0
Capital expenditures |  | $ 3.8 | $ 13.2
Business combination number of California ready mix operations | Plant |  |  | 14
Colorado and Central Texas |  |  |
Business Acquisition [Line Items] |  |  |
Pretax gain | $ 151.7 |  |

X
- Definition Business combination number of California ready mix operations. + References No definition available. + Details
Name: | mlm_BusinessCombinationNumberOfCaliforniaReadyMixOperations
Namespace Prefix: | mlm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cash used for operating and investing activities for discontinued operations. + References No definition available. + Details
Name: | mlm_CashUsedForOperatingAndInvestingActivitiesForDiscontinuedOperations
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 805 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479907/805-20-50-5 + Details
Name: | us-gaap_BusinessAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of capital expenditure attributable to discontinued operations. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5B -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483499/205-20-50-5B + Details
Name: | us-gaap_CapitalExpenditureDiscontinuedOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of consideration received or receivable for the disposal of assets and liabilities, including discontinued operation. + References No definition available. + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 cash inflow associated with the amount received from the sale of a portion of the company's business, for example a segment, division, branch or other business, during the period. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-12 + Details
Name: | us-gaap_ProceedsFromDivestitureOfBusinesses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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