Property and Equipment - Narrative (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Dec. 31, 2023 |
Dec. 31, 2022 |
Dec. 31, 2021 |
|
| Summary of Accounting Policies | |||
| Depreciation | $ 11,020 | $ 8,500 | $ 7,560 |
| 2022 Restructuring | |||
| Summary of Accounting Policies | |||
| Restructuring charges | 2,255 | 4,611 | |
| Data Center Assets | |||
| Summary of Accounting Policies | |||
| Restructuring charges | (224) | 1,341 | 0 |
| Data Center Assets | 2022 Restructuring | |||
| Summary of Accounting Policies | |||
| Restructuring charges | (224) | 1,341 | |
| Leasehold improvements | 2022 Restructuring | |||
| Summary of Accounting Policies | |||
| Restructuring charges | 671 | 508 | |
| Servers and network assets | |||
| Summary of Accounting Policies | |||
| Construction in progress | 1,400 | 2,180 | |
| Depreciation | 7,320 | $ 5,290 | $ 4,940 |
| Construction in progress | |||
| Summary of Accounting Policies | |||
| Interest costs capitalized | $ 283 | ||