<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>406</ContextCount>
  <ElementCount>272</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>78</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/StatementCondensedConsolidatedBalanceSheets</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200105 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200200 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/StatementCondensedConsolidatedStatementsOfOperations</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200300 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200400 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/StatementCondensedConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995200405 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/StatementCondensedConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995200500 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995200505 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureBasisOfPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - Landfill and Environmental Remediation Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureLandfillAndEnvironmentalRemediationLiabilities</Role>
      <ShortName>Landfill and Environmental Remediation Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - Segment and Related Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureSegmentAndRelatedInformation</Role>
      <ShortName>Segment and Related Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - Acquisitions and Divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureAcquisitionsAndDivestitures</Role>
      <ShortName>Acquisitions and Divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - (Gain) Loss from Divestitures, Asset Impairments and Unusual Items, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureGainLossFromDivestituresAssetImpairmentsAndUnusualItemsNet</Role>
      <ShortName>(Gain) Loss from Divestitures, Asset Impairments and Unusual Items, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - Common Stock Repurchase Program</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureCommonStockRepurchaseProgram</Role>
      <ShortName>Common Stock Repurchase Program</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995211201 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995211301 - Disclosure - Variable Interest Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureVariableInterestEntities</Role>
      <ShortName>Variable Interest Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>99920102 - Disclosure - Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureBasisOfPresentationPolicies</Role>
      <ShortName>Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>99930203 - Disclosure - Landfill and Environmental Remediation Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureLandfillAndEnvironmentalRemediationLiabilitiesTables</Role>
      <ShortName>Landfill and Environmental Remediation Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureLandfillAndEnvironmentalRemediationLiabilities</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>99930303 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureDebt</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>99930503 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureEarningsPerShare</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - Segment and Related Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureSegmentAndRelatedInformationTables</Role>
      <ShortName>Segment and Related Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureSegmentAndRelatedInformation</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - Acquisitions and Divestitures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureAcquisitionsAndDivestituresTables</Role>
      <ShortName>Acquisitions and Divestitures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureAcquisitionsAndDivestitures</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>99931003 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99931203 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99940101 - Disclosure - Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureBasisOfPresentationDetails</Role>
      <ShortName>Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureBasisOfPresentationPolicies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - Landfill and Environmental Remediation Liabilities - Summary (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureLandfillAndEnvironmentalRemediationLiabilitiesSummaryDetail</Role>
      <ShortName>Landfill and Environmental Remediation Liabilities - Summary (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureLandfillAndEnvironmentalRemediationLiabilitiesTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99940202 - Disclosure - Landfill and Environmental Remediation Liabilities - Changes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureLandfillAndEnvironmentalRemediationLiabilitiesChangesDetail</Role>
      <ShortName>Landfill and Environmental Remediation Liabilities - Changes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureLandfillAndEnvironmentalRemediationLiabilitiesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - Debt - Components (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureDebtComponentsDetail</Role>
      <ShortName>Debt - Components (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99940302 - Disclosure - Debt - Classification and Credit Facilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureDebtClassificationAndCreditFacilitiesDetail</Role>
      <ShortName>Debt - Classification and Credit Facilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99940303 - Disclosure - Debt - Borrowings and Repayments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureDebtBorrowingsAndRepaymentsDetail</Role>
      <ShortName>Debt - Borrowings and Repayments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureIncomeTaxesDetail</Role>
      <ShortName>Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureEarningsPerShareDetail</Role>
      <ShortName>Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureEarningsPerShareTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - Segment and Related Information - Summary (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureSegmentAndRelatedInformationSummaryDetail</Role>
      <ShortName>Segment and Related Information - Summary (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99940702 - Disclosure - Segment and Related Information - Assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureSegmentAndRelatedInformationAssetsDetail</Role>
      <ShortName>Segment and Related Information - Assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99940703 - Disclosure - Segment and Related Information - Revenue mix (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureSegmentAndRelatedInformationRevenueMixDetail</Role>
      <ShortName>Segment and Related Information - Revenue mix (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - Acquisitions and Divestitures (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureAcquisitionsAndDivestituresDetail</Role>
      <ShortName>Acquisitions and Divestitures (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureAcquisitionsAndDivestituresTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99940802 - Disclosure - Acquisitions and Divestitures - Allocation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureAcquisitionsAndDivestituresAllocationDetail</Role>
      <ShortName>Acquisitions and Divestitures - Allocation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940803 - Disclosure - Acquisitions and Divestitures - Intangible Allocation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureAcquisitionsAndDivestituresIntangibleAllocationDetail</Role>
      <ShortName>Acquisitions and Divestitures - Intangible Allocation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - (Gain) Loss from Divestitures, Asset Impairments and Unusual Items, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureGainLossFromDivestituresAssetImpairmentsAndUnusualItemsNetDetails</Role>
      <ShortName>(Gain) Loss from Divestitures, Asset Impairments and Unusual Items, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureGainLossFromDivestituresAssetImpairmentsAndUnusualItemsNet</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossDetail</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureAccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99941101 - Disclosure - Common Stock Repurchase Program - Repurchases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureCommonStockRepurchaseProgramRepurchasesDetail</Role>
      <ShortName>Common Stock Repurchase Program - Repurchases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99941201 - Disclosure - Fair Value Measurements - Recurring (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureFairValueMeasurementsRecurringDetail</Role>
      <ShortName>Fair Value Measurements - Recurring (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99941202 - Disclosure - Fair Value Measurements - Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureFairValueMeasurementsDebtDetail</Role>
      <ShortName>Fair Value Measurements - Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="wm-20250630x10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99941301 - Disclosure - Variable Interest Entities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.wm.com/role/DisclosureVariableInterestEntitiesDetail</Role>
      <ShortName>Variable Interest Entities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.wm.com/role/DisclosureVariableInterestEntities</ParentRole>
      <Position>53</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>wm-20250630.xsd</File>
    <File>wm-20250630_cal.xml</File>
    <File>wm-20250630_def.xml</File>
    <File>wm-20250630_lab.xml</File>
    <File>wm-20250630_pre.xml</File>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="wm-20250630x10q.htm">wm-20250630x10q.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1169">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="12">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
