    <SEC-DOCUMENT>0001402057-25-000002-index.html : 20250205
    <SEC-HEADER>0001402057-25-000002.hdr.sgml : 20250205
    <ACCEPTANCE-DATETIME>20250205070720
    ACCESSION NUMBER:		0001402057-25-000002
    CONFORMED SUBMISSION TYPE:	8-K
    PUBLIC DOCUMENT COUNT:		17
    CONFORMED PERIOD OF REPORT:	20250205
    ITEM INFORMATION:		Results of Operations and Financial Condition
    ITEM INFORMATION:		Other Events
    ITEM INFORMATION:		Financial Statements and Exhibits
    FILED AS OF DATE:		20250205
    DATE AS OF CHANGE:		20250205

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			CDW Corp
    		CENTRAL INDEX KEY:			0001402057
    		STANDARD INDUSTRIAL CLASSIFICATION:	RETAIL-CATALOG & MAIL-ORDER HOUSES [5961]
    		ORGANIZATION NAME:           	07 Trade & Services
    		IRS NUMBER:				260273989
    		STATE OF INCORPORATION:			DE
    		FISCAL YEAR END:			1231

    	FILING VALUES:
    		FORM TYPE:		8-K
    		SEC ACT:		1934 Act
    		SEC FILE NUMBER:	001-35985
    		FILM NUMBER:		25590861

    	BUSINESS ADDRESS:
    		STREET 1:		200 N MILWAUKEE AVENUE
    		CITY:			VERNON HILLS
    		STATE:			IL
    		ZIP:			60061
    		BUSINESS PHONE:		847-465-6000

    	MAIL ADDRESS:
    		STREET 1:		200 N MILWAUKEE AVENUE
    		CITY:			VERNON HILLS
    		STATE:			IL
    		ZIP:			60061

    	FORMER COMPANY:
    		FORMER CONFORMED NAME:	VH Holdings, Inc.
    		DATE OF NAME CHANGE:	20070605
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>8-K
    <SEQUENCE>1
    <FILENAME>cdw-20250205.htm
    <DESCRIPTION>8-K
    <TEXT>
    Document 1 - file: cdw-20250205.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.1
    <SEQUENCE>2
    <FILENAME>cdw-20241231earningsrelease.htm
    <DESCRIPTION>EX-99.1
    <TEXT>
    Document 2 - file: cdw-20241231earningsrelease.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.2
    <SEQUENCE>3
    <FILENAME>cdw-20241231dividendrelease.htm
    <DESCRIPTION>EX-99.2
    <TEXT>
    Document 3 - file: cdw-20241231dividendrelease.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.SCH
    <SEQUENCE>4
    <FILENAME>cdw-20250205.xsd
    <DESCRIPTION>XBRL TAXONOMY EXTENSION SCHEMA DOCUMENT
    <TEXT>
    Document 4 - file: cdw-20250205.xsd

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.LAB
    <SEQUENCE>5
    <FILENAME>cdw-20250205_lab.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION LABEL LINKBASE DOCUMENT
    <TEXT>
    Document 5 - file: cdw-20250205_lab.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.PRE
    <SEQUENCE>6
    <FILENAME>cdw-20250205_pre.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION PRESENTATION LINKBASE DOCUMENT
    <TEXT>
    Document 6 - file: cdw-20250205_pre.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>7
    <FILENAME>cdw-2023xredlogo002a.jpg
    <TEXT>
    Document 7 - file: cdw-2023xredlogo002a.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>8
    <FILENAME>cdw-20250205_g1.jpg
    <TEXT>
    Document 8 - file: cdw-20250205_g1.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>10
    <FILENAME>R1.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 10 - file: R1.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EXCEL
    <SEQUENCE>11
    <FILENAME>Financial_Report.xlsx
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 11 - file: Financial_Report.xlsx

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>12
    <FILENAME>Show.js
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 12 - file: Show.js

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>13
    <FILENAME>report.css
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 13 - file: report.css

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>15
    <FILENAME>FilingSummary.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 15 - file: FilingSummary.html

    Document 15 - RAW XML: FilingSummary.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>JSON
    <SEQUENCE>18
    <FILENAME>MetaLinks.json
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 18 - file: MetaLinks.json

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>ZIP
    <SEQUENCE>19
    <FILENAME>0001402057-25-000002-xbrl.zip
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 19 - file: 0001402057-25-000002-xbrl.zip

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>20
    <FILENAME>cdw-20250205_htm.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 20 - file: cdw-20250205_htm.html

    Document 20 - RAW XML: cdw-20250205_htm.xml

    </DOCUMENT>
    </SEC-DOCUMENT>