v3.26.3
Debt - Narrative (Details)
$ in Millions
1 Months Ended 3 Months Ended 9 Months Ended 12 Months Ended
May 31, 2026
USD ($)
Mar. 05, 2026
USD ($)
Mar. 02, 2026
USD ($)
Jun. 30, 2026
USD ($)
tranche
Mar. 31, 2026
USD ($)
option
Jun. 30, 2025
USD ($)
Apr. 30, 2025
USD ($)
Feb. 28, 2025
USD ($)
Nov. 30, 2022
USD ($)
Sep. 30, 2026
USD ($)
transaction
Sep. 30, 2026
USD ($)
transaction
Sep. 30, 2025
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2025
USD ($)
Dec. 31, 2019
USD ($)
Debt Instrument [Line Items]                              
Loss on extinguishment       $ 18 $ 1,526           $ 1,545 $ 0      
Debt purchased                     39,845 6,014      
Additional commitment                     51,834 10,947      
Prepayment penalty                     1,153 $ 0      
Debt and finance leases, current                   $ 2,698 2,698     $ 928  
Debt and finance leases, net of current                   $ 36,146 $ 36,146     $ 21,968  
Number of failed sale-leaseback transactions | transaction                   3 3        
SpaceX Notes | Unsecured Debt                              
Debt Instrument [Line Items]                              
Aggregate principal amount       $ 25,000                      
Number of tranches | tranche       5                      
Average interest rate       5.855%                      
Effective interest rate                   6.072% 6.072%        
Redemption price percentage       100.00%                      
Lien threshold percentage of total assets       7.50%                      
SpaceX Notes | Unsecured Debt | Weighted Average                              
Debt Instrument [Line Items]                              
Maturity/ term of debt       11 years 8 months 12 days                      
SpaceX Notes | Unsecured Debt | Minimum                              
Debt Instrument [Line Items]                              
Interest rate       5.35%                      
Redemption period prior to maturity       1 month                      
Redemption price spread percentage       0.20%                      
SpaceX Notes | Unsecured Debt | Maximum                              
Debt Instrument [Line Items]                              
Interest rate       6.65%                      
Redemption period prior to maturity       6 months                      
Redemption price spread percentage       0.30%                      
SpaceX Bridge Loan | Bridge Loan                              
Debt Instrument [Line Items]                              
Aggregate principal amount         $ 20,000                    
Number of extension options | option         2                    
Extension period         3 months                    
Extension fee percentage         0.25%                    
Duration fee percentage on first anniversary         0.125%                    
Duration fee percentage on fifteen-month anniversary         0.25%                    
Repayment period after receiving IPO proceeds         6 months                    
SpaceX Bridge Loan | Bridge Loan | Variable Rate Option Two | Federal Funds Rate                              
Debt Instrument [Line Items]                              
Margin rate adjustment         0.50%                    
SpaceX Bridge Loan | Bridge Loan | Variable Rate Option Two | Term SOFR                              
Debt Instrument [Line Items]                              
Margin rate adjustment         1.00%                    
SpaceX Bridge Loan | Bridge Loan | Variable Rate Option Two | Stated Margin                              
Debt Instrument [Line Items]                              
Margin rate adjustment         1.00%                    
SpaceX Bridge Loan | Bridge Loan | Minimum | Variable Rate Option One                              
Debt Instrument [Line Items]                              
Margin rate         0.75%                    
SpaceX Bridge Loan | Bridge Loan | Minimum | Variable Rate Option Two                              
Debt Instrument [Line Items]                              
Margin rate         0.00%                    
SpaceX Bridge Loan | Bridge Loan | Maximum | Variable Rate Option One                              
Debt Instrument [Line Items]                              
Margin rate         1.75%                    
SpaceX Bridge Loan | Bridge Loan | Maximum | Variable Rate Option Two                              
Debt Instrument [Line Items]                              
Margin rate         0.75%                    
xAI 12.5% Secured Senior Notes                              
Debt Instrument [Line Items]                              
Interest rate                           12.50%  
xAI 12.5% Secured Senior Notes | Secured Debt                              
Debt Instrument [Line Items]                              
Aggregate principal amount           $ 3,000                  
Interest rate           12.50%               12.50%  
Prepayment penalty   $ 518                          
Issuance price percentage of principal           100.00%                  
xAI 12.5% Secured Senior Notes | Secured Debt | Debt Instrument, Redemption, Period One                              
Debt Instrument [Line Items]                              
Redemption price percentage           106.25%                  
xAI 12.5% Secured Senior Notes | Secured Debt | Debt Instrument, Redemption, Period Two                              
Debt Instrument [Line Items]                              
Redemption price percentage           103.13%                  
SpaceX Credit Facility | Line of Credit | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Maturity/ term of debt               5 years              
Maximum borrowing capacity $ 5,000             $ 1,500              
Amounts borrowed                   $ 0 $ 0        
SpaceX Credit Facility | Line of Credit | Letter of Credit                              
Debt Instrument [Line Items]                              
Maximum borrowing capacity $ 2,000                            
SpaceX Credit Facility | Line of Credit | Variable Rate Option Two | Federal Funds Rate | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate adjustment 0.50%                            
SpaceX Credit Facility | Line of Credit | Variable Rate Option Two | Term SOFR | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate adjustment 1.00%                            
SpaceX Credit Facility | Line of Credit | Variable Rate Option Two | Stated Margin | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate adjustment 1.00%                            
SpaceX Credit Facility | Line of Credit | Minimum | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Unused commitment fee percentage 0.07%                            
SpaceX Credit Facility | Line of Credit | Minimum | Variable Rate Option One | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate 0.75%                            
SpaceX Credit Facility | Line of Credit | Minimum | Variable Rate Option Two | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate 0.00%                            
SpaceX Credit Facility | Line of Credit | Maximum | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Unused commitment fee percentage 0.11%                            
SpaceX Credit Facility | Line of Credit | Maximum | Variable Rate Option One | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate 1.25%                            
SpaceX Credit Facility | Line of Credit | Maximum | Variable Rate Option Two | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate 0.25%                            
X 2027 Notes | Senior Notes                              
Debt Instrument [Line Items]                              
Aggregate principal amount                             $ 700
Interest rate                             3.875%
Redemption price percentage                 100.00%            
Debt purchased                 $ 675            
X 2030 Notes | Senior Notes                              
Debt Instrument [Line Items]                              
Aggregate principal amount                         $ 1,000    
Interest rate                         5.00%    
Redemption price percentage                 100.00%            
Debt purchased                 $ 998            
X First Lien Senior Credit Facilities, X B-1 Term Loan | Line of Credit                              
Debt Instrument [Line Items]                              
Aggregate principal amount                         $ 6,705    
Margin rate                         6.50%    
Mandatory repayment percentage                         0.25%    
X First Lien Senior Credit Facilities | Line of Credit                              
Debt Instrument [Line Items]                              
Prepayment penalty     $ 425                        
X First Lien Senior Credit Facilities | Line of Credit | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate                         4.50%    
Maximum borrowing capacity               0         $ 500    
Unused commitment fee percentage                         0.50%    
X First Lien Senior Credit Facilities | Line of Credit | Letter of Credit                              
Debt Instrument [Line Items]                              
Maximum borrowing capacity                         $ 100    
X First Lien Senior Credit Facilities, X B-3 Term Loan | Line of Credit                              
Debt Instrument [Line Items]                              
Aggregate principal amount               $ 4,741              
Interest rate               9.50%              
Fee amount               $ 51              
Additional commitment             $ 1,225                
Loan borrowings             $ 5,966                
X First Lien Senior Credit Facilities, X B-3 Term Loan | Line of Credit | Debt Instrument, Redemption, Period One                              
Debt Instrument [Line Items]                              
Redemption price percentage               107.13%              
X First Lien Senior Credit Facilities, X B-3 Term Loan | Line of Credit | Debt Instrument, Redemption, Period Two                              
Debt Instrument [Line Items]                              
Redemption price percentage               104.75%              
X First Lien Senior Credit Facilities, X B-3 Term Loan | Line of Credit | Debt Instrument, Redemption, Period Three                              
Debt Instrument [Line Items]                              
Redemption price percentage               102.38%              
xAI Fixed Rate and Floating Rate Term Loans | Line of Credit                              
Debt Instrument [Line Items]                              
Maximum borrowing capacity           $ 2,000                  
Prepayment penalty     $ 221                        
xAI Fixed Rate Term Loan | Line of Credit                              
Debt Instrument [Line Items]                              
Aggregate principal amount           $ 1,000                  
Interest rate           12.50%                  
xAI Fixed Rate Term Loan | Line of Credit | Debt Instrument, Redemption, Period One                              
Debt Instrument [Line Items]                              
Redemption price percentage           103.00%                  
xAI Fixed Rate Term Loan | Line of Credit | Debt Instrument, Redemption, Period Two                              
Debt Instrument [Line Items]                              
Redemption price percentage           101.00%                  
xAI Floating Rate Term Loan | Line of Credit                              
Debt Instrument [Line Items]                              
Aggregate principal amount           $ 1,000                  
xAI Floating Rate Term Loan | Line of Credit | Debt Instrument, Redemption, Period One                              
Debt Instrument [Line Items]                              
Redemption price percentage           103.00%                  
xAI Floating Rate Term Loan | Line of Credit | Debt Instrument, Redemption, Period Two                              
Debt Instrument [Line Items]                              
Redemption price percentage           101.00%                  
xAI Floating Rate Term Loan | Line of Credit | Term SOFR                              
Debt Instrument [Line Items]                              
Margin rate           7.25%                  
xAI Floating Rate Term Loan | Line of Credit | Alternate Base Rate                              
Debt Instrument [Line Items]                              
Margin rate           6.25%                  
xAI Revolving Line of Credit | Line of Credit | Revolving Credit Facility                              
Debt Instrument [Line Items]                              
Margin rate         0.40%                    
Maximum borrowing capacity         $ 250                    
Amounts borrowed                   $ 0 $ 0        
Other Financings                              
Debt Instrument [Line Items]                              
Average interest rate                   6.30% 6.30%     5.50%  
Failed Sale-Leaseback Transactions                              
Debt Instrument [Line Items]                              
Debt and finance leases, current                   $ 2,181 $ 2,181        
Debt and finance leases, net of current                   $ 10,716 $ 10,716