XML 133 R102.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Commitments and Contingencies - Additional Information (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($) Railcars | Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($)
Commitments And Contingencies [Line Items] |  |  |
Purchase commitments for property, plant and equipment | $ 395.2 |  |
Asset retirement obligation depreciation and accretion | 17.1 | $ 15.5 | $ 11.9
Liability reserve for insurance claims | 46.9 | 48.2 |
Outstanding letters of credit | $ 32.2 |  |
Other Receivable, after Allowance for Credit Loss, Related Party, Type [Extensible Enumeration] | Related Party |  |
Capital expenditures | $ 111.4 | 89.6 | $ 99.0
Capital expenditures | $ 42.7 |  |
Percentage of employees represented in labor union | 12.00% |  |
Number of Railcars Commitment | Railcars | 394 |  |
Woodville |  |  |
Commitments And Contingencies [Line Items] |  |  |
Collective bargaining agreement expiration month year | 2026-06 |  |
Magnesia Specialties |  |  |
Commitments And Contingencies [Line Items] |  |  |
Collective bargaining agreement expiration month year | 2027-08 |  |
South Texas Cement Business |  |  |
Commitments And Contingencies [Line Items] |  |  |
Purchase commitments for property, plant and equipment | $ 50.7 |  |
Interest-only loan receivable | Related Party |  |  |
Commitments And Contingencies [Line Items] |  |  |
Other Receivables |  | 6.0 |
Surety Bonds |  |  |
Commitments And Contingencies [Line Items] |  |  |
Surety bonds | 698.3 |  |
Revolving Facility |  |  |
Commitments And Contingencies [Line Items] |  |  |
Outstanding letters of credit | 2.6 | $ 2.6 |
Capital Addition Purchase Commitments |  |  |
Commitments And Contingencies [Line Items] |  |  |
Purchase commitments for property, plant and equipment | 162.1 |  |
Energy And Service Contracts |  |  |
Commitments And Contingencies [Line Items] |  |  |
Purchase commitments for property, plant and equipment | $ 233.1 |  |

X
- Definition Asset retirement obligation depreciation and accretion. + References No definition available. + Details
Name: | mlm_AssetRetirementObligationDepreciationAndAccretion
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Collective bargaining agreement expiration month year. + References No definition available. + Details
Name: | mlm_CollectiveBargainingAgreementExpirationMonthYear
Namespace Prefix: | mlm_
Data Type: | xbrli:gYearMonthItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commitments and contingencies. + References No definition available. + Details
Name: | mlm_CommitmentsAndContingenciesLineItems
Namespace Prefix: | mlm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of railcars commitment. + References No definition available. + Details
Name: | mlm_NumberOfRailCarsCommitment
Namespace Prefix: | mlm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of employees represented in labor union. + References No definition available. + Details
Name: | mlm_PercentageOfEmployeesRepresentedInLaborUnion
Namespace Prefix: | mlm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Carrying value as of the balance sheet date of obligations incurred through that date and due beyond one year (or beyond one operating cycle if longer) to insurance entities to mitigate potential loss from various risks or to satisfy a promise to provide certain coverages to employees. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.24) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_AccruedInsuranceNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The current carrying amount of the liability for the freestanding or embedded guarantor's obligations under the guarantee or each group of similar guarantees. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-4 + Details
Name: | us-gaap_GuaranteeObligationsCurrentCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References No definition available. + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Minimum amount of other commitment not otherwise specified in the taxonomy. Excludes commitments explicitly modeled in the taxonomy, including but not limited to, long-term and short-term purchase commitments, recorded and unrecorded purchase obligations, supply commitments, registration payment arrangements, leases, debt, product warranties, guarantees, environmental remediation obligations, and pensions. + References No definition available. + Details
Name: | us-gaap_OtherCommitment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Indicates type of related party for receivable, after allowance for credit loss, classified as other. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483326/850-10-50-3 + Details
Name: | us-gaap_OtherReceivableAfterAllowanceForCreditLossRelatedPartyTypeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount due from parties in nontrade transactions, classified as other. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(5)(a)(5)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(3)(a)(4)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_OtherReceivables
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The cash outflow for purchases of and capital improvements on property, plant and equipment (capital expenditures), software, and other intangible assets. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 50 -Name Accounting Standards Codification -Section 25 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480060/805-50-25-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 50 -Name Accounting Standards Codification -Section 30 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480027/805-50-30-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 50 -Name Accounting Standards Codification -Section 30 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480027/805-50-30-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Subparagraph (c) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireProductiveAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the unrecorded obligation to transfer funds in the future for fixed or minimum amounts or quantities of goods or services at fixed or minimum prices (for example, as in take-or-pay contracts or throughput contracts). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 440 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482648/440-10-50-4 + Details
Name: | us-gaap_UnrecordedUnconditionalPurchaseObligationBalanceSheetAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_SubsegmentsAxis=mlm_WoodvilleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=mlm_MagnesiaSpecialtiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_DebtInstrumentAxis=mlm_InterestOnlyLoanReceivableMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_RelatedPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_GuaranteeObligationsByNatureAxis=mlm_SuretyBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis=us-gaap_CapitalAdditionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis=mlm_EnergyAndServiceContractsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |