<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001181412</identifier>
        </entity>
        <period>
            <startDate>2026-08-04</startDate>
            <endDate>2026-08-04</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001181412</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-08-04</startDate>
            <endDate>2026-08-04</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c-1" id="f-17">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-1" id="f-18">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-19">0001181412</dei:EntityCentralIndexKey>
    <ffd:OffsetTableNa contextRef="c-1" id="f-20">N/A</ffd:OffsetTableNa>
    <ffd:FormTp contextRef="c-1" id="f-1">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c-1" id="f-2">SPACE EXPLORATION TECHNOLOGIES CORP.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c-2" id="f-3">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c-2" id="f-4">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c-2" id="f-5">Class A Common Stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg contextRef="c-2" id="f-6">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd contextRef="c-2" decimals="0" id="f-7" unitRef="shares">136949657</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-2" decimals="2" id="f-8" unitRef="usd">110.61</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-2" decimals="2" id="f-9" unitRef="usd">15148001561</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-2" decimals="7" id="f-10" unitRef="number">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-2" decimals="2" id="f-11" unitRef="usd">2091939.02</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-1" decimals="2" id="f-12" unitRef="usd">15148001561</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-1" decimals="2" id="f-13" unitRef="usd">2091939.02</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-1" decimals="2" id="f-14" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-1" decimals="2" id="f-15" unitRef="usd">2091939.02</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c-2" id="f-16">Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement on Form S-8 (this &#x201c;Registration Statement&#x201d;) shall also cover any additional shares of Class A Common Stock, par value $0.001 per share (the &#x201c;Common Stock&#x201d;), of Space Exploration Technologies Corp. (the &#x201c;Registrant&#x201d;), that may become issuable with respect to the securities identified in this row by reason of any stock dividend, stock split, recapitalization or other similar transaction effected without the receipt of consideration that increases the number of the Registrant&#x2019;s outstanding shares of Common Stock. Represents shares of Common Stock issued pursuant to settlement of restricted stock units or exercise of options under the Registrant&#x2019;s Amended and Restated 2024 Equity Incentive Plan, the Registrant&#x2019;s Amended and Restated 2015 Equity Incentive Plan, the Swarm Technologies, Inc. 2017 Stock Plan, the xAI Holdings Corp. 2025 Equity Incentive Plan, the xAI Corp. Amended and Restated 2023 Equity Incentive Plan, the X Holdings Corp. 2023 Incentive Plan, or the Mesh Optical Technologies Corporation 2025 Equity Incentive Plan or purchased under the Registrant&#x2019;s Second Amended and Restated 2017 Employee Stock Purchase Plan or the Registrant&#x2019;s 2023 Employee Stock Purchase Plan. The proposed maximum offering price has been estimated solely for the purpose of calculating the registration fee pursuant to Rules 457(c) and (h) of the Securities Act, based on the average of the high and low sales prices of the Common Stock of $110.61 per share as reported on the Nasdaq Global Select Market on July 31, 2026.</ffd:OfferingNote>
</xbrl>
