XML 47 R39.htm IDEA: XBRL DOCUMENT
v3.25.1

Business Combinations and Divestitures - Additional Information (Detail) $ in Millions |  |  |  | 3 Months Ended
--- | --- | --- | --- | ---
Apr. 05, 2024 USD ($) Facility | Feb. 09, 2024 USD ($) Plant | Jan. 12, 2024 | Mar. 31, 2025 USD ($) | Mar. 31, 2024 USD ($)
Business Acquisition [Line Items] |  |  |  |  |
Business combination periods for production level |  |  | 60 years |  |
Revenues |  | $ 2,100 |  |  |
Divestitures number of south texas ready mix operations | Plant |  | 20 |  |  |
Pretax gain |  |  |  |  | $ 1,300
Reduction in goodwill |  |  |  | $ (6) |
Blue Water Industries LLC |  |  |  |  |
Business Acquisition [Line Items] |  |  |  |  |
Number of active aggregates operations | Facility | 20 |  |  |  |
Payments to acquire businesses gross | $ 2,050 |  |  |  |

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, 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 Divestitures number of south texas ready mix operations. + References No definition available. + Details
Name: | mlm_DivestituresNumberOfSouthTexasReadyMixOperations
Namespace Prefix: | mlm_
Data Type: | xbrli:integerItemType
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 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 Amount of increase (decrease) from measurement period adjustment of asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is not individually identified and separately recognized. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 25 -Paragraph 16 -SubTopic 10 -Topic 805 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479405/805-10-25-16 + Details
Name: | us-gaap_GoodwillPurchaseAccountingAdjustments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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
- Details
Name: | us-gaap_BusinessAcquisitionAxis=mlm_BlueWaterIndustriesLlcMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |