XML 38 R27.htm IDEA: XBRL DOCUMENT
v3.22.2.2

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