XML 44 R28.htm IDEA: XBRL DOCUMENT
v3.21.2

Description of Business and Summary of Significant Accounting Policies (Details) | Sep. 30, 2021 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