<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2024q2"
  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/2024q2/ffd-2024q2.xsd"
      xlink:type="simple"/>
    <context id="P07_07_2025To07_07_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001050446</identifier>
        </entity>
        <period>
            <startDate>2025-07-07</startDate>
            <endDate>2025-07-07</endDate>
        </period>
    </context>
    <context id="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis">
        <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-07-07</startDate>
            <endDate>2025-07-07</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Unit_pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P07_07_2025To07_07_2025" id="ixv-283">0001050446</dei:EntityCentralIndexKey>
    <ffd:FormTp contextRef="P07_07_2025To07_07_2025" id="ixv-284">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="P07_07_2025To07_07_2025" id="hidden143993326">424B5</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="P07_07_2025To07_07_2025" id="ixv-286">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName contextRef="P07_07_2025To07_07_2025" id="ixv-309">MicroStrategy Incorporated</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg
      contextRef="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis"
      id="ixv-310">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp
      contextRef="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis"
      id="ixv-311">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis"
      id="ixv-116">10.00% Series A Perpetual Stride Preferred Stock, $0.001 par value per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg
      contextRef="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis"
      id="ixv-312">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis"
      decimals="0"
      id="ixv-313"
      unitRef="Unit_USD">4200000000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis"
      decimals="8"
      id="ixv-314"
      unitRef="Unit_pure">0.0001531</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-315"
      unitRef="Unit_USD">643020</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="P07_07_2025To07_07_2025"
      decimals="0"
      id="ixv-316"
      unitRef="Unit_USD">4200000000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="P07_07_2025To07_07_2025"
      decimals="2"
      id="ixv-317"
      unitRef="Unit_USD">643020</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="P07_07_2025To07_07_2025"
      decimals="0"
      id="ixv-318"
      unitRef="Unit_USD">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="P07_07_2025To07_07_2025"
      decimals="0"
      id="ixv-319"
      unitRef="Unit_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="P07_07_2025To07_07_2025"
      decimals="2"
      id="ixv-320"
      unitRef="Unit_USD">643020</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="P07_07_2025To07_07_2025_1TypedMemberffdOfferingAxis"
      id="ixv-274">
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:10pt;border-spacing:0;width:100%"&gt;
&lt;tr style="page-break-inside:avoid"&gt;
&lt;td style="width:4%;vertical-align:top;text-align:left"&gt;(1)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style=" margin-top:0pt ; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;text-align:left"&gt;The registration fee is calculated in accordance with Rule 457(o) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), 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&#x2019;s 10.00% Series A Perpetual Stride Preferred Stock, $0.001 par value per share being registered under Registration Statement &lt;div style="white-space:nowrap;display:inline;"&gt;No.&#160;333-284510&lt;/div&gt; filed with the Securities and Exchange Commission on January&#160;27, 2025 (the &#x201c;Registration Statement&#x201d;) as may from time to time be offered under the Registration Statement at indeterminate prices. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</ffd:OfferingNote>
    <ffd:RegnFileNb contextRef="P07_07_2025To07_07_2025" id="ixv-321">333-284510</ffd:RegnFileNb>
</xbrl>
