XML 112 R1.htm IDEA: XBRL DOCUMENT v3.24.1.u1
Cover
12 Months Ended
Dec. 31, 2023
Document Information [Line Items]  
Document Type DEF 14A
Amendment Flag false
Entity Information [Line Items]  
Entity Registrant Name Martin Marietta Materials, Inc.
Entity Central Index Key 0000916076