{
 "version": "2.2",
 "instance": {
  "mlm-20251231.htm": {
   "nsprefix": "mlm",
   "nsuri": "http://martinmarietta.com/20251231",
   "dts": {
    "inline": {
     "local": [
      "mlm-20251231.htm"
     ]
    },
    "schema": {
     "local": [
      "mlm-20251231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/2023/calculation-1.1.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025.xsd",
      "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd"
     ]
    }
   },
   "keyStandard": 66,
   "keyCustom": 14,
   "axisStandard": 6,
   "axisCustom": 0,
   "memberStandard": 10,
   "memberCustom": 9,
   "hidden": {
    "total": 77,
    "http://fasb.org/us-gaap-ebp/2025": 71,
    "http://xbrl.sec.gov/dei/2025": 6
   },
   "contextCount": 88,
   "entityCount": 1,
   "segmentCount": 19,
   "elementCount": 149,
   "unitCount": 3,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap-ebp/2025": 198,
    "http://xbrl.sec.gov/dei/2025": 13
   },
   "report": {
    "R1": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation",
     "longName": "75000 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "C_da9b30d3-05ee-4aa8-bb09-840d60c62f89",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_da9b30d3-05ee-4aa8-bb09-840d60c62f89",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits",
     "longName": "75010 - Statement - Statements of Net Assets Available for Benefits",
     "shortName": "Statements of Net Assets Available for Benefits",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "C_e690a49c-bd34-4f2c-a3be-1bd890a4fc36",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_e690a49c-bd34-4f2c-a3be-1bd890a4fc36",
      "name": "us-gaap-ebp:EmployeeBenefitPlanParticipantContributionReceivable",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
     "longName": "75020 - Statement - Statement of Changes in Net Assets Available for Benefits",
     "shortName": "Statement of Changes in Net Assets Available for Benefits",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R4": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPolicies",
     "longName": "75030 - Disclosure - Accounting Policies",
     "shortName": "Accounting Policies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "4",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R5": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan",
     "longName": "75040 - Disclosure - Description of the Plan",
     "shortName": "Description of the Plan",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "5",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurements",
     "longName": "75050 - Disclosure - Fair Value Measurements",
     "shortName": "Fair Value Measurements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "6",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus1",
     "longName": "75060 - Disclosure - Income Tax Status",
     "shortName": "Income Tax Status",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "7",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactions",
     "longName": "75070 - Disclosure - Exempt Party-in-Interest Transactions",
     "shortName": "Exempt Party-in-Interest Transactions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties",
     "longName": "75080 - Disclosure - Risks and Uncertainties",
     "shortName": "Risks and Uncertainties",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYear1",
     "longName": "75090 - Disclosure - Schedule of Assets (Held at End of Year)",
     "shortName": "Schedule of Assets (Held at End of Year)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "mlm:EmployeeBenefitPlanScheduleOfAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "mlm:EmployeeBenefitPlanScheduleOfAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies",
     "longName": "75100 - Disclosure - Accounting Policies (Policies)",
     "shortName": "Accounting Policies (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "11",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsTables",
     "longName": "75110 - Disclosure - Fair Value Measurements (Tables)",
     "shortName": "Fair Value Measurements (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "12",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearTables",
     "longName": "75120 - Disclosure - Schedule of Assets (Held at End of Year) (Tables)",
     "shortName": "Schedule of Assets (Held at End of Year) (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "13",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "mlm:EmployeeBenefitPlanScheduleOfAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "mlm:EmployeeBenefitPlanScheduleOfAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
     "longName": "75130 - Disclosure - Description of the Plan - Additional Information (Details)",
     "shortName": "Description of the Plan - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "14",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanEmployerContributionMatchingPercentage",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanEmployerContributionMatchingPercentage",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanDescriptionOfPlanTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
     "longName": "75140 - Disclosure - Fair Value Measurements - Schedule of Fair Value Hierarchy of Plan's Assets and Estimated Fair Value of Plan's Investment Funds (Details)",
     "shortName": "Fair Value Measurements - Schedule of Fair Value Hierarchy of Plan's Assets and Estimated Fair Value of Plan's Investment Funds (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "15",
     "firstAnchor": {
      "contextRef": "C_e690a49c-bd34-4f2c-a3be-1bd890a4fc36",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_6824d645-8803-49e2-b922-8aab16d6f37b",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
       "div",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "unique": true
     }
    },
    "R16": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusAdditionalInformationDetails",
     "longName": "75150 - Disclosure - Income Tax Status - Additional Information (Details)",
     "shortName": "Income Tax Status - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "16",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxDeterminationLetterDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxDeterminationLetterDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails",
     "longName": "75160 - Disclosure - Exempt Party-in-Interest Transactions (Details)",
     "shortName": "Exempt Party-in-Interest Transactions (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "17",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_894ca9d1-75c2-466d-92eb-838c579f405e",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "unique": true
     }
    },
    "R18": {
     "role": "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
     "longName": "75170 - Disclosure - Schedule of Assets (Held at End of Year) (Details)",
     "shortName": "Schedule of Assets (Held at End of Year) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "18",
     "firstAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "dei:EntityTaxIdentificationNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
       "div",
       "mlm:EmployeeBenefitPlanScheduleOfAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_43b71567-e913-49f4-b48a-f0e1f17642d8",
      "name": "dei:EntityTaxIdentificationNumber",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
       "div",
       "mlm:EmployeeBenefitPlanScheduleOfAssetsTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "mlm-20251231.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "mlm_BlackRockEquityIndexFundJMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "BlackRockEquityIndexFundJMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BlackRock Equity Index Fund J [Member]",
        "documentation": "BlackRock Equity Index Fund J.",
        "terseLabel": "BlackRock Equity Index Fund J"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_BlackRockLifePathPortfoliosClassOMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "BlackRockLifePathPortfoliosClassOMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BlackRock LifePath Portfolios Class O [Member]",
        "documentation": "BlackRock LifePath Portfolios Class O.",
        "terseLabel": "BlackRock LifePath Portfolios Class O"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_BlackRockMidCapEquityIndexFundMMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "BlackRockMidCapEquityIndexFundMMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BlackRock Mid Cap Equity Index Fund M [Member]",
        "documentation": "BlackRock Mid Cap Equity Index Fund M.",
        "terseLabel": "BlackRock Mid Cap Equity Index Fund M"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_BlackRockRussell2000IndexFundMMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "BlackRockRussell2000IndexFundMMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BlackRock Russell 2000 Index Fund M [Member]",
        "documentation": "BlackRock Russell 2000 Index Fund M.",
        "terseLabel": "BlackRock Russell 2000 Index Fund M"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_BlackRockUSDebtIndexFundMMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "BlackRockUSDebtIndexFundMMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "BlackRock US Debt Index Fund M [Member]",
        "documentation": "BlackRock US Debt Index Fund M.",
        "terseLabel": "BlackRock US Debt Index Fund M"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_CollectiveTrustFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "CollectiveTrustFundMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collective Trust Fund [Member]",
        "documentation": "Collective trust fund.",
        "terseLabel": "Collective Trust Fund"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DefinedBenefitPlanCommonCollectiveTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanCommonCollectiveTrustMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Collective Trust [Member]",
        "terseLabel": "Collective Trust Funds"
       }
      }
     },
     "auth_ref": [
      "r105",
      "r114",
      "r117",
      "r124"
     ]
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3. 1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentInformationLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentInformationTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Table]",
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EBP006Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EBP006Member",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactions",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurements",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsTables",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYear1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearTables",
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP 006 [Member]",
        "documentation": "EBP 006.",
        "terseLabel": "EBP 006"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EBP56-1848578006Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EBP56-1848578006Member",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP 56-1848578 006 [Member]",
        "documentation": "EBP 56-1848578 006.",
        "terseLabel": "EBP 56-1848578 006"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccountingPolicyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy, Accounting Standard Update, and Change in Accounting Principle [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccountingPolicyLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r168",
      "r175"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccountingPolicyTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy [Table]",
        "documentation": "Disclosure of information about accounting policy for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r168",
      "r175"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetAbstract",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestment",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment",
        "totalLabel": "Employee Benefit Plan, Asset Held for Investment",
        "documentation": "Amount of total assets in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, current value of investment, participant loan, and plan interest in master trust."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r135"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value",
        "terseLabel": "Employee benefit plan, asset held for investment, excluding plan interest in master trust, current value",
        "documentation": "Current value of investment, excluding plan interest in master trust, in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration]",
        "documentation": "Indicates status of participation by participant for investment, excluding plan interest in master trust, in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, after Deemed Distribution",
        "documentation": "Amount, after deemed distribution, of participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPartyInInterest": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentPartyInInterest",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Party-in-Interest [true false]",
        "documentation": "Indicates (true false) whether asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) was transacted with party-in-interest."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r137"
     ]
    },
    "mlm_EmployeeBenefitPlanAssetsTransferredIntoThePlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanAssetsTransferredIntoThePlan",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Assets Transferred into the Plan",
        "documentation": "Employee benefit plan assets transferred into the Plan.",
        "terseLabel": "Employee benefit blan assets transferred into the Plan"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Basis of Accounting [Policy Text Block]",
        "terseLabel": "Basis of Accounting",
        "documentation": "Disclosure of accounting policy for basis of accounting used to prepare financial statements of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r168",
      "r175"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease",
     "crdr": "credit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease",
        "totalLabel": "Total deductions",
        "documentation": "Amount of decrease in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r134"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease [Abstract]",
        "terseLabel": "Deductions from net assets attributed to:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense",
     "crdr": "credit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Administrative Expense",
        "terseLabel": "Administrative expenses",
        "verboseLabel": "Employee benefit plan, administrative expenses",
        "documentation": "Amount of decrease in net asset available for benefit from administrative expense incurred by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r86",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant",
     "crdr": "credit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Payment to Participant",
        "terseLabel": "Benefits paid to participants",
        "documentation": "Amount of decrease in net asset available for benefit from payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, withdrawal."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r81",
      "r86",
      "r95",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease)",
        "totalLabel": "Net change",
        "documentation": "Amount of increase (decrease) in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r86",
      "r125",
      "r178"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Gain (Loss) on Investment",
        "totalLabel": "Employee Benefit Plan, Change in Net Asset Available for Benefit, Increase (Decrease) from Gain (Loss) on Investment, Total",
        "terseLabel": "Net appreciation in fair value of investments",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from realized and unrealized gain (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r52",
      "r97",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment",
        "totalLabel": "Investment income, Total",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from income (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment [Abstract]",
        "terseLabel": "Investment income:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution",
        "totalLabel": "Total contributions",
        "documentation": "Amount of increase in net asset available for benefit from contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r134"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution [Abstract]",
        "terseLabel": "Contributions:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Dividend Income on Investment",
        "terseLabel": "Employee benefit plan, change in net asset available for benefit, increase from dividend income on investment",
        "documentation": "Amount of increase in net asset available for benefit from dividend income on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r125",
      "r163",
      "r182"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Martin Marietta Materials, Inc.",
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Employer Contribution, Cash and Noncash",
        "totalLabel": "Employee Benefit Plan, Change in Net Asset Available for Benefit, Increase from Employer Contribution, Cash and Noncash, Total",
        "documentation": "Amount of increase in net asset available for benefit from cash and noncash contributions from employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r79",
      "r80",
      "r86",
      "r164",
      "r180"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment",
        "totalLabel": "Employee Benefit Plan, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment, Total",
        "terseLabel": "Interest and dividend income",
        "documentation": "Amount of increase in net asset available for benefit from interest and dividend income on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r98"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestIncomeOnNoteReceivableFromParticipant",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest Income on Note Receivable from Participant",
        "terseLabel": "Interest on notes receivable from participants",
        "documentation": "Amount of increase in net asset available for benefit from interest income on note receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r134"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Excluding Rollover",
        "terseLabel": "Employees",
        "documentation": "Amount, excluding rollover, of increase in net asset available for benefit from contribution by participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r129",
      "r130",
      "r131",
      "r172",
      "r173"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Rollover",
        "terseLabel": "Rollovers",
        "documentation": "Amount of increase in net asset available for benefit from contribution transferred from another qualified plan or from individual retirement account of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Excludes contribution for participant transmitted by employer of participant in EBP."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r129",
      "r130",
      "r131",
      "r172",
      "r173"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitTransferToFromExternalPlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitTransferToFromExternalPlan",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Transfer to (from) Plan",
        "terseLabel": "Transfer from other plan due to merger",
        "documentation": "Amount of net asset available for benefit transferred to (from) employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) from (to) external plan."
       }
      }
     },
     "auth_ref": [
      "r55",
      "r125",
      "r134",
      "r165"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan and Accounting Change [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Table]",
        "documentation": "Disclosure of information about description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r132"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Text Block]",
        "terseLabel": "Description of the Plan",
        "documentation": "The entire disclosure for description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, vesting and allocation provisions and disposition of forfeiture."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r3",
      "r4",
      "r56",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanEmployerCommonStockFundMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer, Common Stock Fund [Member]",
        "terseLabel": "Martin Marietta Materials, Inc. Common Stock",
        "documentation": "Fund with common stock issued by employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r109",
      "r162",
      "r169",
      "r171",
      "r179",
      "r183",
      "r184"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanEmployerCommonStockMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer, Common Stock [Member]",
        "terseLabel": "Common Stock",
        "documentation": "Common stock issued by employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r109",
      "r162",
      "r169",
      "r170",
      "r171",
      "r179",
      "r183",
      "r184"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionMatchingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanEmployerContributionMatchingPercentage",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer Contribution, Matching Percentage",
        "terseLabel": "Employee benefit plan, employer contribution, matching percentage",
        "documentation": "Percentage of employer matching contribution on eligible participant contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "mlm_EmployeeBenefitPlanEmployerContributionMatchingPercentageOnSecondBasicContribution": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanEmployerContributionMatchingPercentageOnSecondBasicContribution",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Employer Contribution Matching Percentage on Second Basic Contribution",
        "documentation": "Employee Benefit Plan Employer Contribution Matching Percentage on Second Basic Contribution",
        "terseLabel": "Employee benefit plan employer contribution matching percentage on second basic contribution"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentage",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer Contribution, Participant Compensation Matched, Percentage",
        "terseLabel": "Employee benefit plan, employer contribution, participant compensation matched, percentage",
        "documentation": "Percentage of participant compensation eligible for employer matching contribution for participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "mlm_EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentageSecondBasicContribution": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanEmployerContributionParticipantCompensationMatchedPercentageSecondBasicContribution",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Employer Contribution Participant Compensation Matched Percentage Second Basic Contribution",
        "documentation": "Employee Benefit Plan Employer Contribution Participant Compensation Matched Percentage Second Basic Contribution",
        "terseLabel": "Employee benefit plan employer contribution participant compensation matched percentage second basic contribution"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanEmployerContributionReceivable",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanReceivable",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer Contribution, Receivable",
        "terseLabel": "Martin Marietta Materials, Inc. contributions",
        "documentation": "Amount of contribution receivable from employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r87",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanExpensePolicyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Expense [Policy Text Block]",
        "terseLabel": "Administrative Expenses",
        "documentation": "Disclosure of accounting policy for expense incurred by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentAcquiredExcludingPlanInterestInMasterTrustCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentAcquiredExcludingPlanInterestInMasterTrustCost",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment Acquired, Excluding Plan Interest in Master Trust, Cost",
        "terseLabel": "Employee benefit plan, investment acquired, excluding plan interest in master trust, cost",
        "documentation": "Cost of investment, excluding plan interest in master trust, acquired by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r146",
      "r153",
      "r159"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Excluding Plan Interest in Master Trust, Fair Value",
        "periodStartLabel": "Employee Benefit Plan, Investment, Excluding Plan Interest in Master Trust, Fair Value, Beginning Balance",
        "periodEndLabel": "Investments at fair value",
        "terseLabel": "Investments at fair value",
        "documentation": "Fair value of investment, excluding plan interest in master trust, held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract not meeting fully-benefit responsive investment criteria."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r16",
      "r17",
      "r24",
      "r25",
      "r27",
      "r28",
      "r34",
      "r35",
      "r37",
      "r90",
      "r103",
      "r104",
      "r105",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurements",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r58",
      "r77",
      "r103",
      "r104",
      "r105",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurements",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Table]",
        "documentation": "Disclosure of information about fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r58",
      "r77",
      "r93",
      "r103",
      "r104",
      "r105",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Table Text Block]",
        "terseLabel": "Schedule of Fair Value Hierarchy of Plan's Assets and Estimated Fair Value of Plan's Investment Funds",
        "documentation": "Tabular disclosure of fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r33",
      "r35",
      "r36",
      "r44",
      "r125",
      "r176",
      "r177",
      "r181"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Text Block]",
        "terseLabel": "Fair Value Measurements",
        "documentation": "The entire disclosure for fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r29",
      "r31",
      "r32",
      "r34",
      "r35",
      "r37",
      "r40",
      "r41",
      "r42",
      "r43",
      "r58",
      "r77",
      "r78",
      "r90",
      "r91",
      "r125",
      "r128"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Issuer Name [Extensible Enumeration]",
        "documentation": "Indicates name of issuer of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r137",
      "r142",
      "r149"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentNumberOfShares",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Number of Shares",
        "terseLabel": "Number of shares held",
        "documentation": "Number of shares or units of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r84",
      "r138",
      "r143",
      "r146",
      "r147",
      "r150"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentPolicyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment [Policy Text Block]",
        "terseLabel": "Investment Valuation and Income Recognition",
        "documentation": "Disclosure of accounting policy for investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r89",
      "r93",
      "r94",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Current Value, Type [Extensible Enumeration]",
        "documentation": "Indicates type of investment at current value held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r137",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNetAssetAvailableForBenefit",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Net Asset Available for Benefit",
        "totalLabel": "Net assets available for benefits",
        "periodStartLabel": "Beginning of year",
        "periodEndLabel": "End of year",
        "documentation": "Amount of asset less liability available to pay benefit of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, aggregation of participants' individual account balances."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r51",
      "r71",
      "r82",
      "r83",
      "r92",
      "r101",
      "r125",
      "r126",
      "r174"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNetAssetAvailableForBenefitAbstract",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Net Asset Available for Benefit [Abstract]",
        "terseLabel": "Net assets available for benefits:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipant",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanReceivable",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant",
        "terseLabel": "Notes receivable from participants",
        "documentation": "Amount of unpaid principal plus accrued but unpaid interest for loan from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r88",
      "r125",
      "r174"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Maximum Borrowing, Amount",
        "terseLabel": "Employee benefit plan, note receivable from participant, account, maximum borrowing, amount",
        "documentation": "Amount of maximum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Maximum Borrowing, to Total Account, Percentage",
        "terseLabel": "Employee benefit plan, note receivable from participant, account, maximum borrowing, to total account, percentage",
        "documentation": "Percentage of maximum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow to total participant account balance."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Minimum Borrowing, Amount",
        "terseLabel": "Employee benefit plan, note receivable from participant, account, minimum borrowing, amount",
        "documentation": "Amount of minimum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant [Policy Text Block]",
        "terseLabel": "Notes Receivable from Participants",
        "documentation": "Disclosure of accounting policy for note receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "mlm_EmployeeBenefitPlanNotesReceivableFromParticipantsPersonalLoanTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanNotesReceivableFromParticipantsPersonalLoanTerm",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Notes Receivable From Participants Personal LoanTerm",
        "documentation": "Employee Benefit Plan Notes Receivable From Participants Personal LoanTerm",
        "terseLabel": "Employee benefit plan, notes receivable from participants personal loan term"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanNotesReceivableFromParticipantsPrimaryResidenceLoanTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanNotesReceivableFromParticipantsPrimaryResidenceLoanTerm",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Notes Receivable From Participants Primary Residence Loan Term",
        "documentation": "Employee Benefit Plan Notes Receivable From Participants Primary Residence Loan Term",
        "terseLabel": "Employee benefit plan, notes receivable from participants primary residence loan term"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanNotesReceivableFromParticipantsReutersPrimeRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanNotesReceivableFromParticipantsReutersPrimeRate",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Employee benefit plan, notes receivable from participants reuters prime rate",
        "label": "Employee Benefit Plan Notes Receivable From Participants Reuters Prime Rate",
        "documentation": "Employee Benefit Plan Notes Receivable From Participants Reuters Prime Rate"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanParticipantContributionAdjustmentPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantContributionAdjustmentPercentage",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan, Participant Contribution Adjustment Percentage",
        "documentation": "Employee Benefit Plan, Participant Contribution Adjustment Percentage",
        "terseLabel": "Employee benefit plan, participant contribution adjustment percentage"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanParticipantContributionAfterTaxPercentageOfBasePay": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantContributionAfterTaxPercentageOfBasePay",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan, Participant Contribution After Tax Percentage of Base Pay",
        "documentation": "Employee Benefit Plan, Participant Contribution After Tax Percentage of Base Pay",
        "terseLabel": "Employee benefit plan, participant contribution after tax percentage of base pay"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanParticipantContributionAnnualAutomaticIncreaseInDeferralRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantContributionAnnualAutomaticIncreaseInDeferralRate",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Contribution Annual Automatic Increase in Deferral Rate",
        "documentation": "Employee Benefit Plan Participant Contribution Annual Automatic Increase in Deferral Rate",
        "terseLabel": "Employee benefit plan participant contribution annual automatic increase in deferral rate"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantContributionAutomaticDeferralRate",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant Contribution, Automatic, Deferral Rate",
        "terseLabel": "Employee benefit plan, participant contribution, automatic, deferral rate",
        "documentation": "Percentage of eligible compensation contributed for participant automatically enrolled in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "mlm_EmployeeBenefitPlanParticipantContributionAutomaticDeferralRateLimitPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantContributionAutomaticDeferralRateLimitPercentage",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Contribution Automatic Deferral Rate Limit Percentage",
        "documentation": "Employee Benefit Plan Participant Contribution Automatic Deferral Rate Limit Percentage",
        "terseLabel": "Employee benefit plan participant contribution automatic deferral rate limit percentage"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanParticipantContributionBeforeAndAfterTaxPercentageOfBasePay": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantContributionBeforeAndAfterTaxPercentageOfBasePay",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan, Participant Contribution Before and After tax Percentage of Base Pay",
        "documentation": "Employee Benefit Plan, Participant Contribution Before and After tax Percentage of Base Pay",
        "terseLabel": "Employee benefit plan, participant contribution before and after tax percentage of base pay"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationAmount",
     "crdr": "debit",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant Contribution, Pretax, Maximum Annual Compensation, Amount",
        "terseLabel": "Employee benefit plan, participant contribution, pretax, maximum annual compensation, amount",
        "documentation": "Amount of maximum pretax annual compensation that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), is permitted to contribute."
       }
      }
     },
     "auth_ref": [
      "r166"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant Contribution, Pretax, Maximum Annual Compensation to Total Compensation, Percentage",
        "terseLabel": "Employee benefit plan, participant contribution, pretax, maximum annual compensation to total compensation, percentage",
        "documentation": "Percentage of maximum pretax annual compensation that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), is permitted to contribute to total pretax annual compensation."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantContributionReceivable",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanReceivable",
       "weight": 1.0,
       "order": 0.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee contributions",
        "terseLabel": "Employee contributions",
        "documentation": "Amount of contribution receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r85",
      "r87",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantLoanInterestRate",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, Interest Rate",
        "terseLabel": "Employee benefit plan, asset held for investment, participant loan, interest rate",
        "documentation": "Interest rate on participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantLoanMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantLoanMaturityDate",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, Maturity Date",
        "terseLabel": "Employee benefit plan, asset held for investment, participant loan, maturity date",
        "documentation": "Maturity date of participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Payment to Participant [Policy Text Block]",
        "terseLabel": "Payments of Benefits",
        "documentation": "Disclosure of accounting policy for payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanPlanNumber": {
     "xbrltype": "threeDigitItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanPlanNumber",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Plan Number",
        "documentation": "Plan number of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in three-digit numeric format."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r134",
      "r135",
      "r141",
      "r146",
      "r147",
      "r148",
      "r156",
      "r174"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReceivable",
     "crdr": "debit",
     "calculation": {
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Receivable",
        "totalLabel": "Receivables, Total",
        "documentation": "Amount of receivable of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r174"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReceivableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReceivableAbstract",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Receivable [Abstract]",
        "terseLabel": "Receivables:"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanRedemptionNoticePeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanRedemptionNoticePeriod",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Redemption Notice Period",
        "documentation": "Employee benefit plan redemption notice period.",
        "terseLabel": "Redemption Notice Period"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestAxis",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest [Axis]",
        "documentation": "Information by related party and party-in-interest to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r67",
      "r68",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestDomain",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest [Domain]",
        "documentation": "Related party and party-in-interest to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r67",
      "r68",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactions",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Line Items]",
        "terseLabel": "Employee Benefit Plan, Related Party and Party-in-Interest Transactions [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r168",
      "r175"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactions",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Table]",
        "documentation": "Disclosure of information about related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r168",
      "r175"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Text Block]",
        "terseLabel": "Exempt Party-in-Interest Transactions",
        "documentation": "The entire disclosure for related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r47",
      "r48",
      "r49",
      "r50",
      "r125"
     ]
    },
    "mlm_EmployeeBenefitPlanRiskAndUncertaintyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanRiskAndUncertaintyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Risk And Uncertainty Abstract",
        "documentation": "Employee Benefit Plan Risk And Uncertainty Abstract"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanRiskAndUncertaintyLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanRiskAndUncertaintyLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee Benefit Plan Risk And Uncertainty LineItems",
        "label": "Employee Benefit Plan Risk And Uncertainty [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_EmployeeBenefitPlanRiskAndUncertaintyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanRiskAndUncertaintyTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Risk And Uncertainty Table",
        "documentation": "Employee Benefit Plan Risk And Uncertainty Table"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanRiskAndUncertaintyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRiskAndUncertaintyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Text Block]",
        "terseLabel": "Risks and Uncertainties",
        "documentation": "The entire disclosure for risk and uncertainty of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, concentration risk."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r11",
      "r13",
      "r45",
      "r46",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYear1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r137",
      "r138",
      "r139",
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYear1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Table]",
        "documentation": "Disclosure of information about schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r84",
      "r137",
      "r138",
      "r139",
      "r140"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Assets",
        "terseLabel": "Schedule of Assets (Held at End of Year)",
        "documentation": "Tabular disclosure of schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r136"
     ]
    },
    "mlm_EmployeeBenefitPlanScheduleOfAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlanScheduleOfAssetsTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYear1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Schedule Of Assets [Text Block]",
        "documentation": "Employee Benefit Plan Schedule Of Assets [Text Block]",
        "terseLabel": "Schedule of Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r75",
      "r76",
      "r92"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about change in net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r74",
      "r75",
      "r76",
      "r92"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r61",
      "r62",
      "r63",
      "r64",
      "r65",
      "r66",
      "r67",
      "r68",
      "r69",
      "r70",
      "r90",
      "r92",
      "r103",
      "r104",
      "r105",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r61",
      "r62",
      "r63",
      "r64",
      "r65",
      "r66",
      "r67",
      "r68",
      "r69",
      "r70",
      "r90",
      "r92",
      "r103",
      "r104",
      "r105",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanSubsequentEventPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanSubsequentEventPolicyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Subsequent Event [Policy Text Block]",
        "terseLabel": "Subsequent Events",
        "documentation": "Disclosure of accounting policy for reporting subsequent event in financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanSummaryOfAccountingPolicyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Summary of Accounting Policy [Text Block]",
        "terseLabel": "Accounting Policies",
        "documentation": "The entire disclosure for summary of accounting policy used to prepare financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r3",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxDeterminationLetterDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxDeterminationLetterDate",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Determination Letter, Date",
        "terseLabel": "Tax determination letter, date",
        "documentation": "Date of tax determination letter for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxDeterminationLetterObtained": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxDeterminationLetterObtained",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Determination Letter, Obtained",
        "terseLabel": "Tax determination letter, obtained",
        "documentation": "Indicates (true false) whether tax determination letter was obtained by employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r57",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusLineItems",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Line Items]",
        "documentation": "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."
       }
      }
     },
     "auth_ref": [
      "r167"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusTable",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Table]",
        "documentation": "Disclosure of information about tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r167"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus1"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Status",
        "terseLabel": "Income Tax Status",
        "documentation": "The entire disclosure for tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r57",
      "r60",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTrusteeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTrusteeMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Trustee [Member]",
        "terseLabel": "Employee Benefit Plan Trustee",
        "documentation": "Party with legal obligation to administer employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) for benefit of participant."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r125"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanUseOfEstimatePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanUseOfEstimatePolicyTextBlock",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Use of Estimate [Policy Text Block]",
        "terseLabel": "Use of Estimates",
        "documentation": "Disclosure of accounting policy for use of estimate in preparation of financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r5",
      "r6",
      "r8",
      "r9",
      "r10",
      "r12",
      "r125"
     ]
    },
    "mlm_EmployeeBenefitPlansVestingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "EmployeeBenefitPlansVestingPercentage",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plans Vesting Percentage",
        "documentation": "Employee Benefit Plans Vesting Percentage",
        "terseLabel": "Employee benefit plans vesting percentage"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r127"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityDomain",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactions",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurements",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsTables",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYear1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearTables",
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r127"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Tax Identification Number",
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS."
       }
      }
     },
     "auth_ref": [
      "r127"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r91",
      "r125"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r34",
      "r113",
      "r125"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r34",
      "r113",
      "r125"
     ]
    },
    "us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasuredAtNetAssetValuePerShareMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measured at Net Asset Value Per Share [Member]",
        "terseLabel": "Fair Value Measured at Net Asset Value Per Share"
       }
      }
     },
     "auth_ref": [
      "r37",
      "r113"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "auth_ref": [
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r91",
      "r125"
     ]
    },
    "mlm_GalliardStableReturnFundEMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "GalliardStableReturnFundEMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Galliard Stable Return Fund E [Member]",
        "documentation": "Galliard Stable Return Fund E.",
        "terseLabel": "Galliard Stable Return Fund E"
       }
      }
     },
     "auth_ref": []
    },
    "mlm_HarborCapitalAppreciationRMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "HarborCapitalAppreciationRMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Harbor Capital Appreciation R [Member]",
        "documentation": "Harbor Capital Appreciation R.",
        "terseLabel": "Harbor Capital Appreciation R"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIdentifierAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIdentifierAxis",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Identifier [Axis]"
       }
      }
     },
     "auth_ref": [
      "r84",
      "r137",
      "r138",
      "r139",
      "r140",
      "r142",
      "r143",
      "r144",
      "r145",
      "r146",
      "r147",
      "r149",
      "r150",
      "r151",
      "r152",
      "r153",
      "r154",
      "r155",
      "r157",
      "r158",
      "r159",
      "r160",
      "r161"
     ]
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Type [Axis]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r19",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r58",
      "r61",
      "r62",
      "r63",
      "r64",
      "r65",
      "r66",
      "r72",
      "r74",
      "r75",
      "r76",
      "r77",
      "r84",
      "r90",
      "r96",
      "r99",
      "r100",
      "r102",
      "r103",
      "r104",
      "r105",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r125",
      "r126",
      "r140",
      "r162",
      "r174"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Domain]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r19",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r34",
      "r35",
      "r37",
      "r38",
      "r39",
      "r40",
      "r41",
      "r42",
      "r43",
      "r58",
      "r61",
      "r62",
      "r63",
      "r64",
      "r65",
      "r66",
      "r72",
      "r74",
      "r75",
      "r76",
      "r77",
      "r84",
      "r90",
      "r96",
      "r99",
      "r100",
      "r102",
      "r103",
      "r104",
      "r105",
      "r106",
      "r107",
      "r108",
      "r109",
      "r110",
      "r111",
      "r112",
      "r115",
      "r116",
      "r117",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r125",
      "r126",
      "r140",
      "r162",
      "r174"
     ]
    },
    "mlm_InvestmentsMeasuredAtNetAssetValueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://martinmarietta.com/20251231",
     "localname": "InvestmentsMeasuredAtNetAssetValueMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments Measured at Net Asset Value [Member]",
        "documentation": "Investments Measured at Net Asset Value.",
        "terseLabel": "Investments Measured at Net Asset Value"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureAccountingPoliciesPolicies",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlan",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactions",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureExemptPartyininterestTransactionsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurements",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsTables",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatus1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureIncomeTaxStatusAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureRisksAndUncertainties",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYear1",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearTables",
      "http://martinmarietta.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementOfChangesInNetAssetsAvailableForBenefits",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MaximumMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r125",
      "r133",
      "r140"
     ]
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MinimumMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r125",
      "r133",
      "r140"
     ]
    },
    "us-gaap_MutualFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MutualFundMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureFairValueMeasurementsScheduleOfFairValueHierarchyOfPlansAssetsAndEstimatedFairValueOfPlansInvestmentFundsDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/StatementStatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mutual Fund [Member]",
        "terseLabel": "Mutual Funds"
       }
      }
     },
     "auth_ref": [
      "r103",
      "r114",
      "r115",
      "r124",
      "r125",
      "r126"
     ]
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeAxis",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r125",
      "r133",
      "r140"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeMember",
     "presentation": [
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAdditionalInformationDetails",
      "http://martinmarietta.com/20251231/taxonomy/role/DisclosureScheduleOfAssetsHeldAtEndOfYearDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r31",
      "r125",
      "r133",
      "r140"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-5"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "6",
   "Subparagraph": "(SAB Topic 11.M)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480530/250-10-S99-6"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-12"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-2A"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-4"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-6"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-8"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "20",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-20"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-2"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-8"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r63": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r64": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r65": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r66": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r67": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r68": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r69": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r70": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r71": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r72": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r73": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r74": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r75": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r76": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r77": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r78": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r79": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r80": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r81": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(5)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r82": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r83": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r84": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r85": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r86": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r87": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478642/962-310-45-1"
  },
  "r88": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478642/962-310-45-2"
  },
  "r89": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478844/962-325-35-1B"
  },
  "r90": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r91": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r92": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r93": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r94": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2A"
  },
  "r95": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r96": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r97": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r98": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r99": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r100": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r101": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479750/962-40-25-1"
  },
  "r102": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4L",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4L"
  },
  "r103": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-17"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-18"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-23"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r132": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r133": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r134": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r135": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r136": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r137": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r138": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r139": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r140": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r141": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)",
   "Publisher": "DOL-EBSA"
  },
  "r142": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r143": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r144": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r145": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r146": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "DOL-EBSA"
  },
  "r147": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(4)",
   "Publisher": "DOL-EBSA"
  },
  "r148": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r149": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r150": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r151": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(iii)",
   "Publisher": "DOL-EBSA"
  },
  "r152": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(iv)",
   "Publisher": "DOL-EBSA"
  },
  "r153": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(v)",
   "Publisher": "DOL-EBSA"
  },
  "r154": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(vi)",
   "Publisher": "DOL-EBSA"
  },
  "r155": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(vii)",
   "Publisher": "DOL-EBSA"
  },
  "r156": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)",
   "Publisher": "DOL-EBSA"
  },
  "r157": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r158": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r159": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(iii)",
   "Publisher": "DOL-EBSA"
  },
  "r160": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(iv)",
   "Publisher": "DOL-EBSA"
  },
  "r161": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(v)",
   "Publisher": "DOL-EBSA"
  },
  "r162": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r163": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r164": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r165": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r166": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r167": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r168": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r169": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r170": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r171": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r172": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r173": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r174": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r175": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479143/962-235-S50-1"
  },
  "r176": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r177": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r178": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r179": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r180": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r181": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r182": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r183": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r184": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  }
 }
}
