XML 89 R58.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Business Combinations, Divestitures, Discontinued Operations and Assets and Liabilities Held for Sale - Additional Information (Detail) $ in Millions |  |  |  |  |  |  | 6 Months Ended | 12 Months Ended
--- | --- | --- | --- | --- | --- | --- | --- | ---
Feb. 11, 2024 USD ($) Facility | Jan. 12, 2024 | Nov. 21, 2023 USD ($) Plant | Oct. 31, 2023 USD ($) | Jul. 15, 2022 USD ($) | Apr. 01, 2022 USD ($) | Jun. 30, 2022 USD ($) Plant | Dec. 31, 2023 USD ($) Plant | Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($)
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |
Pretax loss on divestiture |  |  |  | $ (26.3) |  |  |  | $ (24.0) | $ (0.7) | $ (6.0)
Business combination number of south texas ready mix operations | Plant |  |  | 20 |  |  |  |  | 20 |  |
Business combination number of California ready mix operations | Plant |  |  |  |  |  |  | 14 |  |  |
Interest payable |  |  |  |  | $ 15.0 |  |  |  |  |
Business Combination, periods for production level |  | 60 years |  |  |  |  |  |  |  |
Revenues |  |  | $ 2,100.0 | $ 315.0 |  |  | $ 235.0 |  |  |
Colorado and Central Texas |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |
Pretax gain (loss) |  |  |  |  |  | $ 151.9 |  |  | $ 151.9 |
Alabama Definitive Agreement |  |  |  |  |  |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |  |  |  |  |  |
Number of active aggregates operations | Facility | 20 |  |  |  |  |  |  |  |  |
Payments to acquire businesses gross | $ 2,050.0 |  |  |  |  |  |  |  |  |

X
- Definition Business combination number of active aggregate operations acquired. + References No definition available. + Details
Name: | mlm_BusinessCombinationNumberOfActiveAggregateOperationsAcquired
Namespace Prefix: | mlm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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 Business Combination Number Of South Texas Ready Mix Operations + References No definition available. + Details
Name: | mlm_BusinessCombinationNumberOfSouthTexasReadyMixOperations
Namespace Prefix: | mlm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Business Combination, periods for production level + References No definition available. + Details
Name: | mlm_BusinessCombinationPeriodsForProductionLevel
Namespace Prefix: | mlm_
Data Type: | xbrli:stringItemType
Balance Type: | na
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 before tax of gain (loss) not previously recognized resulting from the disposal of a discontinued operation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3B -Publisher FASB -URI https://asc.fasb.org//1943274/2147483475/205-20-45-3B Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483499/205-20-50-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 205 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483475/205-20-45-3 + Details
Name: | us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479581/805-30-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 13 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireBusinessesGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow associated with the sale of equity method investments, which are investments in joint ventures and entities in which the entity has an equity ownership interest normally of 20 to 50 percent and exercises significant influence. + 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_ProceedsFromSaleOfEquityMethodInvestments
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: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mlm_AlabamaDefinitiveAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |