XML 44 R27.htm IDEA: XBRL DOCUMENT
v3.22.1

Description of Business and Summary of Significant Accounting Policies (Details) | Mar. 31, 2022 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