<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019ef638-e647-7ae5-9f83-b59b392bd179,g:f929715f-af01-4a89-99a6-9cfa8c3286c8-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://coreandmain.com/role/Cover" xlink:type="simple" xlink:href="cnm-20260802.xsd#Cover"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/Cover" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitiesTable_019ef638-e6e5-78d5-846d-a20c1062cc82" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntitiesTable_019ef638-e6e5-78d5-846d-a20c1062cc82" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-779c-a857-1bbccfbc8165" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_019ef638-e6e5-78d5-846d-a20c1062cc82" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-779c-a857-1bbccfbc8165" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-779c-a857-1bbccfbc8165_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-779c-a857-1bbccfbc8165" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-779c-a857-1bbccfbc8165_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7183-958e-0a33aa6aba7f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-779c-a857-1bbccfbc8165" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7183-958e-0a33aa6aba7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_019ef638-e6e5-7b75-a8c4-49062e6d8d35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7183-958e-0a33aa6aba7f" xlink:to="loc_us-gaap_CommonClassAMember_019ef638-e6e5-7b75-a8c4-49062e6d8d35" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_019ef638-e6e5-7031-bbb2-d6f29ba1133a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7183-958e-0a33aa6aba7f" xlink:to="loc_us-gaap_CommonClassBMember_019ef638-e6e5-7031-bbb2-d6f29ba1133a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_019ef638-e6e5-70af-a9c1-7bde9c43c092" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_DocumentType_019ef638-e6e5-70af-a9c1-7bde9c43c092" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentQuarterlyReport_019ef638-e6e5-7327-bc0e-c4ca24898dbd" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentQuarterlyReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_DocumentQuarterlyReport_019ef638-e6e5-7327-bc0e-c4ca24898dbd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_019ef638-e6e5-71eb-bd66-4fde78e692d4" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_DocumentPeriodEndDate_019ef638-e6e5-71eb-bd66-4fde78e692d4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_019ef638-e6e5-74ba-a4db-fe35f8ad4c03" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_DocumentTransitionReport_019ef638-e6e5-74ba-a4db-fe35f8ad4c03" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_019ef638-e6e5-7585-ba23-ab9fc3def250" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityFileNumber_019ef638-e6e5-7585-ba23-ab9fc3def250" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_019ef638-e6e5-70f3-9e95-16ea0df7e91a" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityRegistrantName_019ef638-e6e5-70f3-9e95-16ea0df7e91a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_019ef638-e6e5-7e22-b061-b0976f108645" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityIncorporationStateCountryCode_019ef638-e6e5-7e22-b061-b0976f108645" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_019ef638-e6e5-7b27-b56d-d374ea99a58c" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityTaxIdentificationNumber_019ef638-e6e5-7b27-b56d-d374ea99a58c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_019ef638-e6e5-7b0e-a6a8-65c12360d682" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityAddressAddressLine1_019ef638-e6e5-7b0e-a6a8-65c12360d682" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_019ef638-e6e5-784c-9ea5-d5775554765c" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityAddressCityOrTown_019ef638-e6e5-784c-9ea5-d5775554765c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_019ef638-e6e5-7362-8215-f0a70267f629" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityAddressStateOrProvince_019ef638-e6e5-7362-8215-f0a70267f629" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_019ef638-e6e5-7ccf-8604-c554e73ccbcc" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityAddressPostalZipCode_019ef638-e6e5-7ccf-8604-c554e73ccbcc" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_019ef638-e6e5-7dfe-ab22-bef4284edf56" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_CityAreaCode_019ef638-e6e5-7dfe-ab22-bef4284edf56" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_019ef638-e6e5-77fd-81e0-4967580d0efd" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_LocalPhoneNumber_019ef638-e6e5-77fd-81e0-4967580d0efd" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_019ef638-e6e5-7d92-bb25-1379b9f0c876" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_Security12bTitle_019ef638-e6e5-7d92-bb25-1379b9f0c876" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_019ef638-e6e5-72c4-98d3-d71818745fd4" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_TradingSymbol_019ef638-e6e5-72c4-98d3-d71818745fd4" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_019ef638-e6e5-73f6-9d35-3eb4ccf3cfc4" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_SecurityExchangeName_019ef638-e6e5-73f6-9d35-3eb4ccf3cfc4" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_019ef638-e6e5-7e72-877a-b3fcf5b5ec69" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityCurrentReportingStatus_019ef638-e6e5-7e72-877a-b3fcf5b5ec69" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_019ef638-e6e5-779d-b2ab-74651b3609a3" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityInteractiveDataCurrent_019ef638-e6e5-779d-b2ab-74651b3609a3" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_019ef638-e6e5-7e68-9b41-218bd05daf9f" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityFilerCategory_019ef638-e6e5-7e68-9b41-218bd05daf9f" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_019ef638-e6e5-7478-99af-b9e228f72bdb" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntitySmallBusiness_019ef638-e6e5-7478-99af-b9e228f72bdb" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_019ef638-e6e5-7994-8f56-d22d97ed560b" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityEmergingGrowthCompany_019ef638-e6e5-7994-8f56-d22d97ed560b" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_019ef638-e6e5-7104-ada4-71e61695c29d" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityShellCompany_019ef638-e6e5-7104-ada4-71e61695c29d" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_019ef638-e6e5-7b13-b574-cb1a14a1a7ef" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_019ef638-e6e5-7b13-b574-cb1a14a1a7ef" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_019ef638-e6e5-7099-9c7f-9ff4843f0e2d" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_EntityCentralIndexKey_019ef638-e6e5-7099-9c7f-9ff4843f0e2d" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_019ef638-e6e5-7025-9052-1000596d8916" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_CurrentFiscalYearEndDate_019ef638-e6e5-7025-9052-1000596d8916" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_019ef638-e6e5-70b6-8f7f-c32a0b72555b" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_DocumentFiscalYearFocus_019ef638-e6e5-70b6-8f7f-c32a0b72555b" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_019ef638-e6e5-7824-b7bb-f40a34825f95" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_DocumentFiscalPeriodFocus_019ef638-e6e5-7824-b7bb-f40a34825f95" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_019ef638-e6e5-7b00-bcf3-597e0b5e6c46" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_019ef638-e6e5-7bfa-9886-2419aadae7aa" xlink:to="loc_dei_AmendmentFlag_019ef638-e6e5-7b00-bcf3-597e0b5e6c46" xlink:type="arc" order="28"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="cnm-20260802.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019ef638-e6e5-7158-b1c5-3d2007993ed4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019ef638-e6e5-7046-afd9-186471914ff0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019ef638-e6e5-7158-b1c5-3d2007993ed4" xlink:to="loc_us-gaap_StatementTable_019ef638-e6e5-7046-afd9-186471914ff0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-76f5-8452-acc0459f3580" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019ef638-e6e5-7046-afd9-186471914ff0" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-76f5-8452-acc0459f3580" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-76f5-8452-acc0459f3580_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-76f5-8452-acc0459f3580" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-76f5-8452-acc0459f3580_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ca1-92f4-536fe47b1b8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-76f5-8452-acc0459f3580" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ca1-92f4-536fe47b1b8c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_019ef638-e6e5-7244-97ec-24bd10ca0930" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ca1-92f4-536fe47b1b8c" xlink:to="loc_us-gaap_CommonClassAMember_019ef638-e6e5-7244-97ec-24bd10ca0930" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_019ef638-e6e5-7787-a5ea-9cae77483c0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ca1-92f4-536fe47b1b8c" xlink:to="loc_us-gaap_CommonClassBMember_019ef638-e6e5-7787-a5ea-9cae77483c0a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019ef638-e6e5-7158-b1c5-3d2007993ed4" xlink:to="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_019ef638-e6e5-747b-8469-228dac42a83c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:to="loc_us-gaap_AssetsCurrentAbstract_019ef638-e6e5-747b-8469-228dac42a83c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ef638-e6e5-7a97-aed3-311f13186e0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019ef638-e6e5-747b-8469-228dac42a83c" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ef638-e6e5-7a97-aed3-311f13186e0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesNetCurrent_019ef638-e6e5-783e-8424-9aa1737be509" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivablesNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019ef638-e6e5-747b-8469-228dac42a83c" xlink:to="loc_us-gaap_ReceivablesNetCurrent_019ef638-e6e5-783e-8424-9aa1737be509" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019ef638-e6e5-76d1-aa59-f8b02557f331" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019ef638-e6e5-747b-8469-228dac42a83c" xlink:to="loc_us-gaap_InventoryNet_019ef638-e6e5-76d1-aa59-f8b02557f331" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019ef638-e6e5-747d-affb-3c2dd604df4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019ef638-e6e5-747b-8469-228dac42a83c" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019ef638-e6e5-747d-affb-3c2dd604df4b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019ef638-e6e5-71a9-8a9c-cf8b551a8cfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_019ef638-e6e5-747b-8469-228dac42a83c" xlink:to="loc_us-gaap_AssetsCurrent_019ef638-e6e5-71a9-8a9c-cf8b551a8cfa" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019ef638-e6e5-72d2-a36b-1d97f7d4ff06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019ef638-e6e5-72d2-a36b-1d97f7d4ff06" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019ef638-e6e5-7852-9349-01027442d3bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019ef638-e6e5-7852-9349-01027442d3bf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ef638-e6e5-7a07-bf35-4298bfdf90b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ef638-e6e5-7a07-bf35-4298bfdf90b9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019ef638-e6e5-722a-a193-736d0fedcfb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:to="loc_us-gaap_Goodwill_019ef638-e6e5-722a-a193-736d0fedcfb3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019ef638-e6e5-753c-a8b5-1560ac9a8e02" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019ef638-e6e5-753c-a8b5-1560ac9a8e02" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019ef638-e6e5-7a63-900b-5d773e0f70e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019ef638-e6e5-7a63-900b-5d773e0f70e1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019ef638-e6e5-7064-881d-618b26a0e07c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_019ef638-e6e5-7bbb-b50a-0528183b78bd" xlink:to="loc_us-gaap_Assets_019ef638-e6e5-7064-881d-618b26a0e07c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019ef638-e6e5-7158-b1c5-3d2007993ed4" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_019ef638-e6e5-776a-a4ba-276fd58fe0a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_019ef638-e6e5-776a-a4ba-276fd58fe0a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019ef638-e6e5-7c8e-9e54-89bc2e175f42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019ef638-e6e5-776a-a4ba-276fd58fe0a2" xlink:to="loc_us-gaap_LongTermDebtCurrent_019ef638-e6e5-7c8e-9e54-89bc2e175f42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019ef638-e6e5-7204-92a6-dd75bb5648fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019ef638-e6e5-776a-a4ba-276fd58fe0a2" xlink:to="loc_us-gaap_AccountsPayableCurrent_019ef638-e6e5-7204-92a6-dd75bb5648fc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019ef638-e6e5-78f9-9235-84ee63707829" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019ef638-e6e5-776a-a4ba-276fd58fe0a2" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019ef638-e6e5-78f9-9235-84ee63707829" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019ef638-e6e5-7159-b5b5-187928767498" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019ef638-e6e5-776a-a4ba-276fd58fe0a2" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019ef638-e6e5-7159-b5b5-187928767498" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019ef638-e6e5-76e7-a4fa-66e9721eb9d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019ef638-e6e5-776a-a4ba-276fd58fe0a2" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019ef638-e6e5-76e7-a4fa-66e9721eb9d3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019ef638-e6e5-70cd-9d38-f18756edd9e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_019ef638-e6e5-776a-a4ba-276fd58fe0a2" xlink:to="loc_us-gaap_LiabilitiesCurrent_019ef638-e6e5-70cd-9d38-f18756edd9e1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019ef638-e6e5-7592-819b-af904809b3bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019ef638-e6e5-7592-819b-af904809b3bc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019ef638-e6e5-77d2-b520-f305353525f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019ef638-e6e5-77d2-b520-f305353525f5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019ef638-e6e5-7721-bc69-b3da0cc506ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019ef638-e6e5-7721-bc69-b3da0cc506ef" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_TaxBenefitArrangementPayableNoncurrent_019ef638-e6e5-70bf-b26e-06baf6d2a3ea" xlink:href="cnm-20260802.xsd#cnm_TaxBenefitArrangementPayableNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_cnm_TaxBenefitArrangementPayableNoncurrent_019ef638-e6e5-70bf-b26e-06baf6d2a3ea" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019ef638-e6e5-71c9-a8e3-e24c2aeee1e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019ef638-e6e5-71c9-a8e3-e24c2aeee1e4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ef638-e6e5-7eca-a709-3d9f90c3df5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_Liabilities_019ef638-e6e5-7eca-a709-3d9f90c3df5d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019ef638-e6e5-7dcd-b313-aa6ca744c534" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019ef638-e6e5-7dcd-b313-aa6ca744c534" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019ef638-e6e5-7519-9518-99b8b6adf089" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_CommonStockValue_019ef638-e6e5-7519-9518-99b8b6adf089" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019ef638-e6e5-7aa3-82bb-12b3aeb575a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019ef638-e6e5-7aa3-82bb-12b3aeb575a0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019ef638-e6e5-7946-95fb-3b2f4a9560c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019ef638-e6e5-7946-95fb-3b2f4a9560c6" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019ef638-e6e5-7285-8dd7-b45baf7adf77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019ef638-e6e5-7285-8dd7-b45baf7adf77" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ef638-e6e5-7e72-9503-b24816c83027" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_StockholdersEquity_019ef638-e6e5-7e72-9503-b24816c83027" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019ef638-e6e5-7681-b649-211f4197c036" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_MinorityInterest_019ef638-e6e5-7681-b649-211f4197c036" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ef638-e6e5-7a3f-a626-50e156a9fa1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ef638-e6e5-7a3f-a626-50e156a9fa1c" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ef638-e6e5-7a46-8223-c552d5baa10d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_019ef638-e6e5-7c52-b6a4-7d38f07592e5" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ef638-e6e5-7a46-8223-c552d5baa10d" xlink:type="arc" order="16"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="cnm-20260802.xsd#CondensedConsolidatedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019ef638-e6e5-7835-9bf6-68158acfd5e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019ef638-e6e5-7908-8063-f7ea463110a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019ef638-e6e5-7835-9bf6-68158acfd5e2" xlink:to="loc_us-gaap_StatementTable_019ef638-e6e5-7908-8063-f7ea463110a9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7f43-9b7a-e5cd57a07f41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019ef638-e6e5-7908-8063-f7ea463110a9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7f43-9b7a-e5cd57a07f41" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7f43-9b7a-e5cd57a07f41_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7f43-9b7a-e5cd57a07f41" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7f43-9b7a-e5cd57a07f41_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7342-9885-49cf01930057" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7f43-9b7a-e5cd57a07f41" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7342-9885-49cf01930057" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_019ef638-e6e5-7203-9b1f-a0861ac7f910" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7342-9885-49cf01930057" xlink:to="loc_us-gaap_CommonClassAMember_019ef638-e6e5-7203-9b1f-a0861ac7f910" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_019ef638-e6e5-775c-bafb-50015c085c81" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7342-9885-49cf01930057" xlink:to="loc_us-gaap_CommonClassBMember_019ef638-e6e5-775c-bafb-50015c085c81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019ef638-e6e5-748b-ac0a-8749f3868c55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019ef638-e6e5-7835-9bf6-68158acfd5e2" xlink:to="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019ef638-e6e5-748b-ac0a-8749f3868c55" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_019ef638-e6e5-7785-8859-c896df74f187" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019ef638-e6e5-748b-ac0a-8749f3868c55" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_019ef638-e6e5-7785-8859-c896df74f187" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_019ef638-e6e5-7bc5-a3ff-e23e5457ed99" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019ef638-e6e5-748b-ac0a-8749f3868c55" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_019ef638-e6e5-7bc5-a3ff-e23e5457ed99" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_019ef638-e6e5-720e-998f-5483f8d7cead" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019ef638-e6e5-748b-ac0a-8749f3868c55" xlink:to="loc_us-gaap_CommonStockSharesIssued_019ef638-e6e5-720e-998f-5483f8d7cead" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019ef638-e6e5-7abe-bcce-25307101e1c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_019ef638-e6e5-748b-ac0a-8749f3868c55" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019ef638-e6e5-7abe-bcce-25307101e1c0" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/CondensedConsolidatedStatementsofChangesinStockholdersEquity" xlink:type="simple" xlink:href="cnm-20260802.xsd#CondensedConsolidatedStatementsofChangesinStockholdersEquity"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/CondensedConsolidatedStatementsofChangesinStockholdersEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019ef638-e6e5-7e29-8191-387b44e5250b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019ef638-e6e5-72d8-8424-b146153bd7c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019ef638-e6e5-7e29-8191-387b44e5250b" xlink:to="loc_us-gaap_StatementTable_019ef638-e6e5-72d8-8424-b146153bd7c1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7d2d-b2f8-25508f77628f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019ef638-e6e5-72d8-8424-b146153bd7c1" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7d2d-b2f8-25508f77628f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7d2d-b2f8-25508f77628f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7d2d-b2f8-25508f77628f" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7d2d-b2f8-25508f77628f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ae9-9604-734673f134fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7d2d-b2f8-25508f77628f" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ae9-9604-734673f134fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_019ef638-e6e5-774a-9d5c-570fcfc215a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ae9-9604-734673f134fd" xlink:to="loc_us-gaap_CommonClassAMember_019ef638-e6e5-774a-9d5c-570fcfc215a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_019ef638-e6e5-76ab-ac79-216f6f0461ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ae9-9604-734673f134fd" xlink:to="loc_us-gaap_CommonClassBMember_019ef638-e6e5-76ab-ac79-216f6f0461ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019ef638-e6e5-7d3f-872b-2667c60a9a66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019ef638-e6e5-72d8-8424-b146153bd7c1" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019ef638-e6e5-7d3f-872b-2667c60a9a66" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-7d3f-872b-2667c60a9a66_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019ef638-e6e5-7d3f-872b-2667c60a9a66" xlink:to="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-7d3f-872b-2667c60a9a66_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-78fb-8586-cccec21faf73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019ef638-e6e5-7d3f-872b-2667c60a9a66" xlink:to="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-78fb-8586-cccec21faf73" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019ef638-e6e5-7f4d-a6bc-fd8ca7c04ef6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-78fb-8586-cccec21faf73" xlink:to="loc_us-gaap_CommonStockMember_019ef638-e6e5-7f4d-a6bc-fd8ca7c04ef6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019ef638-e6e5-7e39-8e61-86a758f947ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-78fb-8586-cccec21faf73" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019ef638-e6e5-7e39-8e61-86a758f947ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019ef638-e6e5-7f3e-9146-ef5e5e25b3a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-78fb-8586-cccec21faf73" xlink:to="loc_us-gaap_RetainedEarningsMember_019ef638-e6e5-7f3e-9146-ef5e5e25b3a9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember_019ef638-e6e5-77b1-a7ec-be31a52cd087" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-78fb-8586-cccec21faf73" xlink:to="loc_us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember_019ef638-e6e5-77b1-a7ec-be31a52cd087" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_019ef638-e6e5-7c3c-9a4c-ccc76fa8167b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019ef638-e6e5-78fb-8586-cccec21faf73" xlink:to="loc_us-gaap_NoncontrollingInterestMember_019ef638-e6e5-7c3c-9a4c-ccc76fa8167b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019ef638-e6e5-7e29-8191-387b44e5250b" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_019ef638-e6e5-7c85-8629-b2fa7e9eede6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_SharesOutstanding_019ef638-e6e5-7c85-8629-b2fa7e9eede6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ef638-e6e5-731b-95dc-7ea938b7eb0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ef638-e6e5-731b-95dc-7ea938b7eb0b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019ef638-e6e5-7e3c-ad05-046700a98bf9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_ProfitLoss_019ef638-e6e5-7e3c-ad05-046700a98bf9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019ef638-e6e5-7f10-8333-afd67dcf92d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019ef638-e6e5-7f10-8333-afd67dcf92d2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019ef638-e6e5-741c-8f7f-d23e52c39f83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_019ef638-e6e5-741c-8f7f-d23e52c39f83" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_019ef638-e6e5-7e27-a0eb-094a4716a077" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_019ef638-e6e5-7e27-a0eb-094a4716a077" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019ef638-e6e5-74c4-9ee5-bcc9e074f09a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019ef638-e6e5-74c4-9ee5-bcc9e074f09a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019ef638-e6e5-7aed-828d-00d8e382d3bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019ef638-e6e5-7aed-828d-00d8e382d3bf" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_StockIssuedDuringPeriodSharesExchangeOfPartnershipInterests_019ef638-e6e5-7395-a950-66b197b0f095" xlink:href="cnm-20260802.xsd#cnm_StockIssuedDuringPeriodSharesExchangeOfPartnershipInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_cnm_StockIssuedDuringPeriodSharesExchangeOfPartnershipInterests_019ef638-e6e5-7395-a950-66b197b0f095" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_StockIssuedDuringPeriodValueExchangeOfPartnershipInterestshares_019ef638-e6e5-7563-9ee6-c17f7d5f0033" xlink:href="cnm-20260802.xsd#cnm_StockIssuedDuringPeriodValueExchangeOfPartnershipInterestshares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_cnm_StockIssuedDuringPeriodValueExchangeOfPartnershipInterestshares_019ef638-e6e5-7563-9ee6-c17f7d5f0033" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_AdjustmentsToAdditionalPaidInCapitalDeferredTaxLiabilityAdjustment_019ef638-e6e5-772d-853e-bc75d5f465ed" xlink:href="cnm-20260802.xsd#cnm_AdjustmentsToAdditionalPaidInCapitalDeferredTaxLiabilityAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_cnm_AdjustmentsToAdditionalPaidInCapitalDeferredTaxLiabilityAdjustment_019ef638-e6e5-772d-853e-bc75d5f465ed" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_AdjustmentsToAdditionalPaidInCapitalTaxReceivableAgreement_019ef638-e6e5-7b16-ad0d-196019b4903b" xlink:href="cnm-20260802.xsd#cnm_AdjustmentsToAdditionalPaidInCapitalTaxReceivableAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_cnm_AdjustmentsToAdditionalPaidInCapitalTaxReceivableAgreement_019ef638-e6e5-7b16-ad0d-196019b4903b" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodIncreaseDecrease_019ef638-e6e5-70c0-a79a-481c3ab2ab68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPeriodIncreaseDecrease_019ef638-e6e5-70c0-a79a-481c3ab2ab68" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsSharesPeriodIncreaseDecrease_019ef638-e6e5-78ea-a3d8-2b3a8ea90644" xlink:href="cnm-20260802.xsd#cnm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsSharesPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_cnm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsSharesPeriodIncreaseDecrease_019ef638-e6e5-78ea-a3d8-2b3a8ea90644" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsValuePeriodIncreaseDecrease_019ef638-e6e5-7279-b9fc-bcdf2ebbf3c6" xlink:href="cnm-20260802.xsd#cnm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsValuePeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019ef638-e6e5-7f70-abbc-dfb53f444cdb" xlink:to="loc_cnm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsValuePeriodIncreaseDecrease_019ef638-e6e5-7279-b9fc-bcdf2ebbf3c6" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_019ef638-e6e5-7c96-8539-93c8c99947fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ef638-e6e5-75a1-ab88-c38e6148c022" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/BasisofPresentationDescriptionofBusinessDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#BasisofPresentationDescriptionofBusinessDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/BasisofPresentationDescriptionofBusinessDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_019ef638-e6e5-7d8b-8dd7-396b7b80e304" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_019ef638-e6e5-73d9-8edb-73c3757973f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_019ef638-e6e5-7d8b-8dd7-396b7b80e304" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_019ef638-e6e5-73d9-8edb-73c3757973f2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7338-b3d5-ee77de735693" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019ef638-e6e5-73d9-8edb-73c3757973f2" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7338-b3d5-ee77de735693" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7338-b3d5-ee77de735693_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7338-b3d5-ee77de735693" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7338-b3d5-ee77de735693_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ec1-9596-f13d523343ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e6e5-7338-b3d5-ee77de735693" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ec1-9596-f13d523343ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_019ef638-e6e5-70ea-ac5c-29ecb077a566" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e6e5-7ec1-9596-f13d523343ae" xlink:to="loc_us-gaap_CommonClassAMember_019ef638-e6e5-70ea-ac5c-29ecb077a566" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfStores_019ef638-e6e5-712d-820d-e0268604297d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NumberOfStores"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019ef638-e6e5-7d8b-8dd7-396b7b80e304" xlink:to="loc_us-gaap_NumberOfStores_019ef638-e6e5-712d-820d-e0268604297d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019ef638-e6e5-71e2-b9c1-4b9753700b2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019ef638-e6e5-7d8b-8dd7-396b7b80e304" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019ef638-e6e5-71e2-b9c1-4b9753700b2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019ef638-e6e5-7987-b37d-db98c4b145f8" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019ef638-e6e5-7d8b-8dd7-396b7b80e304" xlink:to="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019ef638-e6e5-7987-b37d-db98c4b145f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019ef638-e6e5-7c02-a0d9-1af44f324540" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019ef638-e6e5-7d8b-8dd7-396b7b80e304" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019ef638-e6e5-7c02-a0d9-1af44f324540" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019ef638-e6e5-7195-8895-b75cddff6a3a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019ef638-e6e5-7d8b-8dd7-396b7b80e304" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019ef638-e6e5-7195-8895-b75cddff6a3a" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/RevenueDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#RevenueDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/RevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019ef638-e6e5-7ae4-9605-a3d1796d3b92" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019ef638-e6e5-7746-863a-3b1baa692632" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019ef638-e6e5-7ae4-9605-a3d1796d3b92" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019ef638-e6e5-7746-863a-3b1baa692632" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019ef638-e6e5-793a-b193-e997b18979c5" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019ef638-e6e5-7746-863a-3b1baa692632" xlink:to="loc_srt_ProductOrServiceAxis_019ef638-e6e5-793a-b193-e997b18979c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019ef638-e6e5-793a-b193-e997b18979c5_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019ef638-e6e5-793a-b193-e997b18979c5" xlink:to="loc_srt_ProductsAndServicesDomain_019ef638-e6e5-793a-b193-e997b18979c5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019ef638-e6e5-7afb-a711-b3a3152f1fcb" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019ef638-e6e5-793a-b193-e997b18979c5" xlink:to="loc_srt_ProductsAndServicesDomain_019ef638-e6e5-7afb-a711-b3a3152f1fcb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_PipesValvesAndFittingProductsMember_019ef638-e6e5-7768-95fc-f9c3e9d09b2c" xlink:href="cnm-20260802.xsd#cnm_PipesValvesAndFittingProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019ef638-e6e5-7afb-a711-b3a3152f1fcb" xlink:to="loc_cnm_PipesValvesAndFittingProductsMember_019ef638-e6e5-7768-95fc-f9c3e9d09b2c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_StormDrainageProductsMember_019ef638-e6e5-7496-ad30-4c98f4c72004" xlink:href="cnm-20260802.xsd#cnm_StormDrainageProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019ef638-e6e5-7afb-a711-b3a3152f1fcb" xlink:to="loc_cnm_StormDrainageProductsMember_019ef638-e6e5-7496-ad30-4c98f4c72004" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_FireProtectionProductsMember_019ef638-e6e5-7afb-891b-25003fc02c1a" xlink:href="cnm-20260802.xsd#cnm_FireProtectionProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019ef638-e6e5-7afb-a711-b3a3152f1fcb" xlink:to="loc_cnm_FireProtectionProductsMember_019ef638-e6e5-7afb-891b-25003fc02c1a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_MeterProductsMember_019ef638-e6e5-76ea-8c80-930300f08915" xlink:href="cnm-20260802.xsd#cnm_MeterProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019ef638-e6e5-7afb-a711-b3a3152f1fcb" xlink:to="loc_cnm_MeterProductsMember_019ef638-e6e5-76ea-8c80-930300f08915" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019ef638-e6e5-7980-93e7-26ceaf7ff7bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019ef638-e6e5-7ae4-9605-a3d1796d3b92" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019ef638-e6e5-7980-93e7-26ceaf7ff7bd" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/AcquisitionsNarrativeDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#AcquisitionsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/AcquisitionsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-7813-b4a0-8c812835e118" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019ef638-e6e5-740d-8404-3ba9019d4e67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-7813-b4a0-8c812835e118" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019ef638-e6e5-740d-8404-3ba9019d4e67" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019ef638-e6e5-70ff-9993-6502f625792a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019ef638-e6e5-740d-8404-3ba9019d4e67" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019ef638-e6e5-70ff-9993-6502f625792a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-70ff-9993-6502f625792a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019ef638-e6e5-70ff-9993-6502f625792a" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-70ff-9993-6502f625792a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-7f82-a935-cca74a259b09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019ef638-e6e5-70ff-9993-6502f625792a" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-7f82-a935-cca74a259b09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_PioneerSupplyMember_019ef638-e6e5-7791-bcb6-ba379dc5eac2" xlink:href="cnm-20260802.xsd#cnm_PioneerSupplyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-7f82-a935-cca74a259b09" xlink:to="loc_cnm_PioneerSupplyMember_019ef638-e6e5-7791-bcb6-ba379dc5eac2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_CanadaWaterworksMember_019ef638-e6e5-75eb-ada5-9bd720a99992" xlink:href="cnm-20260802.xsd#cnm_CanadaWaterworksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-7f82-a935-cca74a259b09" xlink:to="loc_cnm_CanadaWaterworksMember_019ef638-e6e5-75eb-ada5-9bd720a99992" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019ef638-e6e5-7bc7-a519-2939ad482f40" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019ef638-e6e5-740d-8404-3ba9019d4e67" xlink:to="loc_srt_RangeAxis_019ef638-e6e5-7bc7-a519-2939ad482f40" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019ef638-e6e5-7bc7-a519-2939ad482f40_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019ef638-e6e5-7bc7-a519-2939ad482f40" xlink:to="loc_srt_RangeMember_019ef638-e6e5-7bc7-a519-2939ad482f40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019ef638-e6e5-76ca-a434-ca502431cb99" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019ef638-e6e5-7bc7-a519-2939ad482f40" xlink:to="loc_srt_RangeMember_019ef638-e6e5-76ca-a434-ca502431cb99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019ef638-e6e5-7e06-a34d-d64f5924a2da" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019ef638-e6e5-76ca-a434-ca502431cb99" xlink:to="loc_srt_MinimumMember_019ef638-e6e5-7e06-a34d-d64f5924a2da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019ef638-e6e5-7b2a-b21c-163353315f3b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019ef638-e6e5-76ca-a434-ca502431cb99" xlink:to="loc_srt_MaximumMember_019ef638-e6e5-7b2a-b21c-163353315f3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessCombinationTransactionValuation_019ef638-e6e5-7c36-83f7-f42aaa58b252" xlink:href="cnm-20260802.xsd#cnm_BusinessCombinationTransactionValuation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-7813-b4a0-8c812835e118" xlink:to="loc_cnm_BusinessCombinationTransactionValuation_019ef638-e6e5-7c36-83f7-f42aaa58b252" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessCombinationNumberOfBranchLocationsAcquired_019ef638-e6e5-7b2d-8c35-7c1d45fe4e4b" xlink:href="cnm-20260802.xsd#cnm_BusinessCombinationNumberOfBranchLocationsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-7813-b4a0-8c812835e118" xlink:to="loc_cnm_BusinessCombinationNumberOfBranchLocationsAcquired_019ef638-e6e5-7b2d-8c35-7c1d45fe4e4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019ef638-e6e5-7dbd-a534-2b262e834ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-7813-b4a0-8c812835e118" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019ef638-e6e5-7dbd-a534-2b262e834ee3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessAcquisitionContingentConsiderationEBITDATargetPeriod_019ef638-e6e5-79fa-87c9-78509957502b" xlink:href="cnm-20260802.xsd#cnm_BusinessAcquisitionContingentConsiderationEBITDATargetPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-7813-b4a0-8c812835e118" xlink:to="loc_cnm_BusinessAcquisitionContingentConsiderationEBITDATargetPeriod_019ef638-e6e5-79fa-87c9-78509957502b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationLiabilitiesArisingFromContingenciesAmountRecognized_019ef638-e6e5-7feb-afe3-1b8a2a6422e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationLiabilitiesArisingFromContingenciesAmountRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-7813-b4a0-8c812835e118" xlink:to="loc_us-gaap_BusinessCombinationLiabilitiesArisingFromContingenciesAmountRecognized_019ef638-e6e5-7feb-afe3-1b8a2a6422e5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_019ef638-e6e5-7483-9ecd-3c4a068c79a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-7813-b4a0-8c812835e118" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_019ef638-e6e5-7483-9ecd-3c4a068c79a8" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/AcquisitionsAllocationofTransactionPriceDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#AcquisitionsAllocationofTransactionPriceDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/AcquisitionsAllocationofTransactionPriceDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-74a9-9511-c575a1bbbfec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019ef638-e6e5-7b0d-ac06-82c85ce5d589" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-74a9-9511-c575a1bbbfec" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019ef638-e6e5-7b0d-ac06-82c85ce5d589" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019ef638-e6e5-74e7-ba77-62cf6c57043e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019ef638-e6e5-7b0d-ac06-82c85ce5d589" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019ef638-e6e5-74e7-ba77-62cf6c57043e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-74e7-ba77-62cf6c57043e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019ef638-e6e5-74e7-ba77-62cf6c57043e" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-74e7-ba77-62cf6c57043e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-75d9-9a96-2c9f92a2c230" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019ef638-e6e5-74e7-ba77-62cf6c57043e" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-75d9-9a96-2c9f92a2c230" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_Fiscal2025AcquisitionsMember_019ef638-e6e5-7fac-9e09-2f113445d496" xlink:href="cnm-20260802.xsd#cnm_Fiscal2025AcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019ef638-e6e5-75d9-9a96-2c9f92a2c230" xlink:to="loc_cnm_Fiscal2025AcquisitionsMember_019ef638-e6e5-7fac-9e09-2f113445d496" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019ef638-e6e5-74a9-9511-c575a1bbbfec" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019ef638-e6e5-78b3-ab6f-e559a43b3c87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019ef638-e6e5-78b3-ab6f-e559a43b3c87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_019ef638-e6e5-7acc-bdf5-e55826c6cf66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_019ef638-e6e5-7acc-bdf5-e55826c6cf66" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_019ef638-e6e5-78d0-8049-ddef1474bc45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_019ef638-e6e5-78d0-8049-ddef1474bc45" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019ef638-e6e5-7181-8211-81ba3a83a418" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_019ef638-e6e5-7181-8211-81ba3a83a418" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill_019ef638-e6e5-7518-b1b1-28eccc68c51e" xlink:href="cnm-20260802.xsd#cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedGoodwill_019ef638-e6e5-7518-b1b1-28eccc68c51e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019ef638-e6e5-797e-8fd8-e860a6e9695d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_019ef638-e6e5-797e-8fd8-e860a6e9695d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_019ef638-e6e5-71dd-891e-867aa98d6d6a" xlink:href="cnm-20260802.xsd#cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_019ef638-e6e5-71dd-891e-867aa98d6d6a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets_019ef638-e6e5-717f-a2f8-39515864a6eb" xlink:href="cnm-20260802.xsd#cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets_019ef638-e6e5-717f-a2f8-39515864a6eb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_019ef638-e6e5-71fe-abc7-11282f7e2588" xlink:href="cnm-20260802.xsd#cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_019ef638-e6e5-71fe-abc7-11282f7e2588" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_019ef638-e6e5-7349-8eb4-692328f395c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_019ef638-e6e5-7349-8eb4-692328f395c2" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation_019ef638-e6e5-7c86-91fb-00a2e26edfcf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation_019ef638-e6e5-7c86-91fb-00a2e26edfcf" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessCombinationContingencyDeferredAtAcquisitionDateLiabilityAssumedFairValue_019ef638-e6e5-7099-9360-8992fce2bc97" xlink:href="cnm-20260802.xsd#cnm_BusinessCombinationContingencyDeferredAtAcquisitionDateLiabilityAssumedFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_cnm_BusinessCombinationContingencyDeferredAtAcquisitionDateLiabilityAssumedFairValue_019ef638-e6e5-7099-9360-8992fce2bc97" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities_019ef638-e6e5-7a39-99d7-50e9b68d1fc2" xlink:href="cnm-20260802.xsd#cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_cnm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherLiabilities_019ef638-e6e5-7a39-99d7-50e9b68d1fc2" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019ef638-e6e5-7603-9faf-66bbfba5dae1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_019ef638-e6e5-7f1d-a890-5be72b81adc2" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019ef638-e6e5-7603-9faf-66bbfba5dae1" xlink:type="arc" order="14"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/AcquisitionsIntangibleAssetsDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#AcquisitionsIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/AcquisitionsIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-7693-83dc-7739ae0501fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_019ef638-e6e5-7e3d-bb0b-f31e97313a4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-7693-83dc-7739ae0501fc" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_019ef638-e6e5-7e3d-bb0b-f31e97313a4e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019ef638-e6e5-700a-b4d7-0536fdaecf00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsAcquiredAsPartOfBusinessCombinationTable_019ef638-e6e5-7e3d-bb0b-f31e97313a4e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019ef638-e6e5-700a-b4d7-0536fdaecf00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-700a-b4d7-0536fdaecf00_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019ef638-e6e5-700a-b4d7-0536fdaecf00" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-700a-b4d7-0536fdaecf00_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-775e-a4e3-e601612c922a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019ef638-e6e5-700a-b4d7-0536fdaecf00" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-775e-a4e3-e601612c922a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019ef638-e6e5-72fb-b528-b9863cb3f5c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-775e-a4e3-e601612c922a" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019ef638-e6e5-72fb-b528-b9863cb3f5c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_019ef638-e6e5-7aaf-bce0-2a3f3edbc513" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-775e-a4e3-e601612c922a" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_019ef638-e6e5-7aaf-bce0-2a3f3edbc513" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_019ef638-e6e5-7087-ab31-69e8e1cc3978" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-7693-83dc-7739ae0501fc" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_019ef638-e6e5-7087-ab31-69e8e1cc3978" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019ef638-e6e5-7b0a-ac42-cbb69d98ef3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-7693-83dc-7739ae0501fc" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019ef638-e6e5-7b0a-ac42-cbb69d98ef3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_AcquiredFiniteLivedIntangibleAssetsValuationAssumptionDiscountRatePercentage_019ef638-e6e5-7b02-a6a7-a0461b95122e" xlink:href="cnm-20260802.xsd#cnm_AcquiredFiniteLivedIntangibleAssetsValuationAssumptionDiscountRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-7693-83dc-7739ae0501fc" xlink:to="loc_cnm_AcquiredFiniteLivedIntangibleAssetsValuationAssumptionDiscountRatePercentage_019ef638-e6e5-7b02-a6a7-a0461b95122e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_AcquiredFiniteLivedIntangibleAssetsValuationAssumptionAttritionRatePercentage_019ef638-e6e5-7444-ada8-36267fd287fb" xlink:href="cnm-20260802.xsd#cnm_AcquiredFiniteLivedIntangibleAssetsValuationAssumptionAttritionRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-7693-83dc-7739ae0501fc" xlink:to="loc_cnm_AcquiredFiniteLivedIntangibleAssetsValuationAssumptionAttritionRatePercentage_019ef638-e6e5-7444-ada8-36267fd287fb" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/GoodwillandIntangibleAssetsIntangibleAssetsDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#GoodwillandIntangibleAssetsIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/GoodwillandIntangibleAssetsIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-75e0-9ab9-5ffd81e9a706" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019ef638-e6e5-709f-be4c-97168451ae7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-75e0-9ab9-5ffd81e9a706" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019ef638-e6e5-709f-be4c-97168451ae7c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019ef638-e6e5-7591-865f-150077f3db8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019ef638-e6e5-709f-be4c-97168451ae7c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019ef638-e6e5-7591-865f-150077f3db8c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-7591-865f-150077f3db8c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019ef638-e6e5-7591-865f-150077f3db8c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-7591-865f-150077f3db8c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-79ab-b6e6-1bd01338d575" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019ef638-e6e5-7591-865f-150077f3db8c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-79ab-b6e6-1bd01338d575" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019ef638-e6e5-7832-ab63-0d21d81b2776" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-79ab-b6e6-1bd01338d575" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019ef638-e6e5-7832-ab63-0d21d81b2776" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_InternalUseSoftwareMember_019ef638-e6e5-72af-8307-bebc809de31e" xlink:href="cnm-20260802.xsd#cnm_InternalUseSoftwareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-79ab-b6e6-1bd01338d575" xlink:to="loc_cnm_InternalUseSoftwareMember_019ef638-e6e5-72af-8307-bebc809de31e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_019ef638-e6e5-76fe-9cdb-3042a352d8d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019ef638-e6e5-79ab-b6e6-1bd01338d575" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_019ef638-e6e5-76fe-9cdb-3042a352d8d1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_019ef638-e6e5-7cae-8147-48d73283bb68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019ef638-e6e5-75e0-9ab9-5ffd81e9a706" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_019ef638-e6e5-7cae-8147-48d73283bb68" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019ef638-e6e5-7e4c-9779-8e8f9997bcd4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_019ef638-e6e5-7cae-8147-48d73283bb68" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019ef638-e6e5-7e4c-9779-8e8f9997bcd4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019ef638-e6e5-76ae-ae69-edaa1c8e3586" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_019ef638-e6e5-7cae-8147-48d73283bb68" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019ef638-e6e5-76ae-ae69-edaa1c8e3586" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ef638-e6e5-7afe-8e48-be2ebe538049" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_019ef638-e6e5-7cae-8147-48d73283bb68" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ef638-e6e5-7afe-8e48-be2ebe538049" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/DebtSummaryofDebtDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#DebtSummaryofDebtDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/DebtSummaryofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7d44-a3bc-2fd084dfd6a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019ef638-e792-702d-9e13-c3f34e11d331" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7d44-a3bc-2fd084dfd6a3" xlink:to="loc_us-gaap_DebtInstrumentTable_019ef638-e792-702d-9e13-c3f34e11d331" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-74a0-ab5d-182f2fd44c1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-702d-9e13-c3f34e11d331" xlink:to="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-74a0-ab5d-182f2fd44c1a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-74a0-ab5d-182f2fd44c1a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-74a0-ab5d-182f2fd44c1a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-74a0-ab5d-182f2fd44c1a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7229-aa7e-d2fb0c7020a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-74a0-ab5d-182f2fd44c1a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7229-aa7e-d2fb0c7020a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorABLCreditFacilityDueJuly2026Member_019ef638-e792-7e8d-8fdb-a29a7963396a" xlink:href="cnm-20260802.xsd#cnm_SeniorABLCreditFacilityDueJuly2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7229-aa7e-d2fb0c7020a3" xlink:to="loc_cnm_SeniorABLCreditFacilityDueJuly2026Member_019ef638-e792-7e8d-8fdb-a29a7963396a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermLoanDueJuly2028Member_019ef638-e792-76ca-9ec8-cc0fec69b053" xlink:href="cnm-20260802.xsd#cnm_SeniorTermLoanDueJuly2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7229-aa7e-d2fb0c7020a3" xlink:to="loc_cnm_SeniorTermLoanDueJuly2028Member_019ef638-e792-76ca-9ec8-cc0fec69b053" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermLoanDueFebruary2031Member_019ef638-e792-7867-93c4-12941d0643b5" xlink:href="cnm-20260802.xsd#cnm_SeniorTermLoanDueFebruary2031Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7229-aa7e-d2fb0c7020a3" xlink:to="loc_cnm_SeniorTermLoanDueFebruary2031Member_019ef638-e792-7867-93c4-12941d0643b5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermLoanDueJuly2033Member_01a01b45-2726-7681-8ada-f448193e37c0" xlink:href="cnm-20260802.xsd#cnm_SeniorTermLoanDueJuly2033Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7229-aa7e-d2fb0c7020a3" xlink:to="loc_cnm_SeniorTermLoanDueJuly2033Member_01a01b45-2726-7681-8ada-f448193e37c0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermNotesDueJuly2034Member_01a01b48-14ce-721e-98b1-8d7d030c675b" xlink:href="cnm-20260802.xsd#cnm_SeniorTermNotesDueJuly2034Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7229-aa7e-d2fb0c7020a3" xlink:to="loc_cnm_SeniorTermNotesDueJuly2034Member_01a01b48-14ce-721e-98b1-8d7d030c675b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-7d8a-8791-9333dd564d7f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-702d-9e13-c3f34e11d331" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-7d8a-8791-9333dd564d7f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7d8a-8791-9333dd564d7f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-7d8a-8791-9333dd564d7f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7d8a-8791-9333dd564d7f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7b9a-bb0f-7e2c1a95656d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-7d8a-8791-9333dd564d7f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7b9a-bb0f-7e2c1a95656d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_019ef638-e792-75a8-b91b-f988e83e2c6b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7b9a-bb0f-7e2c1a95656d" xlink:to="loc_us-gaap_LoansPayableMember_019ef638-e792-75a8-b91b-f988e83e2c6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019ef638-e792-73dd-99a8-7340d7e026df" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-702d-9e13-c3f34e11d331" xlink:to="loc_us-gaap_CreditFacilityAxis_019ef638-e792-73dd-99a8-7340d7e026df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019ef638-e792-73dd-99a8-7340d7e026df_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019ef638-e792-73dd-99a8-7340d7e026df" xlink:to="loc_us-gaap_CreditFacilityDomain_019ef638-e792-73dd-99a8-7340d7e026df_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019ef638-e792-7b3e-ae4e-805abea2a097" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019ef638-e792-73dd-99a8-7340d7e026df" xlink:to="loc_us-gaap_CreditFacilityDomain_019ef638-e792-7b3e-ae4e-805abea2a097" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019ef638-e792-7bb4-b1ec-ee83eb3ba7a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019ef638-e792-7b3e-ae4e-805abea2a097" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019ef638-e792-7bb4-b1ec-ee83eb3ba7a2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_LongTermDebtGrossCurrentMaturities_019ef638-e792-72f6-b787-f52773e01e72" xlink:href="cnm-20260802.xsd#cnm_LongTermDebtGrossCurrentMaturities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7d44-a3bc-2fd084dfd6a3" xlink:to="loc_cnm_LongTermDebtGrossCurrentMaturities_019ef638-e792-72f6-b787-f52773e01e72" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_LongTermDebtGrossExcludingCurrentMaturities_019ef638-e792-7faa-bb35-a6b4dece5944" xlink:href="cnm-20260802.xsd#cnm_LongTermDebtGrossExcludingCurrentMaturities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7d44-a3bc-2fd084dfd6a3" xlink:to="loc_cnm_LongTermDebtGrossExcludingCurrentMaturities_019ef638-e792-7faa-bb35-a6b4dece5944" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019ef638-e792-7ba7-9357-28fd0bf859d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7d44-a3bc-2fd084dfd6a3" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019ef638-e792-7ba7-9357-28fd0bf859d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019ef638-e792-7f77-bce7-35deb1487989" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7d44-a3bc-2fd084dfd6a3" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019ef638-e792-7f77-bce7-35deb1487989" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/DebtDebtAgreementsNarrativeDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#DebtDebtAgreementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/DebtDebtAgreementsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-7a9c-80d8-73b744d6e0d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:to="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-7a9c-80d8-73b744d6e0d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7a9c-80d8-73b744d6e0d7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-7a9c-80d8-73b744d6e0d7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7a9c-80d8-73b744d6e0d7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7668-b078-81bbede2eca6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-7a9c-80d8-73b744d6e0d7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7668-b078-81bbede2eca6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermLoanDueJuly2028Member_019ef638-e792-7ac2-bcf6-5d2a2c15b18b" xlink:href="cnm-20260802.xsd#cnm_SeniorTermLoanDueJuly2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7668-b078-81bbede2eca6" xlink:to="loc_cnm_SeniorTermLoanDueJuly2028Member_019ef638-e792-7ac2-bcf6-5d2a2c15b18b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermLoanDueJuly2033Member_01a01b4b-b6b4-7192-b4ff-acfc680d1951" xlink:href="cnm-20260802.xsd#cnm_SeniorTermLoanDueJuly2033Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7668-b078-81bbede2eca6" xlink:to="loc_cnm_SeniorTermLoanDueJuly2033Member_01a01b4b-b6b4-7192-b4ff-acfc680d1951" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermLoanDueFebruary2031Member_019ef638-e792-7eba-8e42-1e2c85e696dc" xlink:href="cnm-20260802.xsd#cnm_SeniorTermLoanDueFebruary2031Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7668-b078-81bbede2eca6" xlink:to="loc_cnm_SeniorTermLoanDueFebruary2031Member_019ef638-e792-7eba-8e42-1e2c85e696dc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorABLCreditFacilityDueJuly2026Member_019ef638-e792-70a7-8b97-0648c903abc0" xlink:href="cnm-20260802.xsd#cnm_SeniorABLCreditFacilityDueJuly2026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7668-b078-81bbede2eca6" xlink:to="loc_cnm_SeniorABLCreditFacilityDueJuly2026Member_019ef638-e792-70a7-8b97-0648c903abc0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019ef638-e792-7a5d-96d7-70156b2977d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7668-b078-81bbede2eca6" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019ef638-e792-7a5d-96d7-70156b2977d9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermNotesDueJuly2034Member_01a01b52-7cfc-7950-8e4b-cc4cabb6d556" xlink:href="cnm-20260802.xsd#cnm_SeniorTermNotesDueJuly2034Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7668-b078-81bbede2eca6" xlink:to="loc_cnm_SeniorTermNotesDueJuly2034Member_01a01b52-7cfc-7950-8e4b-cc4cabb6d556" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-705a-8526-43eefd538d74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-705a-8526-43eefd538d74" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-705a-8526-43eefd538d74_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-705a-8526-43eefd538d74" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-705a-8526-43eefd538d74_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7812-bf2a-168b011f3692" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-705a-8526-43eefd538d74" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7812-bf2a-168b011f3692" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_019ef638-e792-7719-90fb-20f5ffb3d283" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7812-bf2a-168b011f3692" xlink:to="loc_us-gaap_LoansPayableMember_019ef638-e792-7719-90fb-20f5ffb3d283" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_019ef638-e792-7d98-87aa-28f7151eef88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:to="loc_us-gaap_VariableRateAxis_019ef638-e792-7d98-87aa-28f7151eef88" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019ef638-e792-7d98-87aa-28f7151eef88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_019ef638-e792-7d98-87aa-28f7151eef88" xlink:to="loc_us-gaap_VariableRateDomain_019ef638-e792-7d98-87aa-28f7151eef88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019ef638-e792-73c2-85cc-60b1dd647ef8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_019ef638-e792-7d98-87aa-28f7151eef88" xlink:to="loc_us-gaap_VariableRateDomain_019ef638-e792-73c2-85cc-60b1dd647ef8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BaseRateComponentFederalFundsRateMember_019ef638-e792-7577-9d77-c82713c2bd9a" xlink:href="cnm-20260802.xsd#cnm_BaseRateComponentFederalFundsRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019ef638-e792-73c2-85cc-60b1dd647ef8" xlink:to="loc_cnm_BaseRateComponentFederalFundsRateMember_019ef638-e792-7577-9d77-c82713c2bd9a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019ef638-e792-7202-be75-ab3ec91c58cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019ef638-e792-73c2-85cc-60b1dd647ef8" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019ef638-e792-7202-be75-ab3ec91c58cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_019ef638-e792-7511-b8b9-991a0390e546" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019ef638-e792-73c2-85cc-60b1dd647ef8" xlink:to="loc_us-gaap_BaseRateMember_019ef638-e792-7511-b8b9-991a0390e546" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_BaseRateComponentSOFRMember_019ef638-e792-739f-a5b9-179658f1fc5e" xlink:href="cnm-20260802.xsd#cnm_BaseRateComponentSOFRMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019ef638-e792-73c2-85cc-60b1dd647ef8" xlink:to="loc_cnm_BaseRateComponentSOFRMember_019ef638-e792-739f-a5b9-179658f1fc5e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019ef638-e792-73da-a1eb-734b5b217d54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019ef638-e792-73da-a1eb-734b5b217d54" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-73da-a1eb-734b5b217d54_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019ef638-e792-73da-a1eb-734b5b217d54" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-73da-a1eb-734b5b217d54_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-70e2-bdd3-ee1195096503" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019ef638-e792-73da-a1eb-734b5b217d54" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-70e2-bdd3-ee1195096503" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_InterestRateSwapTwoMember_019ef638-e792-7f17-800c-0f90c616e6ff" xlink:href="cnm-20260802.xsd#cnm_InterestRateSwapTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-70e2-bdd3-ee1195096503" xlink:to="loc_cnm_InterestRateSwapTwoMember_019ef638-e792-7f17-800c-0f90c616e6ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019ef638-e792-7241-9c2a-b630425e362f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019ef638-e792-7241-9c2a-b630425e362f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019ef638-e792-7241-9c2a-b630425e362f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019ef638-e792-7241-9c2a-b630425e362f" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019ef638-e792-7241-9c2a-b630425e362f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019ef638-e792-7153-9785-c44587235f12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019ef638-e792-7241-9c2a-b630425e362f" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019ef638-e792-7153-9785-c44587235f12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019ef638-e792-7425-a84b-79cf8d8a82d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019ef638-e792-7153-9785-c44587235f12" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019ef638-e792-7425-a84b-79cf8d8a82d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_01a01b5c-208a-7d88-be93-67d3a081d3ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019ef638-e792-7153-9785-c44587235f12" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_01a01b5c-208a-7d88-be93-67d3a081d3ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019ef638-e792-7412-8100-3fd7532ad6e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:to="loc_us-gaap_CreditFacilityAxis_019ef638-e792-7412-8100-3fd7532ad6e1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019ef638-e792-7412-8100-3fd7532ad6e1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019ef638-e792-7412-8100-3fd7532ad6e1" xlink:to="loc_us-gaap_CreditFacilityDomain_019ef638-e792-7412-8100-3fd7532ad6e1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019ef638-e792-7bcc-b20f-efe44595d295" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019ef638-e792-7412-8100-3fd7532ad6e1" xlink:to="loc_us-gaap_CreditFacilityDomain_019ef638-e792-7bcc-b20f-efe44595d295" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019ef638-e792-71b7-bb75-559a90bf1d11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019ef638-e792-7bcc-b20f-efe44595d295" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019ef638-e792-71b7-bb75-559a90bf1d11" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019ef638-e792-7dcb-bac5-30d48940622b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:to="loc_srt_RangeAxis_019ef638-e792-7dcb-bac5-30d48940622b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019ef638-e792-7dcb-bac5-30d48940622b_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019ef638-e792-7dcb-bac5-30d48940622b" xlink:to="loc_srt_RangeMember_019ef638-e792-7dcb-bac5-30d48940622b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019ef638-e792-7938-9458-f6558dbfeb70" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019ef638-e792-7dcb-bac5-30d48940622b" xlink:to="loc_srt_RangeMember_019ef638-e792-7938-9458-f6558dbfeb70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019ef638-e792-78c4-bbdf-6073ea28a82e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019ef638-e792-7938-9458-f6558dbfeb70" xlink:to="loc_srt_MinimumMember_019ef638-e792-78c4-bbdf-6073ea28a82e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019ef638-e792-7cb6-86bf-039decc1ba4f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019ef638-e792-7938-9458-f6558dbfeb70" xlink:to="loc_srt_MaximumMember_019ef638-e792-7cb6-86bf-039decc1ba4f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_01a01b5e-d9ab-77c0-bd7f-c865d8c142d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-79d4-a53b-1b5093c6d063" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_01a01b5e-d9ab-77c0-bd7f-c865d8c142d2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_01a01b5e-d9ab-77c0-bd7f-c865d8c142d2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_01a01b5e-d9ab-77c0-bd7f-c865d8c142d2" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_01a01b5e-d9ab-77c0-bd7f-c865d8c142d2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_01a01b5f-244a-723d-9de6-1515a1c772e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_01a01b5e-d9ab-77c0-bd7f-c865d8c142d2" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_01a01b5f-244a-723d-9de6-1515a1c772e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_01a01b5f-694b-7fcf-af32-c8de8144a304" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_01a01b5f-244a-723d-9de6-1515a1c772e9" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_01a01b5f-694b-7fcf-af32-c8de8144a304" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_01a01b62-615b-76db-951f-b1189a03ade9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_01a01b5f-244a-723d-9de6-1515a1c772e9" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_01a01b62-615b-76db-951f-b1189a03ade9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodThreeMember_01a01b64-139b-7322-800a-39c8d080de1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_01a01b5f-244a-723d-9de6-1515a1c772e9" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodThreeMember_01a01b64-139b-7322-800a-39c8d080de1d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019ef638-e792-7dd3-9813-91e05a5b08e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019ef638-e792-7dd3-9813-91e05a5b08e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_DebtInstrumentPeriodicPaymentPrincipalPercent_019ef638-e792-7a19-b15a-9c47b95cbeaf" xlink:href="cnm-20260802.xsd#cnm_DebtInstrumentPeriodicPaymentPrincipalPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_cnm_DebtInstrumentPeriodicPaymentPrincipalPercent_019ef638-e792-7a19-b15a-9c47b95cbeaf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019ef638-e792-7447-acb1-7e3740ba413d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019ef638-e792-7447-acb1-7e3740ba413d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_DebtInstrumentSOFRFloor_019ef638-e792-7e51-8c88-376c1ac3d141" xlink:href="cnm-20260802.xsd#cnm_DebtInstrumentSOFRFloor"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_cnm_DebtInstrumentSOFRFloor_019ef638-e792-7e51-8c88-376c1ac3d141" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_019ef638-e792-74e8-8929-9cefed4f681d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_019ef638-e792-74e8-8929-9cefed4f681d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_019ef638-e792-7f76-9229-6e135e355723" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_LongTermDebtFairValue_019ef638-e792-7f76-9229-6e135e355723" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019ef638-e792-74c1-bb53-22fb0db6ca3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019ef638-e792-74c1-bb53-22fb0db6ca3c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_019ef638-e792-71fa-b4ac-1cc79e58bd6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_019ef638-e792-71fa-b4ac-1cc79e58bd6d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019ef638-e792-711d-962d-1dc215198bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_LineOfCredit_019ef638-e792-711d-962d-1dc215198bd8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_01a01b55-3e87-7abf-ae7f-e5844edcd075" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_01a01b55-3e87-7abf-ae7f-e5844edcd075" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_01a01b59-5094-78c9-8567-b0a0e6a4a429" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPricePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentage_01a01b59-5094-78c9-8567-b0a0e6a4a429" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_01a01b69-a524-778c-a420-ff912eff709c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed_01a01b69-a524-778c-a420-ff912eff709c" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_DebtInstrumentCovenantConsolidatedSecuredCoverageRatioMinimum_019ef638-e792-7b6a-b5b3-fd43c34e684d" xlink:href="cnm-20260802.xsd#cnm_DebtInstrumentCovenantConsolidatedSecuredCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_cnm_DebtInstrumentCovenantConsolidatedSecuredCoverageRatioMinimum_019ef638-e792-7b6a-b5b3-fd43c34e684d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_DebtInstrumentCovenantConsolidatedFixedChargeCoverageRatioMinimum_019ef638-e792-7c73-b3a5-0de1d3b3fe99" xlink:href="cnm-20260802.xsd#cnm_DebtInstrumentCovenantConsolidatedFixedChargeCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_cnm_DebtInstrumentCovenantConsolidatedFixedChargeCoverageRatioMinimum_019ef638-e792-7c73-b3a5-0de1d3b3fe99" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_DebtInstrumentCovenantThresholdPercentageOfBorrowingBaseOrCommitmentsForFixedChargeCoverage_019ef638-e792-7488-8a62-ea9e2b5dafe8" xlink:href="cnm-20260802.xsd#cnm_DebtInstrumentCovenantThresholdPercentageOfBorrowingBaseOrCommitmentsForFixedChargeCoverage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-7147-8a15-84e4a74ba372" xlink:to="loc_cnm_DebtInstrumentCovenantThresholdPercentageOfBorrowingBaseOrCommitmentsForFixedChargeCoverage_019ef638-e792-7488-8a62-ea9e2b5dafe8" xlink:type="arc" order="14"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/DebtInterestRateSwapsNarrativeDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#DebtInterestRateSwapsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/DebtInterestRateSwapsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019ef638-e792-74e2-aa7f-776521f6398b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_us-gaap_DebtInstrumentTable_019ef638-e792-74e2-aa7f-776521f6398b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019ef638-e792-7a5f-bd96-5c17c59f3f65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-74e2-aa7f-776521f6398b" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019ef638-e792-7a5f-bd96-5c17c59f3f65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-7a5f-bd96-5c17c59f3f65_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019ef638-e792-7a5f-bd96-5c17c59f3f65" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-7a5f-bd96-5c17c59f3f65_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-7de3-a471-252fe0d3c6ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019ef638-e792-7a5f-bd96-5c17c59f3f65" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-7de3-a471-252fe0d3c6ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_InterestRateSwapTwoMember_019ef638-e792-7073-852e-7112eb1c2ede" xlink:href="cnm-20260802.xsd#cnm_InterestRateSwapTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-7de3-a471-252fe0d3c6ca" xlink:to="loc_cnm_InterestRateSwapTwoMember_019ef638-e792-7073-852e-7112eb1c2ede" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_InterestRateSwapOneMember_019ef638-e792-7c96-82c9-49a2c2918b26" xlink:href="cnm-20260802.xsd#cnm_InterestRateSwapOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019ef638-e792-7de3-a471-252fe0d3c6ca" xlink:to="loc_cnm_InterestRateSwapOneMember_019ef638-e792-7c96-82c9-49a2c2918b26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019ef638-e792-7b49-9807-23b0962a3fe5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-74e2-aa7f-776521f6398b" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019ef638-e792-7b49-9807-23b0962a3fe5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_019ef638-e792-7b49-9807-23b0962a3fe5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019ef638-e792-7b49-9807-23b0962a3fe5" xlink:to="loc_us-gaap_HedgingRelationshipDomain_019ef638-e792-7b49-9807-23b0962a3fe5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_019ef638-e792-7deb-8db2-938d873c134a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019ef638-e792-7b49-9807-23b0962a3fe5" xlink:to="loc_us-gaap_HedgingRelationshipDomain_019ef638-e792-7deb-8db2-938d873c134a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_019ef638-e792-789e-9b84-8d0776cd7b04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_019ef638-e792-7deb-8db2-938d873c134a" xlink:to="loc_us-gaap_CashFlowHedgingMember_019ef638-e792-789e-9b84-8d0776cd7b04" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-7726-8690-96f6818b2b52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-74e2-aa7f-776521f6398b" xlink:to="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-7726-8690-96f6818b2b52" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7726-8690-96f6818b2b52_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-7726-8690-96f6818b2b52" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7726-8690-96f6818b2b52_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7247-ab94-c8b34d851f59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019ef638-e792-7726-8690-96f6818b2b52" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7247-ab94-c8b34d851f59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermLoanDueJuly2028Member_019ef638-e792-7140-9d05-7183c1b0294b" xlink:href="cnm-20260802.xsd#cnm_SeniorTermLoanDueJuly2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019ef638-e792-7247-ab94-c8b34d851f59" xlink:to="loc_cnm_SeniorTermLoanDueJuly2028Member_019ef638-e792-7140-9d05-7183c1b0294b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-7a7b-9f5a-7c15ab56068a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-74e2-aa7f-776521f6398b" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-7a7b-9f5a-7c15ab56068a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7a7b-9f5a-7c15ab56068a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-7a7b-9f5a-7c15ab56068a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7a7b-9f5a-7c15ab56068a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7b28-953f-6ac9632fa506" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019ef638-e792-7a7b-9f5a-7c15ab56068a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7b28-953f-6ac9632fa506" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_019ef638-e792-7ce5-acd5-60956f965fab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019ef638-e792-7b28-953f-6ac9632fa506" xlink:to="loc_us-gaap_LoansPayableMember_019ef638-e792-7ce5-acd5-60956f965fab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_019ef638-e792-75a2-81aa-a5220515cdc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019ef638-e792-74e2-aa7f-776521f6398b" xlink:to="loc_us-gaap_VariableRateAxis_019ef638-e792-75a2-81aa-a5220515cdc3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019ef638-e792-75a2-81aa-a5220515cdc3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_019ef638-e792-75a2-81aa-a5220515cdc3" xlink:to="loc_us-gaap_VariableRateDomain_019ef638-e792-75a2-81aa-a5220515cdc3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019ef638-e792-7e6e-b48d-e3bb2c79caa6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_019ef638-e792-75a2-81aa-a5220515cdc3" xlink:to="loc_us-gaap_VariableRateDomain_019ef638-e792-7e6e-b48d-e3bb2c79caa6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019ef638-e792-7407-93d4-31948a82ee4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019ef638-e792-7e6e-b48d-e3bb2c79caa6" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019ef638-e792-7407-93d4-31948a82ee4a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFixedInterestRate_019ef638-e792-78dc-9ef3-e736385a668a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFixedInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_us-gaap_DerivativeFixedInterestRate_019ef638-e792-78dc-9ef3-e736385a668a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_019ef638-e792-7bd2-8516-b5738d2d0a7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_019ef638-e792-7bd2-8516-b5738d2d0a7e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_019ef638-e792-7d61-8834-1cc11875c0d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_019ef638-e792-7d61-8834-1cc11875c0d3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019ef638-e792-7ba1-8181-a56dfb8b4040" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019ef638-e792-7ba1-8181-a56dfb8b4040" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_DerivativeSettledNotionalAmount_01a043fc-049e-7be4-8ea0-2eec4d82876e" xlink:href="cnm-20260802.xsd#cnm_DerivativeSettledNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_cnm_DerivativeSettledNotionalAmount_01a043fc-049e-7be4-8ea0-2eec4d82876e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue_019ef638-e792-78c3-8b64-6a406e1c602d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_us-gaap_CashFlowHedgeDerivativeInstrumentAssetsAtFairValue_019ef638-e792-78c3-8b64-6a406e1c602d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue_019ef638-e792-7e79-99ce-4f7a7f076dc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_us-gaap_CashFlowHedgeDerivativeInstrumentLiabilitiesAtFairValue_019ef638-e792-7e79-99ce-4f7a7f076dc0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_019ef638-e792-7c03-b805-873d62f27ce4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019ef638-e792-792b-ac0c-e7d07f1799d3" xlink:to="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_019ef638-e792-7c03-b805-873d62f27ce4" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/DebtAccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#DebtAccumulatedOtherComprehensiveIncomeLossDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/DebtAccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019ef638-e792-7176-8421-f5b4c22acd11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019ef638-e792-7a4f-a39d-0f8669964b80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019ef638-e792-7176-8421-f5b4c22acd11" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019ef638-e792-7a4f-a39d-0f8669964b80" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019ef638-e792-76e6-b613-a45ace463281" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019ef638-e792-7a4f-a39d-0f8669964b80" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019ef638-e792-76e6-b613-a45ace463281" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019ef638-e792-76e6-b613-a45ace463281_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019ef638-e792-76e6-b613-a45ace463281" xlink:to="loc_us-gaap_EquityComponentDomain_019ef638-e792-76e6-b613-a45ace463281_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019ef638-e792-7cec-9de0-69105e0b254f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019ef638-e792-76e6-b613-a45ace463281" xlink:to="loc_us-gaap_EquityComponentDomain_019ef638-e792-7cec-9de0-69105e0b254f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossCashFlowHedgeIncludingNoncontrollingInterestMember_019ef638-e792-71ca-a393-8812513d8588" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedGainLossCashFlowHedgeIncludingNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019ef638-e792-7cec-9de0-69105e0b254f" xlink:to="loc_us-gaap_AccumulatedGainLossCashFlowHedgeIncludingNoncontrollingInterestMember_019ef638-e792-71ca-a393-8812513d8588" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019ef638-e792-7693-a440-828755ffb84b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019ef638-e792-7176-8421-f5b4c22acd11" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019ef638-e792-7693-a440-828755ffb84b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ef638-e792-745e-ba4b-fd82dbff885d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019ef638-e792-7693-a440-828755ffb84b" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ef638-e792-745e-ba4b-fd82dbff885d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_019ef638-e792-7feb-98f0-db062194e536" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019ef638-e792-7693-a440-828755ffb84b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_019ef638-e792-7feb-98f0-db062194e536" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_019ef638-e792-76cb-85e2-659950cdfe3a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019ef638-e792-7693-a440-828755ffb84b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_019ef638-e792-76cb-85e2-659950cdfe3a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxEffectPeriodIncreaseDecreaseAbstract_019ef638-e792-7d42-b1ab-65170e991fb6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxEffectPeriodIncreaseDecreaseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019ef638-e792-7693-a440-828755ffb84b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxEffectPeriodIncreaseDecreaseAbstract_019ef638-e792-7d42-b1ab-65170e991fb6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax_019ef638-e792-7c09-b19b-547bffefcd4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxEffectPeriodIncreaseDecreaseAbstract_019ef638-e792-7d42-b1ab-65170e991fb6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationTax_019ef638-e792-7c09-b19b-547bffefcd4e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax_019ef638-e792-7ac8-bc56-7bb61017da00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesTaxEffectPeriodIncreaseDecreaseAbstract_019ef638-e792-7d42-b1ab-65170e991fb6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationTax_019ef638-e792-7ac8-bc56-7bb61017da00" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ef638-e792-769b-9cf0-e2662e5fce06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/IncomeTaxesDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#IncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/IncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxContingencyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_019ef638-e792-76d3-bb39-9a822f9ba516" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxContingencyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_019ef638-e792-76d3-bb39-9a822f9ba516" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019ef638-e792-726a-85d0-fb52c427f48f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_019ef638-e792-76d3-bb39-9a822f9ba516" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019ef638-e792-726a-85d0-fb52c427f48f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e792-726a-85d0-fb52c427f48f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e792-726a-85d0-fb52c427f48f" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e792-726a-85d0-fb52c427f48f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019ef638-e792-7bb6-a4fb-d929eee4a033" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019ef638-e792-726a-85d0-fb52c427f48f" xlink:to="loc_us-gaap_ClassOfStockDomain_019ef638-e792-7bb6-a4fb-d929eee4a033" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_019ef638-e792-7831-a8fa-b8e68f0fa647" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019ef638-e792-7bb6-a4fb-d929eee4a033" xlink:to="loc_us-gaap_CommonClassAMember_019ef638-e792-7831-a8fa-b8e68f0fa647" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019ef638-e792-7ea3-bb5d-d7c387162273" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_019ef638-e792-76d3-bb39-9a822f9ba516" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019ef638-e792-7ea3-bb5d-d7c387162273" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_019ef638-e792-7ea3-bb5d-d7c387162273_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019ef638-e792-7ea3-bb5d-d7c387162273" xlink:to="loc_us-gaap_RelatedPartyDomain_019ef638-e792-7ea3-bb5d-d7c387162273_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_019ef638-e792-70d1-a99f-4d51704fed85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019ef638-e792-7ea3-bb5d-d7c387162273" xlink:to="loc_us-gaap_RelatedPartyDomain_019ef638-e792-70d1-a99f-4d51704fed85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedPartnerMember_019ef638-e792-7b6c-b5a0-8b5923a9cc9b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LimitedPartnerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_019ef638-e792-70d1-a99f-4d51704fed85" xlink:to="loc_us-gaap_LimitedPartnerMember_019ef638-e792-7b6c-b5a0-8b5923a9cc9b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_ContinuingLimitedPartnersMember_019ef638-e792-70c2-9e49-ab59c025cc01" xlink:href="cnm-20260802.xsd#cnm_ContinuingLimitedPartnersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_019ef638-e792-70d1-a99f-4d51704fed85" xlink:to="loc_cnm_ContinuingLimitedPartnersMember_019ef638-e792-70c2-9e49-ab59c025cc01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_01a01b9a-fa68-7db3-b861-8b080cc028f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_019ef638-e792-76d3-bb39-9a822f9ba516" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_01a01b9a-fa68-7db3-b861-8b080cc028f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_01a01b9a-fa68-7db3-b861-8b080cc028f9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_01a01b9a-fa68-7db3-b861-8b080cc028f9" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_01a01b9a-fa68-7db3-b861-8b080cc028f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_01a01b9c-2a38-78a2-9f46-569cb8a6c36d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_01a01b9a-fa68-7db3-b861-8b080cc028f9" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_01a01b9c-2a38-78a2-9f46-569cb8a6c36d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_01a01b9c-d839-7368-8eb7-648b3ebad30e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_01a01b9c-2a38-78a2-9f46-569cb8a6c36d" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_01a01b9c-d839-7368-8eb7-648b3ebad30e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCurrentLiabilitiesMember_01a01ba0-4bbe-7765-86cc-a6bc92ebc256" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherCurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_01a01b9c-2a38-78a2-9f46-569cb8a6c36d" xlink:to="loc_us-gaap_OtherCurrentLiabilitiesMember_01a01ba0-4bbe-7765-86cc-a6bc92ebc256" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019ef638-e792-7de3-8e67-95b57849a104" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_019ef638-e792-7de3-8e67-95b57849a104" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_TaxReceivableAgreementsPaymentToLimitedPartnersOfRealizedCompanyTaxBenefitsPercent_019ef638-e792-7439-a9fa-69b5d8af792e" xlink:href="cnm-20260802.xsd#cnm_TaxReceivableAgreementsPaymentToLimitedPartnersOfRealizedCompanyTaxBenefitsPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_TaxReceivableAgreementsPaymentToLimitedPartnersOfRealizedCompanyTaxBenefitsPercent_019ef638-e792-7439-a9fa-69b5d8af792e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_TaxBenefitArrangementPayable_019ef638-e792-7dfb-aba8-9fc94d4303ea" xlink:href="cnm-20260802.xsd#cnm_TaxBenefitArrangementPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_TaxBenefitArrangementPayable_019ef638-e792-7dfb-aba8-9fc94d4303ea" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_TaxBenefitArrangementPayableCurrent_019ef638-e792-7644-8850-1ddefd350cbe" xlink:href="cnm-20260802.xsd#cnm_TaxBenefitArrangementPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_TaxBenefitArrangementPayableCurrent_019ef638-e792-7644-8850-1ddefd350cbe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharePrice_019ef638-e792-74d9-9c32-aaa9efa49f9a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_us-gaap_SharePrice_019ef638-e792-74d9-9c32-aaa9efa49f9a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_TaxReceivableAgreementsProFormaTaxRatePerAgreement_019ef638-e792-7692-a261-9e66e541d48f" xlink:href="cnm-20260802.xsd#cnm_TaxReceivableAgreementsProFormaTaxRatePerAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_TaxReceivableAgreementsProFormaTaxRatePerAgreement_019ef638-e792-7692-a261-9e66e541d48f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_TaxReceivableAgreementsEstimatedDeferredTaxAssetTargetPerAgreement_019ef638-e792-7eb7-84f0-b7dc733bf263" xlink:href="cnm-20260802.xsd#cnm_TaxReceivableAgreementsEstimatedDeferredTaxAssetTargetPerAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_TaxReceivableAgreementsEstimatedDeferredTaxAssetTargetPerAgreement_019ef638-e792-7eb7-84f0-b7dc733bf263" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_TaxReceivableAgreementsEstimatedTaxLiabilityPerAgreement_019ef638-e792-7fd6-98ce-f62a261d8ca5" xlink:href="cnm-20260802.xsd#cnm_TaxReceivableAgreementsEstimatedTaxLiabilityPerAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_TaxReceivableAgreementsEstimatedTaxLiabilityPerAgreement_019ef638-e792-7fd6-98ce-f62a261d8ca5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_DeferredTaxLiabilityEstimatedIncreaseDueToExchangeOfPartnershipInterests_019ef638-e792-7acc-8765-fda389830991" xlink:href="cnm-20260802.xsd#cnm_DeferredTaxLiabilityEstimatedIncreaseDueToExchangeOfPartnershipInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_DeferredTaxLiabilityEstimatedIncreaseDueToExchangeOfPartnershipInterests_019ef638-e792-7acc-8765-fda389830991" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_PaymentsForInvestmentInTaxAdvantagedLimitedPartnerships_01a01b8f-10bb-7b69-ba13-1b8829b678b9" xlink:href="cnm-20260802.xsd#cnm_PaymentsForInvestmentInTaxAdvantagedLimitedPartnerships"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_PaymentsForInvestmentInTaxAdvantagedLimitedPartnerships_01a01b8f-10bb-7b69-ba13-1b8829b678b9" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxCreditsAndAdjustments_01a01b90-c229-7f6d-8f26-24caedff904b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxCreditsAndAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_us-gaap_IncomeTaxCreditsAndAdjustments_01a01b90-c229-7f6d-8f26-24caedff904b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_EffectiveIncomeTaxRateReconciliationInvestmentsInLimitedPartnershipsAmortization_01a01b97-54f8-78f6-a474-89eceeb78b5c" xlink:href="cnm-20260802.xsd#cnm_EffectiveIncomeTaxRateReconciliationInvestmentsInLimitedPartnershipsAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_EffectiveIncomeTaxRateReconciliationInvestmentsInLimitedPartnershipsAmortization_01a01b97-54f8-78f6-a474-89eceeb78b5c" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_InvestmentInTaxAdvantagedLimitedPartnership_01a01b99-ff11-7aa2-a311-5ba022155e10" xlink:href="cnm-20260802.xsd#cnm_InvestmentInTaxAdvantagedLimitedPartnership"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_InvestmentInTaxAdvantagedLimitedPartnership_01a01b99-ff11-7aa2-a311-5ba022155e10" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_InvestmentInTaxAdvantagedLimitedPartnershipPayable_01a01b9e-0ec0-702d-872e-313082d624d4" xlink:href="cnm-20260802.xsd#cnm_InvestmentInTaxAdvantagedLimitedPartnershipPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019ef638-e792-7957-8cbc-9a254f9f86ed" xlink:to="loc_cnm_InvestmentInTaxAdvantagedLimitedPartnershipPayable_01a01b9e-0ec0-702d-872e-313082d624d4" xlink:type="arc" order="13"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/NoncontrollingInterestsDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#NoncontrollingInterestsDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/NoncontrollingInterestsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_019ef638-e792-73ed-86a2-5f3c13185d1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_019ef638-e792-77f6-a71c-c3c5aa049f6c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_019ef638-e792-73ed-86a2-5f3c13185d1e" xlink:to="loc_us-gaap_MinorityInterestTable_019ef638-e792-77f6-a71c-c3c5aa049f6c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_019ef638-e792-7538-81c1-ef96b999ac09" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_019ef638-e792-77f6-a71c-c3c5aa049f6c" xlink:to="loc_srt_OwnershipAxis_019ef638-e792-7538-81c1-ef96b999ac09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_019ef638-e792-7538-81c1-ef96b999ac09_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_019ef638-e792-7538-81c1-ef96b999ac09" xlink:to="loc_srt_OwnershipDomain_019ef638-e792-7538-81c1-ef96b999ac09_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_019ef638-e792-72e3-9a2a-7278cb917e88" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_019ef638-e792-7538-81c1-ef96b999ac09" xlink:to="loc_srt_OwnershipDomain_019ef638-e792-72e3-9a2a-7278cb917e88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_CoreAndMainHoldingsLPMember_019ef638-e792-7f73-bb53-4912b2c77abc" xlink:href="cnm-20260802.xsd#cnm_CoreAndMainHoldingsLPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_019ef638-e792-72e3-9a2a-7278cb917e88" xlink:to="loc_cnm_CoreAndMainHoldingsLPMember_019ef638-e792-7f73-bb53-4912b2c77abc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019ef638-e792-7cab-895e-2ac4a40287ad" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_019ef638-e792-77f6-a71c-c3c5aa049f6c" xlink:to="loc_dei_LegalEntityAxis_019ef638-e792-7cab-895e-2ac4a40287ad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019ef638-e792-7cab-895e-2ac4a40287ad_default" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019ef638-e792-7cab-895e-2ac4a40287ad" xlink:to="loc_dei_EntityDomain_019ef638-e792-7cab-895e-2ac4a40287ad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019ef638-e792-7980-bec4-c570990c57be" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019ef638-e792-7cab-895e-2ac4a40287ad" xlink:to="loc_dei_EntityDomain_019ef638-e792-7980-bec4-c570990c57be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_ContinuingLimitedPartnersHoldingsMember_019ef638-e792-76f3-a6e3-9db00871a74a" xlink:href="cnm-20260802.xsd#cnm_ContinuingLimitedPartnersHoldingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019ef638-e792-7980-bec4-c570990c57be" xlink:to="loc_cnm_ContinuingLimitedPartnersHoldingsMember_019ef638-e792-76f3-a6e3-9db00871a74a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_019ef638-e792-72a0-9f63-42127c2c9720" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_019ef638-e792-73ed-86a2-5f3c13185d1e" xlink:to="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_019ef638-e792-72a0-9f63-42127c2c9720" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://coreandmain.com/role/SubsequentEventsDetails" xlink:type="simple" xlink:href="cnm-20260802.xsd#SubsequentEventsDetails"/>
  <link:definitionLink xlink:role="http://coreandmain.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_019ef638-e792-7921-964b-c12c65c4afaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_019ef638-e792-7017-a6b6-0273dafde57e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_019ef638-e792-7921-964b-c12c65c4afaf" xlink:to="loc_us-gaap_SubsequentEventTable_019ef638-e792-7017-a6b6-0273dafde57e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_01a01b8a-1289-72c9-a211-81ee12d8c274" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019ef638-e792-7017-a6b6-0273dafde57e" xlink:to="loc_us-gaap_DebtInstrumentAxis_01a01b8a-1289-72c9-a211-81ee12d8c274" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a01b8a-1289-72c9-a211-81ee12d8c274_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_01a01b8a-1289-72c9-a211-81ee12d8c274" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a01b8a-1289-72c9-a211-81ee12d8c274_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a01b8a-5385-705d-85e2-9ed9763c676a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_01a01b8a-1289-72c9-a211-81ee12d8c274" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a01b8a-5385-705d-85e2-9ed9763c676a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_cnm_SeniorTermLoanDueFebruary2031Member_01a01b8a-9718-7054-9c45-658c1a8d2155" xlink:href="cnm-20260802.xsd#cnm_SeniorTermLoanDueFebruary2031Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_01a01b8a-5385-705d-85e2-9ed9763c676a" xlink:to="loc_cnm_SeniorTermLoanDueFebruary2031Member_01a01b8a-9718-7054-9c45-658c1a8d2155" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_01a01b8a-d5d5-727a-b7af-ecef24ce1901" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019ef638-e792-7017-a6b6-0273dafde57e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_01a01b8a-d5d5-727a-b7af-ecef24ce1901" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_01a01b8a-d5d5-727a-b7af-ecef24ce1901_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_01a01b8a-d5d5-727a-b7af-ecef24ce1901" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_01a01b8a-d5d5-727a-b7af-ecef24ce1901_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_01a01b8b-03c6-7b9d-a8ba-132f27d1a1aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_01a01b8a-d5d5-727a-b7af-ecef24ce1901" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_01a01b8b-03c6-7b9d-a8ba-132f27d1a1aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_01a01b8b-4797-795d-a9f4-592dafe5a375" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_01a01b8b-03c6-7b9d-a8ba-132f27d1a1aa" xlink:to="loc_us-gaap_LoansPayableMember_01a01b8b-4797-795d-a9f4-592dafe5a375" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_019ef638-e792-738a-98a0-3618bb4eefcc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019ef638-e792-7017-a6b6-0273dafde57e" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_019ef638-e792-738a-98a0-3618bb4eefcc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019ef638-e792-738a-98a0-3618bb4eefcc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019ef638-e792-738a-98a0-3618bb4eefcc" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019ef638-e792-738a-98a0-3618bb4eefcc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019ef638-e792-7690-9bb0-c9c552a980d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019ef638-e792-738a-98a0-3618bb4eefcc" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019ef638-e792-7690-9bb0-c9c552a980d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_019ef638-e792-7128-87cc-496d1bf93058" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_019ef638-e792-7690-9bb0-c9c552a980d0" xlink:to="loc_us-gaap_SubsequentEventMember_019ef638-e792-7128-87cc-496d1bf93058" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_01a01b89-af41-7a64-b905-ec6e244005e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019ef638-e792-7921-964b-c12c65c4afaf" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_01a01b89-af41-7a64-b905-ec6e244005e8" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
