XML 109 R78.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Coworker Retirement and Other Compensation Benefits - Coworker Stock Purchase Plan (Details) - Coworker Stock Purchase Plan $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2024 USD ($)
Coworker Retirement and Other Compensation Benefits [Line Items] |
Employee stock purchase plan discount to market price (as percent) | 5.00%
Defined contribution plan expense | $ 0

X
- Definition Employee Stock Purchase Plan, discount to market price, percent + References No definition available. + Details
Name: | cdw_EmployeeStockPurchasePlandiscounttomarketpricepercent
Namespace Prefix: | cdw_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost for defined contribution plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 70 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480794/715-70-50-1 + Details
Name: | us-gaap_DefinedContributionPlanCostRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_PlanNameAxis=cdw_CoworkerStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |