XML 43 R31.htm IDEA: XBRL DOCUMENT
v3.26.1

Inventory Financing Agreements (Details) - USD ($) $ in Millions | 6 Months Ended |
--- | --- | ---
Jun. 30, 2026 | Dec. 31, 2025
Inventory Financing Agreements [Line Items] |  |
Inventory financing agreement, payment terms (in days) | 90 days |
Accounts Payable, Inventory Financing - Supplier Financing |  |
Inventory Financing Agreements [Line Items] |  |
Inventory financing agreements | $ 403 | $ 353
Accounts Payable, Inventory Financing - Product Financing |  |
Inventory Financing Agreements [Line Items] |  |
Inventory financing agreements | $ 62 |

X
- Definition Inventory Financing Agreement, Payment Terms + References No definition available. + Details
Name: | cdw_InventoryFinancingAgreementPaymentTerms
Namespace Prefix: | cdw_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Inventory Financing Agreements + References No definition available. + Details
Name: | cdw_InventoryFinancingAgreements
Namespace Prefix: | cdw_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Inventory Financing Agreements [Line Items] + References No definition available. + Details
Name: | cdw_InventoryFinancingAgreementsLineItems
Namespace Prefix: | cdw_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | cdw_InventoryFinancingAgreementsAxis=cdw_AccountsPayableInventoryFinancingSupplierFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | cdw_InventoryFinancingAgreementsAxis=cdw_AccountsPayableInventoryFinancingProductFinancingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |