<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001050446</identifier>
        </entity>
        <period>
            <startDate>2025-11-03</startDate>
            <endDate>2025-11-03</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001050446</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-03</startDate>
            <endDate>2025-11-03</endDate>
        </period>
    </context>
    <context id="ofst_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001050446</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-03</startDate>
            <endDate>2025-11-03</endDate>
        </period>
    </context>
    <context id="ofst_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001050446</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-03</startDate>
            <endDate>2025-11-03</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-377">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-378">424B5</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-379">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb contextRef="rc" id="ixv-380">333-284510</ffd:RegnFileNb>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-381">0001050446</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-382">Strategy Inc</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa" xsi:nil="true"/>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FnlPrspctsFlg contextRef="rc" id="ixv-386">false</ffd:FnlPrspctsFlg>
    <ffd:OffsetClmdInd contextRef="ofst_1" id="ixv-387">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="ofst_2" id="ixv-388">false</ffd:OffsetClmdInd>
    <ffd:FormTp contextRef="rc" id="ixv-431">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-432">Strategy Inc</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-433">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-434">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-435">10.00% Series A Perpetual Stride Preferred Stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_1" id="ixv-436">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-437"
      unitRef="USD">4133799112.67</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-438"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-439"
      unitRef="USD">570877.66</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="INF" id="ixv-440" unitRef="USD">4133799112.67</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="INF" id="ixv-441" unitRef="USD">570877.66</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="INF" id="ixv-442" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="INF" id="ixv-443" unitRef="USD">570877.66</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="INF" id="ixv-444" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-445">The registration fee is calculated in accordance with Rule 457(o) under the Securities Act of 1933, as amended (the "Securities Act"), based on the proposed maximum aggregate offering price and Rule 457(r) under the Securities Act. In accordance with Rules 465(b) and 457(r) under the Securities Act, the registrant initially deferred payment of all of the registration fee with respect to an indeterminate amount of the registrant's 10.00% Series A Perpetual Stride Stock, $0.001 par value per share (the "STRD Stock") being registered under Registration Statement No. 333-284510 filed with the Securities and Exchange Commission on January 27, 2025 (the "Registration Statement") as may from time to time be offered under the Registration Statement at indeterminate prices.</ffd:OfferingNote>
    <ffd:Rule457pOffsetFlg contextRef="ofst_1" id="ixv-446">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_1" id="ixv-447">Strategy Inc</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_1" id="ixv-448">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_1" id="ixv-449">333-284510</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="ofst_1" id="ixv-450">2025-07-07</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt
      contextRef="ofst_1"
      decimals="INF"
      id="ixv-451"
      unitRef="USD">570877.66</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="ofst_1" id="ixv-452">Equity</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="ofst_1" id="ixv-453">10.00% Series A Perpetual Stride Preferred Stock, par value $0.001 per share</ffd:OffsetPrrSctyTitl>
    <ffd:OffsetPrrNbOfUnsoldScties
      contextRef="ofst_1"
      decimals="0"
      id="ixv-454"
      unitRef="Shares">0</ffd:OffsetPrrNbOfUnsoldScties>
    <ffd:OffsetPrrUnsoldOfferingAmt
      contextRef="ofst_1"
      decimals="INF"
      id="ixv-455"
      unitRef="USD">3728789418.68</ffd:OffsetPrrUnsoldOfferingAmt>
    <ffd:Rule457pOffsetFlg contextRef="ofst_2" id="ixv-456">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_2" id="ixv-457">Strategy Inc</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_2" id="ixv-458">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_2" id="ixv-459">333-284510</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="ofst_2" id="ixv-460">2025-07-07</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt
      contextRef="ofst_2"
      decimals="INF"
      id="ixv-461"
      unitRef="USD">643020.00</ffd:OffsetPrrFeeAmt>
    <ffd:TermntnCmpltnWdrwl contextRef="ofst_1" id="ixv-462">The Prior Sales Agreement and the Prior ATM Offering were terminated effective as of November 4, 2025. Prior to such termination, the registrant had sold $66,200,887.33 of shares of STRD Stock under the Prior ATM Offering and the balance of $4,133,799,112.67 (the "Unsold STRD Stock") of the $4,200,000,000 of shares of STRD Stock registered for offer and sale in the Prior ATM Offering remained unsold at the termination.</ffd:TermntnCmpltnWdrwl>
    <ffd:OffsetNote contextRef="ofst_1" id="ixv-463">On July 7, 2025 the registrant filed a prospectus supplement with the Securities and Exchange Commission under the Registration Statement relating to the offering of shares of its STRD Stock that was able to be issued and sold from time to time under a Sales Agreement, dated July 7, 2025 with the sales agents named therein (the "Prior Sales Agreement", and such offering, the "Prior ATM Offering"). The Prior Sales Agreement and the Prior ATM Offering were terminated effective as of November 4, 2025. Prior to such termination, the registrant had sold $66,200,887.33 of shares of STRD Stock under the Prior ATM Offering and the balance of $4,133,799,112.67 (the "Unsold STRD Stock") of the $4,200,000,000 of shares of STRD Stock registered for offer and sale in the Prior ATM Offering remained unsold at the termination. The registrant previously paid a filing fee of $632,884.65 with respect to a portion of the Unsold STRD Stock, which is being applied to the registration of shares of STRD Stock pursuant to this prospectus supplement annex in accordance with Rule 457(p) under the Securities Act.</ffd:OffsetNote>
    <ffd:OffsetNote contextRef="ofst_2" id="ixv-464">On July 7, 2025 the registrant filed a prospectus supplement with the Securities and Exchange Commission under the Registration Statement relating to the offering of shares of its STRD Stock that was able to be issued and sold from time to time under a Sales Agreement, dated July 7, 2025 with the sales agents named therein (the "Prior Sales Agreement", and such offering, the "Prior ATM Offering"). The Prior Sales Agreement and the Prior ATM Offering were terminated effective as of November 4, 2025. Prior to such termination, the registrant had sold $66,200,887.33 of shares of STRD Stock under the Prior ATM Offering and the balance of $4,133,799,112.67 (the "Unsold STRD Stock") of the $4,200,000,000 of shares of STRD Stock registered for offer and sale in the Prior ATM Offering remained unsold at the termination. The registrant previously paid a filing fee of $632,884.65 with respect to a portion of the Unsold STRD Stock, which is being applied to the registration of shares of STRD Stock pursuant to this prospectus supplement annex in accordance with Rule 457(p) under the Securities Act.</ffd:OffsetNote>
</xbrl>
