XML 38 R26.htm IDEA: XBRL DOCUMENT
v3.24.2

Description of Business and Summary of Significant Accounting Policies (Details) | Jun. 30, 2024 subsidiary
--- | ---
Accounting Policies [Abstract] |
Number of owned subsidiaries | 2

X
- Definition Number Of Owned Subsidiaries + References No definition available. + Details
Name: | cdw_NumberOfOwnedSubsidiaries
Namespace Prefix: | cdw_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration