XML 157 R124.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Other Nonoperating (Income) and Expenses, Net - Additional Information (Detail) - USD ($) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Component of Other Operating Income and Expense [Line Items] |  |  |
Out of period expenses |  |  | $ 15.7
Other Nonoperating (Income) and Expenses, Net |  |  |
Component of Other Operating Income and Expense [Line Items] |  |  |
Third-party railroad track maintenance expense | $ 7.7 | $ 11.4 |
Reduction in pension expense | $ 19.4 | $ 8.1 |
Out of period expenses |  |  | 15.7
Out of period expense net of tax |  |  | $ 12.0

X
- Definition Component of other operating income and expense. + References No definition available. + Details
Name: | mlm_ComponentOfOtherOperatingIncomeAndExpenseLineItems
Namespace Prefix: | mlm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Out of period expense. + References No definition available. + Details
Name: | mlm_OutOfPeriodExpense
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Out of period expenses net of tax. + References No definition available. + Details
Name: | mlm_OutOfPeriodExpensesNetOfTax
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Third-party railroad track maintenance expenses. + References No definition available. + Details
Name: | mlm_ThirdPartyRailroadTrackMaintenanceExpenses
Namespace Prefix: | mlm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of expense (reversal of expense) for net periodic benefit cost components, excluding service cost component, of defined benefit plan. Amount includes, but is not limited to, interest cost, expected (return) loss on plan asset, amortization of prior service cost (credit), amortization of (gain) loss, amortization of transition (asset) obligation, settlement (gain) loss, curtailment (gain) loss and certain termination benefits. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 715 -SubTopic 20 -Section 45 -Paragraph 3A -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123453770&loc=SL108413299-114919 + Details
Name: | us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_OtherNonoperatingIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |