Employee Benefit Plan, Related-Party and Party-in-Interest Transactions (Details) - EBP002 - Costco Wholesale Corporation common stock - shares |
12 Months Ended | |
|---|---|---|
Dec. 31, 2025 |
Dec. 31, 2024 |
|
| EBP, Related Party and Party-in-Interest Transactions [Line Items] | ||
| Number of shares held by the Plan | 21,265,000 | 22,926,000 |
| Number of shares purchased by the Plan | 845,000 | |
| Number of shares sold by the Plan | 2,506,000 |
| X | ||||||||||
- Definition Number of shares or units of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Number of shares or units of investment purchased by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of shares or units of investment sold by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|