<?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="P06_06_2025To06_06_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001050446</identifier>
        </entity>
        <period>
            <startDate>2025-06-06</startDate>
            <endDate>2025-06-06</endDate>
        </period>
    </context>
    <context id="P06_06_2025To06_06_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-06-06</startDate>
            <endDate>2025-06-06</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Unit_pure">
        <measure>pure</measure>
    </unit>
    <unit id="Unit_shares">
        <measure>shares</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="P06_06_2025To06_06_2025" id="ixv-202">0001050446</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb contextRef="P06_06_2025To06_06_2025" id="ixv-203">333-284510</ffd:RegnFileNb>
    <ffd:FormTp contextRef="P06_06_2025To06_06_2025" id="ixv-204">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="P06_06_2025To06_06_2025" id="hidden142506157">424B5</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="P06_06_2025To06_06_2025" id="ixv-206">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityRegistrantName contextRef="P06_06_2025To06_06_2025" id="ixv-231">MicroStrategy Incorporated</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      id="ixv-232">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      id="ixv-233">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      id="ixv-234">10.00% Series A Perpetual Stride Preferred Stock, $0.001 par value per share</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      id="ixv-235">true</ffd:Rule457rFlg>
    <ffd:AmtSctiesRegd
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      decimals="0"
      id="ixv-236"
      unitRef="Unit_shares">11764700</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-237"
      unitRef="Unit_pure">85</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      decimals="0"
      id="ixv-238"
      unitRef="Unit_USD">999999500</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      decimals="INF"
      id="ixv-239"
      unitRef="Unit_pure">0.0001531</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      decimals="2"
      id="ixv-240"
      unitRef="Unit_USD">153099.92</ffd:FeeAmt>
    <ffd:TtlFeeAmt
      contextRef="P06_06_2025To06_06_2025"
      decimals="2"
      id="ixv-241"
      unitRef="Unit_USD">153099.92</ffd:TtlFeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="P06_06_2025To06_06_2025"
      decimals="0"
      id="ixv-242"
      unitRef="Unit_USD">999999500</ffd:TtlOfferingAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="P06_06_2025To06_06_2025"
      decimals="0"
      id="ixv-243"
      unitRef="Unit_USD">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="P06_06_2025To06_06_2025"
      decimals="0"
      id="ixv-244"
      unitRef="Unit_USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="P06_06_2025To06_06_2025"
      decimals="2"
      id="ixv-245"
      unitRef="Unit_USD">153099.92</ffd:NetFeeAmt>
    <ffd:OfferingNote
      contextRef="P06_06_2025To06_06_2025_1TypedMemberffdOfferingAxis"
      id="ixv-187">
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt;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:8pt; font-family:Times New Roman;text-align:justify"&gt;The fee payable in connection with the offering relating to this exhibit has been calculated pursuant to Rule 457(r) under the Securities Act and paid in accordance with Rule 456(b) under the Securities Act. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="text-align:start; BORDER-COLLAPSE:COLLAPSE; font-family:Times New Roman; font-size:8pt;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;(2)&lt;/td&gt;
&lt;td style="vertical-align:top;text-align:left"&gt;&lt;div style=" margin-top:0pt ; margin-bottom:0pt; font-size:8pt; font-family:Times New Roman;text-align:justify"&gt;The prospectus supplement to which this exhibit is attached is a final prospectus supplement for the related offering of the registrant&#x2019;s 10.00% Series A Perpetual Stride Preferred Stock, $0.001 par value per share. The maximum aggregate offering price of that offering is $999,999,500. &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</ffd:OfferingNote>
    <ffd:FnlPrspctsFlg contextRef="P06_06_2025To06_06_2025" id="ixv-246">true</ffd:FnlPrspctsFlg>
    <ffd:NrrtvMaxAggtOfferingPric
      contextRef="P06_06_2025To06_06_2025"
      decimals="0"
      id="ixv-247"
      unitRef="Unit_USD">999999500</ffd:NrrtvMaxAggtOfferingPric>
</xbrl>
