XML 71 R58.htm IDEA: XBRL DOCUMENT
v3.23.4

Fair Value of Financial Instruments - Schedule of Cash, Cash Equivalents and Marketable Securities (Details) - USD ($) $ in Millions | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Marketable Securities [Line Items] |  |
Adjusted Cost | $ 29,098 | $ 22,209
Gross Unrealized Gains | 3 | 1
Gross Unrealized Losses | 7 | 25
Fair Value | 29,094 | 22,185
Cash and Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Fair Value | 16,398 | 16,253
Short-Term Investments |  |
Marketable Securities [Line Items] |  |
Fair Value | 12,696 | 5,932
Cash |  |
Marketable Securities [Line Items] |  |
Adjusted Cost | 15,903 | 13,965
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | 0 | 0
Fair Value | 15,903 | 13,965
Cash | Cash and Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Fair Value | 15,903 | 13,965
Cash | Short-Term Investments |  |
Marketable Securities [Line Items] |  |
Fair Value | 0 | 0
Money market funds |  |
Marketable Securities [Line Items] |  |
Adjusted Cost | 109 | 2,188
Gross Unrealized Gains | 0 | 0
Gross Unrealized Losses | 0 | 0
Fair Value | 109 | 2,188
Money market funds | Cash and Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Fair Value | 109 | 2,188
Money market funds | Short-Term Investments |  |
Marketable Securities [Line Items] |  |
Fair Value | 0 | 0
U.S. government securities |  |
Marketable Securities [Line Items] |  |
Adjusted Cost | 5,136 | 897
Gross Unrealized Gains | 1 | 0
Gross Unrealized Losses | 1 | 3
Fair Value | 5,136 | 894
U.S. government securities | Cash and Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Fair Value | 277 | 0
U.S. government securities | Short-Term Investments |  |
Marketable Securities [Line Items] |  |
Fair Value | 4,859 | 894
Corporate debt securities |  |
Marketable Securities [Line Items] |  |
Adjusted Cost | 485 | 907
Gross Unrealized Gains | 1 | 0
Gross Unrealized Losses | 6 | 22
Fair Value | 480 | 885
Corporate debt securities | Cash and Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Fair Value | 0 | 0
Corporate debt securities | Short-Term Investments |  |
Marketable Securities [Line Items] |  |
Fair Value | 480 | 885
Certificates of deposit and time deposits |  |
Marketable Securities [Line Items] |  |
Adjusted Cost | 6,995 | 4,252
Gross Unrealized Gains | 1 | 1
Gross Unrealized Losses | 0 | 0
Fair Value | 6,996 | 4,253
Certificates of deposit and time deposits | Cash and Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Fair Value | 0 | 100
Certificates of deposit and time deposits | Short-Term Investments |  |
Marketable Securities [Line Items] |  |
Fair Value | 6,996 | 4,153
Commercial paper |  |
Marketable Securities [Line Items] |  |
Adjusted Cost | 470 |
Gross Unrealized Gains | 0 |
Gross Unrealized Losses | 0 |
Fair Value | 470 | $ 0
Commercial paper | Cash and Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Fair Value | 109 |
Commercial paper | Short-Term Investments |  |
Marketable Securities [Line Items] |  |
Fair Value | $ 361 |

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(1)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479440/944-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481830/320-10-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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. + References No definition available. + Details
Name: | us-gaap_MarketableSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_CashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_ShortTermInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=tsla_CertificatesOfDepositAndTimeDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialPaperNotIncludedWithCashAndCashEquivalentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |