<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.cdw.com/role/CommitmentsAndContingencies" xlink:href="cdw-20200331.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ConsolidatedBalanceSheets" xlink:href="cdw-20200331.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ConsolidatedBalanceSheetsParentheticals" xlink:href="cdw-20200331.xsd#ConsolidatedBalanceSheetsParentheticals" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ConsolidatedStatementOfShareholdersEquityUnaudited" xlink:href="cdw-20200331.xsd#ConsolidatedStatementOfShareholdersEquityUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="cdw-20200331.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:href="cdw-20200331.xsd#ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ConsolidatedStatementsOfOperationsUnaudited" xlink:href="cdw-20200331.xsd#ConsolidatedStatementsOfOperationsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ConsolidatedStatementsOfShareholdersEquityUnauditedParenthetical" xlink:href="cdw-20200331.xsd#ConsolidatedStatementsOfShareholdersEquityUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ContractLiabilitiesAndPerformanceObligations" xlink:href="cdw-20200331.xsd#ContractLiabilitiesAndPerformanceObligations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ContractLiabilitiesAndPerformanceObligationsNarrativeDetails" xlink:href="cdw-20200331.xsd#ContractLiabilitiesAndPerformanceObligationsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ContractLiabilitiesAndPerformanceObligationsScheduleOfRemainingPerformanceObligationsDetails" xlink:href="cdw-20200331.xsd#ContractLiabilitiesAndPerformanceObligationsScheduleOfRemainingPerformanceObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/ContractLiabilitiesAndPerformanceObligationsTables" xlink:href="cdw-20200331.xsd#ContractLiabilitiesAndPerformanceObligationsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/CoverPage" xlink:href="cdw-20200331.xsd#CoverPage" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/DescriptionOfBusinessAndSummaryOfSignificantAccountingPolicies" xlink:href="cdw-20200331.xsd#DescriptionOfBusinessAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="cdw-20200331.xsd#DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="cdw-20200331.xsd#DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesTables" xlink:href="cdw-20200331.xsd#DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/EarningsPerShare" xlink:href="cdw-20200331.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/EarningsPerShareDetails" xlink:href="cdw-20200331.xsd#EarningsPerShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/EarningsPerShareTables" xlink:href="cdw-20200331.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/FinancialInstruments" xlink:href="cdw-20200331.xsd#FinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/FinancialInstrumentsNarrativeDetails" xlink:href="cdw-20200331.xsd#FinancialInstrumentsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/IncomeTaxes" xlink:href="cdw-20200331.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/IncomeTaxesNarrativeDetails" xlink:href="cdw-20200331.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/InventoryFinancingAgreements" xlink:href="cdw-20200331.xsd#InventoryFinancingAgreements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/InventoryFinancingAgreementsDetails" xlink:href="cdw-20200331.xsd#InventoryFinancingAgreementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/InventoryFinancingAgreementsTables" xlink:href="cdw-20200331.xsd#InventoryFinancingAgreementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/LongTermDebt" xlink:href="cdw-20200331.xsd#LongTermDebt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/LongTermDebtDebtBalancesAndInterestRatesDetails" xlink:href="cdw-20200331.xsd#LongTermDebtDebtBalancesAndInterestRatesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/LongTermDebtFairValueOfLongTermDebtDetails" xlink:href="cdw-20200331.xsd#LongTermDebtFairValueOfLongTermDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/LongTermDebtNarrativeDetails" xlink:href="cdw-20200331.xsd#LongTermDebtNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/LongTermDebtTables" xlink:href="cdw-20200331.xsd#LongTermDebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/RecentAccountingPronouncements" xlink:href="cdw-20200331.xsd#RecentAccountingPronouncements" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/SegmentInformation" xlink:href="cdw-20200331.xsd#SegmentInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/SegmentInformationDisaggregationOfRevenueDetails" xlink:href="cdw-20200331.xsd#SegmentInformationDisaggregationOfRevenueDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/SegmentInformationNarrativeDetails" xlink:href="cdw-20200331.xsd#SegmentInformationNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/SegmentInformationScheduleOfSegmentInformationDetails" xlink:href="cdw-20200331.xsd#SegmentInformationScheduleOfSegmentInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/SegmentInformationTables" xlink:href="cdw-20200331.xsd#SegmentInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/SubsequentEvents" xlink:href="cdw-20200331.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://www.cdw.com/role/SubsequentEventsDetails" xlink:href="cdw-20200331.xsd#SubsequentEventsDetails" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ConsolidatedBalanceSheetsParentheticals" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ConsolidatedStatementOfShareholdersEquityUnaudited" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_F28775091CBD7CBD867EBD06FB2E7D32" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_735F4C817DEA649E4AA4BD06FB2B688A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_F28775091CBD7CBD867EBD06FB2E7D32" xlink:to="loc_us-gaap_StatementTable_735F4C817DEA649E4AA4BD06FB2B688A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CumulativeEffectPeriodofAdoptionAxis" xlink:label="loc_cdw_CumulativeEffectPeriodofAdoptionAxis_AF024C63705B70CC980EBD06FB2C1835" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_735F4C817DEA649E4AA4BD06FB2B688A" xlink:to="loc_cdw_CumulativeEffectPeriodofAdoptionAxis_AF024C63705B70CC980EBD06FB2C1835" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CumulativeEffectPeriodofAdoptionDomain" xlink:label="loc_cdw_CumulativeEffectPeriodofAdoptionDomain_AAF853441D4D67770EEEBD06FB2CBEAE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_cdw_CumulativeEffectPeriodofAdoptionAxis_AF024C63705B70CC980EBD06FB2C1835" xlink:to="loc_cdw_CumulativeEffectPeriodofAdoptionDomain_AAF853441D4D67770EEEBD06FB2CBEAE_default" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CumulativeEffectPeriodofAdoptionDomain" xlink:label="loc_cdw_CumulativeEffectPeriodofAdoptionDomain_AAF853441D4D67770EEEBD06FB2CBEAE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_cdw_CumulativeEffectPeriodofAdoptionAxis_AF024C63705B70CC980EBD06FB2C1835" xlink:to="loc_cdw_CumulativeEffectPeriodofAdoptionDomain_AAF853441D4D67770EEEBD06FB2CBEAE" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CumulativeEffectPeriodofAdoptionAdjustmentMember" xlink:label="loc_cdw_CumulativeEffectPeriodofAdoptionAdjustmentMember_7CC98F4E3F0444228F4DBD06FB2CFC56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_CumulativeEffectPeriodofAdoptionDomain_AAF853441D4D67770EEEBD06FB2CBEAE" xlink:to="loc_cdw_CumulativeEffectPeriodofAdoptionAdjustmentMember_7CC98F4E3F0444228F4DBD06FB2CFC56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_E85986AD2C4C5675F8F4BD06FB2DBEBF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_735F4C817DEA649E4AA4BD06FB2B688A" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_E85986AD2C4C5675F8F4BD06FB2DBEBF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B60E3F091B5BFEE2F539BD06FB2D3604_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_E85986AD2C4C5675F8F4BD06FB2DBEBF" xlink:to="loc_us-gaap_EquityComponentDomain_B60E3F091B5BFEE2F539BD06FB2D3604_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_B60E3F091B5BFEE2F539BD06FB2D3604" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_E85986AD2C4C5675F8F4BD06FB2DBEBF" xlink:to="loc_us-gaap_EquityComponentDomain_B60E3F091B5BFEE2F539BD06FB2D3604" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_CC8877277BFA938D1D9CBD06FB2D2991" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B60E3F091B5BFEE2F539BD06FB2D3604" xlink:to="loc_us-gaap_CommonStockMember_CC8877277BFA938D1D9CBD06FB2D2991" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_461F023BF0B476026A84BD06FB2DF518" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B60E3F091B5BFEE2F539BD06FB2D3604" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_461F023BF0B476026A84BD06FB2DF518" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_3D47CC89125FF14A585ABD06FB2DFACA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B60E3F091B5BFEE2F539BD06FB2D3604" xlink:to="loc_us-gaap_RetainedEarningsMember_3D47CC89125FF14A585ABD06FB2DFACA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_74073DAF8091A0C48F28BD06FB2E43D5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_B60E3F091B5BFEE2F539BD06FB2D3604" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_74073DAF8091A0C48F28BD06FB2E43D5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_F28775091CBD7CBD867EBD06FB2E7D32" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaap_SharesIssued_660808C04B94791B2193BD06FB2EB179" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_SharesIssued_660808C04B94791B2193BD06FB2EB179" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_8C2DC3AB2C759DE28059BD06FB2F847C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_StockholdersEquity_8C2DC3AB2C759DE28059BD06FB2F847C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_AE4567A925228E671EB5BD06FB2F31C3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_NetIncomeLoss_AE4567A925228E671EB5BD06FB2F31C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_081E756BFCF5A01F04B4BD06FB2F6721" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_081E756BFCF5A01F04B4BD06FB2F6721" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_4B0CFA94CFFD7D610AACBD06FB2FA2A6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_4B0CFA94CFFD7D610AACBD06FB2FA2A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_CCE4FF0AE6189DBF3756BD06FB2F0AFB" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_CCE4FF0AE6189DBF3756BD06FB2F0AFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_3050503FEDC7BB134613BD06FB2F9220" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_3050503FEDC7BB134613BD06FB2F9220" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_F7A3C81D669F49898368BD06FB300DF6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_F7A3C81D669F49898368BD06FB300DF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_6B5E0106B9D58C0B2A0ABD06FB30CD71" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_6B5E0106B9D58C0B2A0ABD06FB30CD71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsCommonStock" xlink:label="loc_us-gaap_DividendsCommonStock_F8AF5A1F55AF4DA851FFBD06FB30FE3F" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_DividendsCommonStock_F8AF5A1F55AF4DA851FFBD06FB30FE3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_1434D745570AB307B2A7BD06FB308F75" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_1434D745570AB307B2A7BD06FB308F75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_40CCD1D1BC59D265A7EFBD06FB30258F" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_40CCD1D1BC59D265A7EFBD06FB30258F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_F4D6B29C653EB84FBB89BD06FB31CF87" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_F4D6B29C653EB84FBB89BD06FB31CF87" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_D4A3F1DBCCD64438762CBDBC6219C6BB" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_541A1C680FB2A2C839CDBD06FB2E2236" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_D4A3F1DBCCD64438762CBDBC6219C6BB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ConsolidatedStatementsOfComprehensiveIncomeUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ConsolidatedStatementsOfOperationsUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ConsolidatedStatementsOfShareholdersEquityUnauditedParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ContractLiabilitiesAndPerformanceObligations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ContractLiabilitiesAndPerformanceObligationsNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/ContractLiabilitiesAndPerformanceObligationsScheduleOfRemainingPerformanceObligationsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_7AD5C90BED585C819755DD43F4793EFC" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_315E49FE47995DC1A018D7A97661F268" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_7AD5C90BED585C819755DD43F4793EFC" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_315E49FE47995DC1A018D7A97661F268" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_CB8BDF5E22DC5543A56D942316906F8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_315E49FE47995DC1A018D7A97661F268" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_CB8BDF5E22DC5543A56D942316906F8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_84D4D85A9E0C5DFE9C0B13B561AE0B16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_7AD5C90BED585C819755DD43F4793EFC" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_84D4D85A9E0C5DFE9C0B13B561AE0B16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligation" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_627C610651B15007A0465FE706DCC296" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_7AD5C90BED585C819755DD43F4793EFC" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_627C610651B15007A0465FE706DCC296" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/ContractLiabilitiesAndPerformanceObligationsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/CoverPage" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/DescriptionOfBusinessAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/DescriptionOfBusinessAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/EarningsPerShare" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/EarningsPerShareDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/FinancialInstruments" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/FinancialInstrumentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_863C11E4A21927393467E0EF82FF95B6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_E9FE253826D9C3B563E0E0EF82FD9ABB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_863C11E4A21927393467E0EF82FF95B6" xlink:to="loc_us-gaap_DerivativeTable_E9FE253826D9C3B563E0E0EF82FD9ABB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_7E721738C5E83004D730E0EF82FDF246" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_E9FE253826D9C3B563E0E0EF82FD9ABB" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_7E721738C5E83004D730E0EF82FDF246" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_7E721738C5E83004D730E0EF82FDF246" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_7E721738C5E83004D730E0EF82FDF246" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateCapMember" xlink:label="loc_us-gaap_InterestRateCapMember_8E17942E41F640E6FD18E0EF82FE3C3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09" xlink:to="loc_us-gaap_InterestRateCapMember_8E17942E41F640E6FD18E0EF82FE3C3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateContractMember" xlink:label="loc_us-gaap_InterestRateContractMember_C9171C8EEC34B9F28414E0EF82FE2497" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09" xlink:to="loc_us-gaap_InterestRateContractMember_C9171C8EEC34B9F28414E0EF82FE2497" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeMember" xlink:label="loc_us-gaap_DerivativeMember_60B115E9D4FACAECE937E0EF82FE9BB7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09" xlink:to="loc_us-gaap_DerivativeMember_60B115E9D4FACAECE937E0EF82FE9BB7" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InterestRateCapAgreementEffectiveDecember312020ThroughDecember312022Member" xlink:label="loc_cdw_InterestRateCapAgreementEffectiveDecember312020ThroughDecember312022Member_C10C27A3C6A018886F09E0EF82FF7637" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09" xlink:to="loc_cdw_InterestRateCapAgreementEffectiveDecember312020ThroughDecember312022Member_C10C27A3C6A018886F09E0EF82FF7637" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InterestRateCapAgreementEffectiveDecember312018ThroughDecember312020Member" xlink:label="loc_cdw_InterestRateCapAgreementEffectiveDecember312018ThroughDecember312020Member_77095F8088A6F9F1DF42E0EF82FFD408" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_FB89302CA5D7490E466AE0EF82FDDC09" xlink:to="loc_cdw_InterestRateCapAgreementEffectiveDecember312018ThroughDecember312020Member_77095F8088A6F9F1DF42E0EF82FFD408" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_9E390D8335DC1422F67EE0EF82FF25E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_863C11E4A21927393467E0EF82FF95B6" xlink:to="loc_us-gaap_DerivativeAssets_9E390D8335DC1422F67EE0EF82FF25E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeNotionalAmount" xlink:label="loc_us-gaap_DerivativeNotionalAmount_867147C5D0A3EE92CDBAE0EF82FFC78A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_863C11E4A21927393467E0EF82FF95B6" xlink:to="loc_us-gaap_DerivativeNotionalAmount_867147C5D0A3EE92CDBAE0EF82FFC78A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_70EB1589EA6FC195964CE1158E56830F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_863C11E4A21927393467E0EF82FF95B6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_70EB1589EA6FC195964CE1158E56830F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateCashFlowHedgeGainLossReclassifiedToEarningsNet" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeGainLossReclassifiedToEarningsNet_275F138095A43F39FDA3E0EF8300A983" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_863C11E4A21927393467E0EF82FF95B6" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeGainLossReclassifiedToEarningsNet_275F138095A43F39FDA3E0EF8300A983" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths" xlink:label="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_E7D51415F0CAAE4E2E5BE0EF8300A592" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_863C11E4A21927393467E0EF82FF95B6" xlink:to="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_E7D51415F0CAAE4E2E5BE0EF8300A592" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/InventoryFinancingAgreements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/InventoryFinancingAgreementsDetails" xlink:type="extended">
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InventoryFinancingAgreementsLineItems" xlink:label="loc_cdw_InventoryFinancingAgreementsLineItems_46AE613768295C3DB504E45D49C8A813" xlink:type="locator" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InventoryFinancingAgreementsTable" xlink:label="loc_cdw_InventoryFinancingAgreementsTable_AE4E7B561F8E5B94A8436DB6D38BDB08" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_cdw_InventoryFinancingAgreementsLineItems_46AE613768295C3DB504E45D49C8A813" xlink:to="loc_cdw_InventoryFinancingAgreementsTable_AE4E7B561F8E5B94A8436DB6D38BDB08" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InventoryFinancingAgreementsAxis" xlink:label="loc_cdw_InventoryFinancingAgreementsAxis_05A178BDD5835823AACE48A964492A2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_cdw_InventoryFinancingAgreementsTable_AE4E7B561F8E5B94A8436DB6D38BDB08" xlink:to="loc_cdw_InventoryFinancingAgreementsAxis_05A178BDD5835823AACE48A964492A2A" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InventoryFinancingAgreementsDomain" xlink:label="loc_cdw_InventoryFinancingAgreementsDomain_E17A9086CFE6740E4F50EF18E2BBDDC0_DF018F55DFF057E1BE3570AD49F81529" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_cdw_InventoryFinancingAgreementsAxis_05A178BDD5835823AACE48A964492A2A" xlink:to="loc_cdw_InventoryFinancingAgreementsDomain_E17A9086CFE6740E4F50EF18E2BBDDC0_DF018F55DFF057E1BE3570AD49F81529" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InventoryFinancingAgreementsDomain" xlink:label="loc_cdw_InventoryFinancingAgreementsDomain_ECF00CA3ABF55AAA8FBF836BAF7479D7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_cdw_InventoryFinancingAgreementsAxis_05A178BDD5835823AACE48A964492A2A" xlink:to="loc_cdw_InventoryFinancingAgreementsDomain_ECF00CA3ABF55AAA8FBF836BAF7479D7" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_AccountsPayableInventoryFinancingMember" xlink:label="loc_cdw_AccountsPayableInventoryFinancingMember_D24A6A5C1D25514AA6BFAB3230630F9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_InventoryFinancingAgreementsDomain_ECF00CA3ABF55AAA8FBF836BAF7479D7" xlink:to="loc_cdw_AccountsPayableInventoryFinancingMember_D24A6A5C1D25514AA6BFAB3230630F9A" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_RevolvingLoanFinancingAgreement" xlink:label="loc_cdw_RevolvingLoanFinancingAgreement_D9225F3D7D035A129547CA29253F2FA1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_InventoryFinancingAgreementsLineItems_46AE613768295C3DB504E45D49C8A813" xlink:to="loc_cdw_RevolvingLoanFinancingAgreement_D9225F3D7D035A129547CA29253F2FA1" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_OtherInventoryFinancingAgreements" xlink:label="loc_cdw_OtherInventoryFinancingAgreements_7DC53565E26E598684C29FA76F5E7979" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_InventoryFinancingAgreementsLineItems_46AE613768295C3DB504E45D49C8A813" xlink:to="loc_cdw_OtherInventoryFinancingAgreements_7DC53565E26E598684C29FA76F5E7979" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_AccountsPayableInventoryFinancing" xlink:label="loc_cdw_AccountsPayableInventoryFinancing_A678D4FC16C451BBB8AE7A67B5950F9A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_InventoryFinancingAgreementsLineItems_46AE613768295C3DB504E45D49C8A813" xlink:to="loc_cdw_AccountsPayableInventoryFinancing_A678D4FC16C451BBB8AE7A67B5950F9A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/InventoryFinancingAgreementsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/LongTermDebt" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/LongTermDebtDebtBalancesAndInterestRatesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_8D50847E93AE04905F42748B9BCFFFA4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_D3FF66260668E2F390DF748B9BCB4734" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8D50847E93AE04905F42748B9BCFFFA4" xlink:to="loc_us-gaap_DebtInstrumentTable_D3FF66260668E2F390DF748B9BCB4734" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_A9316562DE1544E0FFE5748B9BCCF480" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D3FF66260668E2F390DF748B9BCB4734" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_A9316562DE1544E0FFE5748B9BCCF480" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_E92978434B5AEE56A728748B9BCCA9C5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A9316562DE1544E0FFE5748B9BCCF480" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_E92978434B5AEE56A728748B9BCCA9C5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_E92978434B5AEE56A728748B9BCCA9C5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_A9316562DE1544E0FFE5748B9BCCF480" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_E92978434B5AEE56A728748B9BCCA9C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_760FAE9C0C58B16440ED748B9BCD098F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_E92978434B5AEE56A728748B9BCCA9C5" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_760FAE9C0C58B16440ED748B9BCD098F" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CDWUKRevolvingCreditFacilityMember" xlink:label="loc_cdw_CDWUKRevolvingCreditFacilityMember_CF2D2CD83E72564824F1748B9BCC3FCB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevolvingCreditFacilityMember_760FAE9C0C58B16440ED748B9BCD098F" xlink:to="loc_cdw_CDWUKRevolvingCreditFacilityMember_CF2D2CD83E72564824F1748B9BCC3FCB" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SeniorSecuredAssetBasedRevolvingCreditFacilityMember" xlink:label="loc_cdw_SeniorSecuredAssetBasedRevolvingCreditFacilityMember_C243334D559EBEE9026D748B9BCD16E5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevolvingCreditFacilityMember_760FAE9C0C58B16440ED748B9BCD098F" xlink:to="loc_cdw_SeniorSecuredAssetBasedRevolvingCreditFacilityMember_C243334D559EBEE9026D748B9BCD16E5" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_TermLoanMember" xlink:label="loc_cdw_TermLoanMember_D3A71522C9C70341CC07748B9BCD1CA6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_E92978434B5AEE56A728748B9BCCA9C5" xlink:to="loc_cdw_TermLoanMember_D3A71522C9C70341CC07748B9BCD1CA6" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CDWUKTermLoanMember" xlink:label="loc_cdw_CDWUKTermLoanMember_90F56AFB4F1706D13D96748B9BCDCA48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_TermLoanMember_D3A71522C9C70341CC07748B9BCD1CA6" xlink:to="loc_cdw_CDWUKTermLoanMember_90F56AFB4F1706D13D96748B9BCDCA48" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SeniorSecuredTermLoanFacilityMember" xlink:label="loc_cdw_SeniorSecuredTermLoanFacilityMember_68630E564CBBAFCD47CE748B9BCD4E6D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_TermLoanMember_D3A71522C9C70341CC07748B9BCD1CA6" xlink:to="loc_cdw_SeniorSecuredTermLoanFacilityMember_68630E564CBBAFCD47CE748B9BCD4E6D" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_UnsecuredSeniorNotesMember" xlink:label="loc_cdw_UnsecuredSeniorNotesMember_25CB9B20FE3670AB9485748B9BCE1CA4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_E92978434B5AEE56A728748B9BCCA9C5" xlink:to="loc_cdw_UnsecuredSeniorNotesMember_25CB9B20FE3670AB9485748B9BCE1CA4" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SeniorNotesdue2024Member" xlink:label="loc_cdw_SeniorNotesdue2024Member_451590CB7F98090DE9F5748B9BCEC07F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_UnsecuredSeniorNotesMember_25CB9B20FE3670AB9485748B9BCE1CA4" xlink:to="loc_cdw_SeniorNotesdue2024Member_451590CB7F98090DE9F5748B9BCEC07F" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SeniorNotesdue2025Member" xlink:label="loc_cdw_SeniorNotesdue2025Member_005D19EC97CC26D8087B748B9BCE143A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_UnsecuredSeniorNotesMember_25CB9B20FE3670AB9485748B9BCE1CA4" xlink:to="loc_cdw_SeniorNotesdue2025Member_005D19EC97CC26D8087B748B9BCE143A" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SeniorNotesdue2028Member" xlink:label="loc_cdw_SeniorNotesdue2028Member_82EC5DBFF7D6832EB0F5748B9BCE448C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_UnsecuredSeniorNotesMember_25CB9B20FE3670AB9485748B9BCE1CA4" xlink:to="loc_cdw_SeniorNotesdue2028Member_82EC5DBFF7D6832EB0F5748B9BCE448C" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_OtherlongtermobligationsDomain" xlink:label="loc_cdw_OtherlongtermobligationsDomain_47F3CE8AD71469E4FB76748B9BCF485D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_E92978434B5AEE56A728748B9BCCA9C5" xlink:to="loc_cdw_OtherlongtermobligationsDomain_47F3CE8AD71469E4FB76748B9BCF485D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_BFF9F403A2F38C3A6864748B9BCF163B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8D50847E93AE04905F42748B9BCFFFA4" xlink:to="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_BFF9F403A2F38C3A6864748B9BCF163B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_78185F20E4D4B5804058748B9BD07397" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8D50847E93AE04905F42748B9BCFFFA4" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_78185F20E4D4B5804058748B9BD07397" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_0263A1F32F54A7DA5C3F748B9BD0514E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8D50847E93AE04905F42748B9BCFFFA4" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_0263A1F32F54A7DA5C3F748B9BD0514E" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_LongtermDebtCurrentMaturitiesGross" xlink:label="loc_cdw_LongtermDebtCurrentMaturitiesGross_800B18730F1E9DE0133D748B9BD0BBAC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8D50847E93AE04905F42748B9BCFFFA4" xlink:to="loc_cdw_LongtermDebtCurrentMaturitiesGross_800B18730F1E9DE0133D748B9BD0BBAC" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_LongtermDebtExcludingCurrentMaturitiesNetofDeferredFinancingCostsDiscountorPremium" xlink:label="loc_cdw_LongtermDebtExcludingCurrentMaturitiesNetofDeferredFinancingCostsDiscountorPremium_E6BD60F8FB4DF6B66D73748B9BD015CD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8D50847E93AE04905F42748B9BCFFFA4" xlink:to="loc_cdw_LongtermDebtExcludingCurrentMaturitiesNetofDeferredFinancingCostsDiscountorPremium_E6BD60F8FB4DF6B66D73748B9BD015CD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/LongTermDebtFairValueOfLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_45E9DC2956685AF9BDED61EBA8153AFD" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_96BB8D9BAC9D51E2935D2C67D9B9E1A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_45E9DC2956685AF9BDED61EBA8153AFD" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_96BB8D9BAC9D51E2935D2C67D9B9E1A1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_FA81C4A07D255712A20F79CE0EC3C313" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_96BB8D9BAC9D51E2935D2C67D9B9E1A1" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_FA81C4A07D255712A20F79CE0EC3C313" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7C157208E7E4868D6A6E3BB67D5FC216_DF018F55DFF057E1BE3570AD49F81529" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_FA81C4A07D255712A20F79CE0EC3C313" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7C157208E7E4868D6A6E3BB67D5FC216_DF018F55DFF057E1BE3570AD49F81529" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C0FA19AB7AD95349A3F417FBAED2E355" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_FA81C4A07D255712A20F79CE0EC3C313" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C0FA19AB7AD95349A3F417FBAED2E355" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_E3476AF760CB57729931A68F6A5AB325" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C0FA19AB7AD95349A3F417FBAED2E355" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_E3476AF760CB57729931A68F6A5AB325" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentFairValue" xlink:label="loc_us-gaap_DebtInstrumentFairValue_26EA2673F7545196835486D2D1E9558D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_45E9DC2956685AF9BDED61EBA8153AFD" xlink:to="loc_us-gaap_DebtInstrumentFairValue_26EA2673F7545196835486D2D1E9558D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_7BE507FF8A585F7BBC198DBB088B7343" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_45E9DC2956685AF9BDED61EBA8153AFD" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_7BE507FF8A585F7BBC198DBB088B7343" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/LongTermDebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_8F0FEC904D1981DCA8BD748B9BBCBA56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_us-gaap_DebtInstrumentTable_8F0FEC904D1981DCA8BD748B9BBCBA56" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InventoryFinancingAgreementsAxis" xlink:label="loc_cdw_InventoryFinancingAgreementsAxis_A3785978C4F7E9DFE99D748B9BBCD897" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8F0FEC904D1981DCA8BD748B9BBCBA56" xlink:to="loc_cdw_InventoryFinancingAgreementsAxis_A3785978C4F7E9DFE99D748B9BBCD897" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InventoryFinancingAgreementsDomain" xlink:label="loc_cdw_InventoryFinancingAgreementsDomain_282FAC2FE1F5DC27E367748B9BBD91B1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_cdw_InventoryFinancingAgreementsAxis_A3785978C4F7E9DFE99D748B9BBCD897" xlink:to="loc_cdw_InventoryFinancingAgreementsDomain_282FAC2FE1F5DC27E367748B9BBD91B1_default" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_InventoryFinancingAgreementsDomain" xlink:label="loc_cdw_InventoryFinancingAgreementsDomain_282FAC2FE1F5DC27E367748B9BBD91B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_cdw_InventoryFinancingAgreementsAxis_A3785978C4F7E9DFE99D748B9BBCD897" xlink:to="loc_cdw_InventoryFinancingAgreementsDomain_282FAC2FE1F5DC27E367748B9BBD91B1" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_AccountsPayableInventoryFinancingMember" xlink:label="loc_cdw_AccountsPayableInventoryFinancingMember_2DCC99712087C1C0238E748B9BBDA5E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_InventoryFinancingAgreementsDomain_282FAC2FE1F5DC27E367748B9BBD91B1" xlink:to="loc_cdw_AccountsPayableInventoryFinancingMember_2DCC99712087C1C0238E748B9BBDA5E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_BFD3DA5AE58332E5FA5A748B9BBD5F4D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_8F0FEC904D1981DCA8BD748B9BBCBA56" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_BFD3DA5AE58332E5FA5A748B9BBD5F4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4AF478B55DED95A3A1D0748B9BBD8AAC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_BFD3DA5AE58332E5FA5A748B9BBD5F4D" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4AF478B55DED95A3A1D0748B9BBD8AAC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4AF478B55DED95A3A1D0748B9BBD8AAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_BFD3DA5AE58332E5FA5A748B9BBD5F4D" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4AF478B55DED95A3A1D0748B9BBD8AAC" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CDWUKRevolvingCreditFacilityMember" xlink:label="loc_cdw_CDWUKRevolvingCreditFacilityMember_BB7A9EE84B6AD65E122C748B9BBE904D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4AF478B55DED95A3A1D0748B9BBD8AAC" xlink:to="loc_cdw_CDWUKRevolvingCreditFacilityMember_BB7A9EE84B6AD65E122C748B9BBE904D" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SeniorSecuredAssetBasedRevolvingCreditFacilityMember" xlink:label="loc_cdw_SeniorSecuredAssetBasedRevolvingCreditFacilityMember_F1B779262576C8DAC57B748B9BBE3FB3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4AF478B55DED95A3A1D0748B9BBD8AAC" xlink:to="loc_cdw_SeniorSecuredAssetBasedRevolvingCreditFacilityMember_F1B779262576C8DAC57B748B9BBE3FB3" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CDWUKTermLoanMember" xlink:label="loc_cdw_CDWUKTermLoanMember_3BE844BDC1019A0C9C87748B9BBE3A9E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4AF478B55DED95A3A1D0748B9BBD8AAC" xlink:to="loc_cdw_CDWUKTermLoanMember_3BE844BDC1019A0C9C87748B9BBE3A9E" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SeniorSecuredTermLoanFacilityMember" xlink:label="loc_cdw_SeniorSecuredTermLoanFacilityMember_A13FA2B70BD986AEBD48748B9BBED006" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4AF478B55DED95A3A1D0748B9BBD8AAC" xlink:to="loc_cdw_SeniorSecuredTermLoanFacilityMember_A13FA2B70BD986AEBD48748B9BBED006" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_8667D96FF52A5BA8BE93748B9BBFE647" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_8667D96FF52A5BA8BE93748B9BBFE647" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_331AEE349BA1928B052C748B9BC0A262" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_331AEE349BA1928B052C748B9BC0A262" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_AmountOwedUnderRevolvingLoanFinancingAgreement" xlink:label="loc_cdw_AmountOwedUnderRevolvingLoanFinancingAgreement_EB3F6034084DEB7065AC748B9BC00829" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_cdw_AmountOwedUnderRevolvingLoanFinancingAgreement_EB3F6034084DEB7065AC748B9BC00829" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_LineOfCreditFacilityBorrowingBase" xlink:label="loc_cdw_LineOfCreditFacilityBorrowingBase_ADE101CCD113ECF0A98C748B9BC01F6D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_cdw_LineOfCreditFacilityBorrowingBase_ADE101CCD113ECF0A98C748B9BC01F6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_265C956E0E09C4289CD4748B9BC09FA8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_265C956E0E09C4289CD4748B9BC09FA8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_D0F8D133956624E18D89748B9BC0A88D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_us-gaap_RepaymentsOfDebt_D0F8D133956624E18D89748B9BC0A88D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries" xlink:label="loc_us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries_85735643F5167BF4523C748B9BC0CC41" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_us-gaap_AmountOfRestrictedNetAssetsForConsolidatedAndUnconsolidatedSubsidiaries_85735643F5167BF4523C748B9BC0CC41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentPeriodicPaymentPrincipal" xlink:label="loc_us-gaap_DebtInstrumentPeriodicPaymentPrincipal_DEA7325BC2A84767F4B0748B9BC032A6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7F7CD30470399D284403748B9BBF8689" xlink:to="loc_us-gaap_DebtInstrumentPeriodicPaymentPrincipal_DEA7325BC2A84767F4B0748B9BC032A6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/LongTermDebtTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/RecentAccountingPronouncements" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/SegmentInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/SegmentInformationDisaggregationOfRevenueDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_1AAADE80E1268FA6F5737533656D8F11" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_CA5BDAC5D0E1B54CE839753365644B36" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_1AAADE80E1268FA6F5737533656D8F11" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_CA5BDAC5D0E1B54CE839753365644B36" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_C0B32B7218BCE66CE06575336564A5C9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CA5BDAC5D0E1B54CE839753365644B36" xlink:to="loc_srt_StatementGeographicalAxis_C0B32B7218BCE66CE06575336564A5C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_FCAFA33903A48A05D68675336564ADD7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_C0B32B7218BCE66CE06575336564A5C9" xlink:to="loc_srt_SegmentGeographicalDomain_FCAFA33903A48A05D68675336564ADD7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_FCAFA33903A48A05D68675336564ADD7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_C0B32B7218BCE66CE06575336564A5C9" xlink:to="loc_srt_SegmentGeographicalDomain_FCAFA33903A48A05D68675336564ADD7" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_53C7AC0CAF957FFDF7BD75336565C490" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_FCAFA33903A48A05D68675336564ADD7" xlink:to="loc_country_US_53C7AC0CAF957FFDF7BD75336565C490" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NonUsMember" xlink:label="loc_us-gaap_NonUsMember_DE0DC807629028FB33C4753365651DAA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_FCAFA33903A48A05D68675336564ADD7" xlink:to="loc_us-gaap_NonUsMember_DE0DC807629028FB33C4753365651DAA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_F9B4EFAF8EE152E041487533656507B2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CA5BDAC5D0E1B54CE839753365644B36" xlink:to="loc_srt_ProductOrServiceAxis_F9B4EFAF8EE152E041487533656507B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_B9FBE12FAF7E69CC4C35753365656AA8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_F9B4EFAF8EE152E041487533656507B2" xlink:to="loc_srt_ProductsAndServicesDomain_B9FBE12FAF7E69CC4C35753365656AA8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_B9FBE12FAF7E69CC4C35753365656AA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_F9B4EFAF8EE152E041487533656507B2" xlink:to="loc_srt_ProductsAndServicesDomain_B9FBE12FAF7E69CC4C35753365656AA8" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_TotalHardwareMember" xlink:label="loc_cdw_TotalHardwareMember_78BEBFBBBF244940D1B475336567ED16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_B9FBE12FAF7E69CC4C35753365656AA8" xlink:to="loc_cdw_TotalHardwareMember_78BEBFBBBF244940D1B475336567ED16" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_NotebooksMobileDevicesMember" xlink:label="loc_cdw_NotebooksMobileDevicesMember_D286DEFBCE24052C83B475336566BC35" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_TotalHardwareMember_78BEBFBBBF244940D1B475336567ED16" xlink:to="loc_cdw_NotebooksMobileDevicesMember_D286DEFBCE24052C83B475336566BC35" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_NetcommProductsMember" xlink:label="loc_cdw_NetcommProductsMember_50B84D761A0850A96D8A7533656613E3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_TotalHardwareMember_78BEBFBBBF244940D1B475336567ED16" xlink:to="loc_cdw_NetcommProductsMember_50B84D761A0850A96D8A7533656613E3" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_DesktopsMember" xlink:label="loc_cdw_DesktopsMember_AF8E2C73246F991C7EEF7533656620EC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_TotalHardwareMember_78BEBFBBBF244940D1B475336567ED16" xlink:to="loc_cdw_DesktopsMember_AF8E2C73246F991C7EEF7533656620EC" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_VideoMember" xlink:label="loc_cdw_VideoMember_3281EC395B78880B485C75336566019B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_TotalHardwareMember_78BEBFBBBF244940D1B475336567ED16" xlink:to="loc_cdw_VideoMember_3281EC395B78880B485C75336566019B" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_EnterpriseAndDataStorageIncludingDrivesMember" xlink:label="loc_cdw_EnterpriseAndDataStorageIncludingDrivesMember_8CE5A34639C3F697935075336566911D" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_TotalHardwareMember_78BEBFBBBF244940D1B475336567ED16" xlink:to="loc_cdw_EnterpriseAndDataStorageIncludingDrivesMember_8CE5A34639C3F697935075336566911D" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_OtherHardwareMember" xlink:label="loc_cdw_OtherHardwareMember_8AD742BDB7C747ED96B2753365677CB2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_cdw_TotalHardwareMember_78BEBFBBBF244940D1B475336567ED16" xlink:to="loc_cdw_OtherHardwareMember_8AD742BDB7C747ED96B2753365677CB2" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SoftwareProductsMember" xlink:label="loc_cdw_SoftwareProductsMember_45A5C92E2D4198CF10C775336567BDA9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_B9FBE12FAF7E69CC4C35753365656AA8" xlink:to="loc_cdw_SoftwareProductsMember_45A5C92E2D4198CF10C775336567BDA9" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_ServicesMember" xlink:label="loc_cdw_ServicesMember_83CB898C515B1FFE89DE75336567C993" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_B9FBE12FAF7E69CC4C35753365656AA8" xlink:to="loc_cdw_ServicesMember_83CB898C515B1FFE89DE75336567C993" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_OtherProductsAndServicesMember" xlink:label="loc_cdw_OtherProductsAndServicesMember_71660930BD6B199037D975336567E42D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_B9FBE12FAF7E69CC4C35753365656AA8" xlink:to="loc_cdw_OtherProductsAndServicesMember_71660930BD6B199037D975336567E42D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelAxis" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelAxis_C14FF5558916095F90BE75336568E012" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CA5BDAC5D0E1B54CE839753365644B36" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelAxis_C14FF5558916095F90BE75336568E012" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_C14FF5558916095F90BE75336568E012" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_C14FF5558916095F90BE75336568E012" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SalesChannelCorporateMember" xlink:label="loc_cdw_SalesChannelCorporateMember_7931DE51A75B28DEE3847533656889A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4" xlink:to="loc_cdw_SalesChannelCorporateMember_7931DE51A75B28DEE3847533656889A0" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SalesChannelSmallBusinessMember" xlink:label="loc_cdw_SalesChannelSmallBusinessMember_B0673B6404C5976F7F8F753365682CF1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4" xlink:to="loc_cdw_SalesChannelSmallBusinessMember_B0673B6404C5976F7F8F753365682CF1" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SalesChannelGovernmentMember" xlink:label="loc_cdw_SalesChannelGovernmentMember_D47343B17C5C1E438D0D753365693F04" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4" xlink:to="loc_cdw_SalesChannelGovernmentMember_D47343B17C5C1E438D0D753365693F04" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SalesChannelEducationMember" xlink:label="loc_cdw_SalesChannelEducationMember_DFA4B30B0049C19B2A7175336569D70B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4" xlink:to="loc_cdw_SalesChannelEducationMember_DFA4B30B0049C19B2A7175336569D70B" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SalesChannelHealthcareMember" xlink:label="loc_cdw_SalesChannelHealthcareMember_92B4B027D13AA205207A75336569B459" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4" xlink:to="loc_cdw_SalesChannelHealthcareMember_92B4B027D13AA205207A75336569B459" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SalesChannelOtherMember" xlink:label="loc_cdw_SalesChannelOtherMember_5A8D8B3C5D45D3768BFF753365699E30" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_A99A82908CCFBC78CF7C753365685EA4" xlink:to="loc_cdw_SalesChannelOtherMember_5A8D8B3C5D45D3768BFF753365699E30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_91847B94622138EDB5CD7533656986EB" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CA5BDAC5D0E1B54CE839753365644B36" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_91847B94622138EDB5CD7533656986EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2995432A4E6671DE4D51753365694333_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_91847B94622138EDB5CD7533656986EB" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2995432A4E6671DE4D51753365694333_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2995432A4E6671DE4D51753365694333" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_91847B94622138EDB5CD7533656986EB" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2995432A4E6671DE4D51753365694333" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_TransferredAtPointInTimePrincipalMember" xlink:label="loc_cdw_TransferredAtPointInTimePrincipalMember_CE00D5A94130889D79497533656A372E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2995432A4E6671DE4D51753365694333" xlink:to="loc_cdw_TransferredAtPointInTimePrincipalMember_CE00D5A94130889D79497533656A372E" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_TransferredAtPointInTimeAgentMember" xlink:label="loc_cdw_TransferredAtPointInTimeAgentMember_0A96EA992798173BB7657533656AF0BC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2995432A4E6671DE4D51753365694333" xlink:to="loc_cdw_TransferredAtPointInTimeAgentMember_0A96EA992798173BB7657533656AF0BC" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_TransferredOverTimePrincipalMember" xlink:label="loc_cdw_TransferredOverTimePrincipalMember_7A8D05D10A6C410448AE7533656AE436" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_2995432A4E6671DE4D51753365694333" xlink:to="loc_cdw_TransferredOverTimePrincipalMember_7A8D05D10A6C410448AE7533656AE436" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_EE7148D147CB627F61787533656A6B0B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CA5BDAC5D0E1B54CE839753365644B36" xlink:to="loc_srt_ConsolidationItemsAxis_EE7148D147CB627F61787533656A6B0B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_E899ABA4B9622601A6AE7533656BACD3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_EE7148D147CB627F61787533656A6B0B" xlink:to="loc_srt_ConsolidationItemsDomain_E899ABA4B9622601A6AE7533656BACD3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_E899ABA4B9622601A6AE7533656BACD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_EE7148D147CB627F61787533656A6B0B" xlink:to="loc_srt_ConsolidationItemsDomain_E899ABA4B9622601A6AE7533656BACD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_5648A5DFAC3436E00BD27533656BE2F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_E899ABA4B9622601A6AE7533656BACD3" xlink:to="loc_us-gaap_OperatingSegmentsMember_5648A5DFAC3436E00BD27533656BE2F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_3CFF1C3049FE283A48517533656BA532" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CA5BDAC5D0E1B54CE839753365644B36" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_3CFF1C3049FE283A48517533656BA532" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_5BFFC0E0CD7CBA482BC27533656BAE49_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3CFF1C3049FE283A48517533656BA532" xlink:to="loc_us-gaap_SegmentDomain_5BFFC0E0CD7CBA482BC27533656BAE49_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_5BFFC0E0CD7CBA482BC27533656BAE49" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3CFF1C3049FE283A48517533656BA532" xlink:to="loc_us-gaap_SegmentDomain_5BFFC0E0CD7CBA482BC27533656BAE49" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CorporateSegmentPrivateSectorBusinessMember" xlink:label="loc_cdw_CorporateSegmentPrivateSectorBusinessMember_9E4B79F4EC5AFAE1AF0D7533656CB7EA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_5BFFC0E0CD7CBA482BC27533656BAE49" xlink:to="loc_cdw_CorporateSegmentPrivateSectorBusinessMember_9E4B79F4EC5AFAE1AF0D7533656CB7EA" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SmallBusinessMember" xlink:label="loc_cdw_SmallBusinessMember_A858CC4DB328BC0243C17533656CFBF3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_5BFFC0E0CD7CBA482BC27533656BAE49" xlink:to="loc_cdw_SmallBusinessMember_A858CC4DB328BC0243C17533656CFBF3" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_PublicSegmentGovernmentAgenciesEducationandHealthcareMember" xlink:label="loc_cdw_PublicSegmentGovernmentAgenciesEducationandHealthcareMember_56E5FE110E3D2B0B7D1E7533656CDE70" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_5BFFC0E0CD7CBA482BC27533656BAE49" xlink:to="loc_cdw_PublicSegmentGovernmentAgenciesEducationandHealthcareMember_56E5FE110E3D2B0B7D1E7533656CDE70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_4BF0ECB6F77954F2DA657533656C5A4B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_5BFFC0E0CD7CBA482BC27533656BAE49" xlink:to="loc_us-gaap_AllOtherSegmentsMember_4BF0ECB6F77954F2DA657533656C5A4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_22E542460AF0CE2175F07533656D63BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_1AAADE80E1268FA6F5737533656D8F11" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_22E542460AF0CE2175F07533656D63BC" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_RevenuenetbyProductandServicePercentage" xlink:label="loc_cdw_RevenuenetbyProductandServicePercentage_861F34CB7AE275D880287533656D9A03" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_1AAADE80E1268FA6F5737533656D8F11" xlink:to="loc_cdw_RevenuenetbyProductandServicePercentage_861F34CB7AE275D880287533656D9A03" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/SegmentInformationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_0A2C03D40F6E5C6BAF75769298865F0E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_92B595F77E9757B19BE81A3D50324970" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0A2C03D40F6E5C6BAF75769298865F0E" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_92B595F77E9757B19BE81A3D50324970" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_15141675FBC25B9B8E8C3A6EFCD257ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_92B595F77E9757B19BE81A3D50324970" xlink:to="loc_srt_RangeAxis_15141675FBC25B9B8E8C3A6EFCD257ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_0087F4193DCE3E6CADC43BB67D29FF47_DF018F55DFF057E1BE3570AD49F81529" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_15141675FBC25B9B8E8C3A6EFCD257ED" xlink:to="loc_srt_RangeMember_0087F4193DCE3E6CADC43BB67D29FF47_DF018F55DFF057E1BE3570AD49F81529" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_0D07EF382FBE5FB98FB8FFF3ED318B21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_15141675FBC25B9B8E8C3A6EFCD257ED" xlink:to="loc_srt_RangeMember_0D07EF382FBE5FB98FB8FFF3ED318B21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1C7392B797A25DBC8532682BA22D059F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0D07EF382FBE5FB98FB8FFF3ED318B21" xlink:to="loc_srt_MinimumMember_1C7392B797A25DBC8532682BA22D059F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_4A3E2F50FF895AD9AB2124A0F0F299AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0D07EF382FBE5FB98FB8FFF3ED318B21" xlink:to="loc_srt_MaximumMember_4A3E2F50FF895AD9AB2124A0F0F299AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_DCB273AC00E1589FAA6EC0C95E31FBDE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_92B595F77E9757B19BE81A3D50324970" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_DCB273AC00E1589FAA6EC0C95E31FBDE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_CD371F37C81006E15B153BB67D2A1BF1_DF018F55DFF057E1BE3570AD49F81529" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_DCB273AC00E1589FAA6EC0C95E31FBDE" xlink:to="loc_us-gaap_SegmentDomain_CD371F37C81006E15B153BB67D2A1BF1_DF018F55DFF057E1BE3570AD49F81529" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_FF55C739F34258ACB44869764648274E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_DCB273AC00E1589FAA6EC0C95E31FBDE" xlink:to="loc_us-gaap_SegmentDomain_FF55C739F34258ACB44869764648274E" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CorporateSegmentPrivateSectorBusinessMember" xlink:label="loc_cdw_CorporateSegmentPrivateSectorBusinessMember_E4F521CA12C053199C226054A2CA6C92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FF55C739F34258ACB44869764648274E" xlink:to="loc_cdw_CorporateSegmentPrivateSectorBusinessMember_E4F521CA12C053199C226054A2CA6C92" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SmallBusinessMember" xlink:label="loc_cdw_SmallBusinessMember_AA8DD3528BAE5D318498BE14C872E140" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_FF55C739F34258ACB44869764648274E" xlink:to="loc_cdw_SmallBusinessMember_AA8DD3528BAE5D318498BE14C872E140" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_9C4E6E9473295DE1A67F49FCED3ADA24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0A2C03D40F6E5C6BAF75769298865F0E" xlink:to="loc_us-gaap_NumberOfReportableSegments_9C4E6E9473295DE1A67F49FCED3ADA24" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SegmentReportingCustomerSegmentsCustomerEmployeeHeadcount" xlink:label="loc_cdw_SegmentReportingCustomerSegmentsCustomerEmployeeHeadcount_C01FF3A7274051EEAE7481A5F996E824" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0A2C03D40F6E5C6BAF75769298865F0E" xlink:to="loc_cdw_SegmentReportingCustomerSegmentsCustomerEmployeeHeadcount_C01FF3A7274051EEAE7481A5F996E824" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_NumberofOperatingSegmentsReportableUnitQuantitativeThresholdNotMet" xlink:label="loc_cdw_NumberofOperatingSegmentsReportableUnitQuantitativeThresholdNotMet_239DC793388F52D0A7640E252E838422" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_0A2C03D40F6E5C6BAF75769298865F0E" xlink:to="loc_cdw_NumberofOperatingSegmentsReportableUnitQuantitativeThresholdNotMet_239DC793388F52D0A7640E252E838422" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/SegmentInformationScheduleOfSegmentInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_DBA2FF3587804F00C1197533625C807B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_BDFA2C3CE006627A9135753362568D15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_DBA2FF3587804F00C1197533625C807B" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_BDFA2C3CE006627A9135753362568D15" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsAxis" xlink:label="loc_srt_ConsolidationItemsAxis_52F6384EAEAE8EE2A05B753362560A75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_BDFA2C3CE006627A9135753362568D15" xlink:to="loc_srt_ConsolidationItemsAxis_52F6384EAEAE8EE2A05B753362560A75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_A7457A3E344E2A1BCEEC75336257FF22_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_52F6384EAEAE8EE2A05B753362560A75" xlink:to="loc_srt_ConsolidationItemsDomain_A7457A3E344E2A1BCEEC75336257FF22_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ConsolidationItemsDomain" xlink:label="loc_srt_ConsolidationItemsDomain_A7457A3E344E2A1BCEEC75336257FF22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_52F6384EAEAE8EE2A05B753362560A75" xlink:to="loc_srt_ConsolidationItemsDomain_A7457A3E344E2A1BCEEC75336257FF22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_76D8BF2582E9BE5DAD9C753362575FD2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_A7457A3E344E2A1BCEEC75336257FF22" xlink:to="loc_us-gaap_OperatingSegmentsMember_76D8BF2582E9BE5DAD9C753362575FD2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_072E63F4BF4B3578F1667533625763B5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_A7457A3E344E2A1BCEEC75336257FF22" xlink:to="loc_us-gaap_CorporateNonSegmentMember_072E63F4BF4B3578F1667533625763B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_285A0333A4AD0E9A5ECB7533625AC364" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_BDFA2C3CE006627A9135753362568D15" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_285A0333A4AD0E9A5ECB7533625AC364" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_D565BD04438F86D66C547533625A8DA5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_285A0333A4AD0E9A5ECB7533625AC364" xlink:to="loc_us-gaap_SegmentDomain_D565BD04438F86D66C547533625A8DA5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_D565BD04438F86D66C547533625A8DA5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_285A0333A4AD0E9A5ECB7533625AC364" xlink:to="loc_us-gaap_SegmentDomain_D565BD04438F86D66C547533625A8DA5" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_CorporateSegmentPrivateSectorBusinessMember" xlink:label="loc_cdw_CorporateSegmentPrivateSectorBusinessMember_2A1FA0D9F00BEB8986DF7533625B8FC8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D565BD04438F86D66C547533625A8DA5" xlink:to="loc_cdw_CorporateSegmentPrivateSectorBusinessMember_2A1FA0D9F00BEB8986DF7533625B8FC8" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SmallBusinessMember" xlink:label="loc_cdw_SmallBusinessMember_48F3A44D17B57ACF746E7533625B56ED" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D565BD04438F86D66C547533625A8DA5" xlink:to="loc_cdw_SmallBusinessMember_48F3A44D17B57ACF746E7533625B56ED" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_PublicSegmentGovernmentAgenciesEducationandHealthcareMember" xlink:label="loc_cdw_PublicSegmentGovernmentAgenciesEducationandHealthcareMember_3410BE356B6C1419BEAB7533625B4675" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D565BD04438F86D66C547533625A8DA5" xlink:to="loc_cdw_PublicSegmentGovernmentAgenciesEducationandHealthcareMember_3410BE356B6C1419BEAB7533625B4675" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_FC85F3E16A2210FF77287533625C366E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_D565BD04438F86D66C547533625A8DA5" xlink:to="loc_us-gaap_AllOtherSegmentsMember_FC85F3E16A2210FF77287533625C366E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_05189130EF33836DBE937533625CFA69" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_DBA2FF3587804F00C1197533625C807B" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_05189130EF33836DBE937533625CFA69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_30835BA6FCAA97E359417533625CA30F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_DBA2FF3587804F00C1197533625C807B" xlink:to="loc_us-gaap_OperatingIncomeLoss_30835BA6FCAA97E359417533625CA30F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_847855284E2093D5BC0F7533625C1BF0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_DBA2FF3587804F00C1197533625C807B" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_847855284E2093D5BC0F7533625C1BF0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.cdw.com/role/SegmentInformationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/SubsequentEvents" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.cdw.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_644743E3704B43E67B67BD7FD1427883" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_DC7B23688F635080D5E1BD7FD14269F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_644743E3704B43E67B67BD7FD1427883" xlink:to="loc_us-gaap_SubsequentEventTable_DC7B23688F635080D5E1BD7FD14269F1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_4F08BDF74FC8F0D54672BD7FD151A045" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_DC7B23688F635080D5E1BD7FD14269F1" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_4F08BDF74FC8F0D54672BD7FD151A045" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_C0A55ADD9957A3132A03BD7FD1617E44_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4F08BDF74FC8F0D54672BD7FD151A045" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_C0A55ADD9957A3132A03BD7FD1617E44_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_C0A55ADD9957A3132A03BD7FD1617E44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4F08BDF74FC8F0D54672BD7FD151A045" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_C0A55ADD9957A3132A03BD7FD1617E44" xlink:type="arc" />
    <link:loc xlink:href="cdw-20200331.xsd#cdw_SeniorNotesFourPointOneTwoFiveDue2025Member" xlink:label="loc_cdw_SeniorNotesFourPointOneTwoFiveDue2025Member_0844F9C52F48EBB4DA01BD86181C71C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_C0A55ADD9957A3132A03BD7FD1617E44" xlink:to="loc_cdw_SeniorNotesFourPointOneTwoFiveDue2025Member_0844F9C52F48EBB4DA01BD86181C71C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_A2DF6E75A6CE0FC68CC4BD7FD1428943" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_DC7B23688F635080D5E1BD7FD14269F1" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_A2DF6E75A6CE0FC68CC4BD7FD1428943" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0F69E10A585AF51632AEBD7FD142BCB9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_A2DF6E75A6CE0FC68CC4BD7FD1428943" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0F69E10A585AF51632AEBD7FD142BCB9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_0F69E10A585AF51632AEBD7FD142BCB9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_A2DF6E75A6CE0FC68CC4BD7FD1428943" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_0F69E10A585AF51632AEBD7FD142BCB9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_D58753EEB65899F5AF35BD88A689C4A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_0F69E10A585AF51632AEBD7FD142BCB9" xlink:to="loc_us-gaap_SubsequentEventMember_D58753EEB65899F5AF35BD88A689C4A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_AE894B9468793071DB71BD7FD1428AD9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_644743E3704B43E67B67BD7FD1427883" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_AE894B9468793071DB71BD7FD1428AD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_524A328496AEFE55A788BD7FD151920D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_644743E3704B43E67B67BD7FD1427883" xlink:to="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_524A328496AEFE55A788BD7FD151920D" xlink:type="arc" />
  </link:definitionLink>
</link:linkbase>
