Financial Instruments - Cash, Cash Equivalents and Marketable Securities (Details) - USD ($) $ in Millions | Dec. 30, 2023 | Sep. 30, 2023 |
Marketable Securities [Line Items] | | |
Cash, Cash Equivalents and Marketable Securities, Adjusted Cost | $ 180,248 | $ 173,752 |
Cash Equivalents and Marketable Securities, Unrealized Gains | 266 | 30 |
Cash Equivalents and Marketable Securities, Unrealized Losses | (7,939) | (11,683) |
Cash, Cash Equivalents and Marketable Securities, Fair Value | 172,575 | 162,099 |
Cash and Cash Equivalents | 40,760 | 29,965 |
Current Marketable Securities | 32,340 | 31,590 |
Non-Current Marketable Securities | 99,475 | 100,544 |
Total marketable securities that were restricted from general use | 13,900 | 13,800 |
Level 1 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Equity, Adjusted Cost | 2,448 | 923 |
Marketable Securities, Equity, Unrealized Gains | 35 | 12 |
Marketable Securities, Equity, Unrealized Losses | (11) | (26) |
Marketable Securities, Equity, Fair Value | 2,472 | 909 |
Cash and Cash Equivalents | 2,000 | 481 |
Current Marketable Securities | 472 | 428 |
Non-Current Marketable Securities | 0 | 0 |
Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 148,258 | 144,470 |
Marketable Securities, Debt, Unrealized Gains | 231 | 18 |
Marketable Securities, Debt, Unrealized Losses | (7,928) | (11,657) |
Marketable Securities, Debt, Fair Value | 140,561 | 132,831 |
Cash and Cash Equivalents | 9,218 | 1,125 |
Current Marketable Securities | 31,868 | 31,162 |
Non-Current Marketable Securities | 99,475 | 100,544 |
Cash | | |
Marketable Securities [Line Items] | | |
Cash | 29,542 | 28,359 |
Cash and Cash Equivalents | 29,542 | 28,359 |
Current Marketable Securities | 0 | 0 |
Non-Current Marketable Securities | 0 | 0 |
Money market funds | Level 1 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Equity, Adjusted Cost | 2,000 | 481 |
Marketable Securities, Equity, Unrealized Gains | 0 | 0 |
Marketable Securities, Equity, Unrealized Losses | 0 | 0 |
Marketable Securities, Equity, Fair Value | 2,000 | 481 |
Cash and Cash Equivalents | 2,000 | 481 |
Current Marketable Securities | 0 | 0 |
Non-Current Marketable Securities | 0 | 0 |
Mutual funds | Level 1 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Equity, Adjusted Cost | 448 | |
Marketable Securities, Equity, Unrealized Gains | 35 | |
Marketable Securities, Equity, Unrealized Losses | (11) | |
Marketable Securities, Equity, Fair Value | 472 | |
Cash and Cash Equivalents | 0 | |
Current Marketable Securities | 472 | |
Non-Current Marketable Securities | 0 | |
Mutual funds and equity securities | Level 1 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Equity, Adjusted Cost | | 442 |
Marketable Securities, Equity, Unrealized Gains | | 12 |
Marketable Securities, Equity, Unrealized Losses | | (26) |
Marketable Securities, Equity, Fair Value | | 428 |
Cash and Cash Equivalents | | 0 |
Current Marketable Securities | | 428 |
Non-Current Marketable Securities | | 0 |
U.S. Treasury securities | Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 24,041 | 19,406 |
Marketable Securities, Debt, Unrealized Gains | 12 | 0 |
Marketable Securities, Debt, Unrealized Losses | (920) | (1,292) |
Marketable Securities, Debt, Fair Value | 23,133 | 18,114 |
Cash and Cash Equivalents | 7,303 | 35 |
Current Marketable Securities | 4,858 | 5,468 |
Non-Current Marketable Securities | 10,972 | 12,611 |
U.S. agency securities | Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 5,791 | 5,736 |
Marketable Securities, Debt, Unrealized Gains | 0 | 0 |
Marketable Securities, Debt, Unrealized Losses | (448) | (600) |
Marketable Securities, Debt, Fair Value | 5,343 | 5,136 |
Cash and Cash Equivalents | 243 | 36 |
Current Marketable Securities | 98 | 271 |
Non-Current Marketable Securities | 5,002 | 4,829 |
Non-U.S. government securities | Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 17,326 | 17,533 |
Marketable Securities, Debt, Unrealized Gains | 54 | 6 |
Marketable Securities, Debt, Unrealized Losses | (675) | (1,048) |
Marketable Securities, Debt, Fair Value | 16,705 | 16,491 |
Cash and Cash Equivalents | 0 | 0 |
Current Marketable Securities | 11,175 | 11,332 |
Non-Current Marketable Securities | 5,530 | 5,159 |
Certificates of deposit and time deposits | Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 1,448 | 1,354 |
Marketable Securities, Debt, Unrealized Gains | 0 | 0 |
Marketable Securities, Debt, Unrealized Losses | 0 | 0 |
Marketable Securities, Debt, Fair Value | 1,448 | 1,354 |
Cash and Cash Equivalents | 1,119 | 1,034 |
Current Marketable Securities | 329 | 320 |
Non-Current Marketable Securities | 0 | 0 |
Commercial paper | Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 1,361 | 608 |
Marketable Securities, Debt, Unrealized Gains | 0 | 0 |
Marketable Securities, Debt, Unrealized Losses | 0 | 0 |
Marketable Securities, Debt, Fair Value | 1,361 | 608 |
Cash and Cash Equivalents | 472 | 0 |
Current Marketable Securities | 889 | 608 |
Non-Current Marketable Securities | 0 | 0 |
Corporate debt securities | Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 75,360 | 76,840 |
Marketable Securities, Debt, Unrealized Gains | 112 | 6 |
Marketable Securities, Debt, Unrealized Losses | (3,964) | (5,956) |
Marketable Securities, Debt, Fair Value | 71,508 | 70,890 |
Cash and Cash Equivalents | 81 | 20 |
Current Marketable Securities | 13,909 | 12,627 |
Non-Current Marketable Securities | 57,518 | 58,243 |
Municipal securities | Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 562 | 628 |
Marketable Securities, Debt, Unrealized Gains | 0 | 0 |
Marketable Securities, Debt, Unrealized Losses | (14) | (26) |
Marketable Securities, Debt, Fair Value | 548 | 602 |
Cash and Cash Equivalents | 0 | 0 |
Current Marketable Securities | 185 | 192 |
Non-Current Marketable Securities | 363 | 410 |
Mortgage- and asset-backed securities | Level 2 | | |
Marketable Securities [Line Items] | | |
Marketable Securities, Debt, Adjusted Cost | 22,369 | 22,365 |
Marketable Securities, Debt, Unrealized Gains | 53 | 6 |
Marketable Securities, Debt, Unrealized Losses | (1,907) | (2,735) |
Marketable Securities, Debt, Fair Value | 20,515 | 19,636 |
Cash and Cash Equivalents | 0 | 0 |
Current Marketable Securities | 425 | 344 |
Non-Current Marketable Securities | $ 20,090 | $ 19,292 |