<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>529</ContextCount>
  <ElementCount>594</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>131</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>11</UnitCount>
  <MyReports>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100030 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_StatementCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100040 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100050 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS) INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveLossIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE (LOSS) INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100060 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100070 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995455 - Disclosure - Cybersecurity Risk Management, Strategy, and Governance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance</Role>
      <ShortName>Cybersecurity Risk Management, Strategy, and Governance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995465 - Disclosure - Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureOrganization</Role>
      <ShortName>Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995475 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995485 - Disclosure - Recent Accounting Standards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureRecentAccountingStandards</Role>
      <ShortName>Recent Accounting Standards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995495 - Disclosure - Digital Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureDigitalAssets</Role>
      <ShortName>Digital Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995505 - Disclosure - Contract Balances</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureContractBalances</Role>
      <ShortName>Contract Balances</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995515 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995525 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLeases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995535 - Disclosure - Long-term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLongTermDebt</Role>
      <ShortName>Long-term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995545 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995555 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995565 - Disclosure - Share-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureShareBasedCompensation</Role>
      <ShortName>Share-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995575 - Disclosure - Basic and Diluted (Loss) Earnings per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureBasicAndDilutedLossEarningsPerShare</Role>
      <ShortName>Basic and Diluted (Loss) Earnings per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995585 - Disclosure - At-the-Market Equity Offerings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureAtMarketEquityOfferings</Role>
      <ShortName>At-the-Market Equity Offerings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995595 - Disclosure - Treasury Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureTreasuryStock</Role>
      <ShortName>Treasury Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995605 - Disclosure - Employee Benefit Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureEmployeeBenefitPlan</Role>
      <ShortName>Employee Benefit Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995615 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995625 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995635 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureSubsequentEvents1</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995645 - Disclosure - Schedule II Valuation And Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureScheduleIIValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II Valuation And Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995655 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995665 - Disclosure - Digital Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureDigitalAssetsTables</Role>
      <ShortName>Digital Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureDigitalAssets</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995675 - Disclosure - Contract Balances (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureContractBalancesTables</Role>
      <ShortName>Contract Balances (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureContractBalances</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995685 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipment</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995695 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLeases</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995705 - Disclosure - Long-term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLongTermDebtTables</Role>
      <ShortName>Long-term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLongTermDebt</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995715 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995725 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxes</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995735 - Disclosure - Share-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureShareBasedCompensationTables</Role>
      <ShortName>Share-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureShareBasedCompensation</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995745 - Disclosure - Basic and Diluted (Loss) Earnings per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureBasicAndDilutedLossEarningsPerShareTables</Role>
      <ShortName>Basic and Diluted (Loss) Earnings per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureBasicAndDilutedLossEarningsPerShare</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995755 - Disclosure - At-the-Market Equity Offerings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureAtthemarketEquityOfferingsTables</Role>
      <ShortName>At-the-Market Equity Offerings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureAtMarketEquityOfferings</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995765 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSegmentInformation</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995775 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995785 - Disclosure - Recent Accounting Standards - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureRecentAccountingStandardsAdditionalInformationDetail</Role>
      <ShortName>Recent Accounting Standards - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995795 - Disclosure - Digital Assets - Summary of Digital Asset Holdings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureDigitalAssetsSummaryOfDigitalAssetHoldingsDetails</Role>
      <ShortName>Digital Assets - Summary of Digital Asset Holdings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995805 - Disclosure - Digital Assets - Summary of Digital Asset Purchases, Digital Asset Sales, Digital Asset Impairment Losses, and Gains on Sale of Digital Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureDigitalAssetsSummaryOfDigitalAssetPurchasesDigitalAssetSalesDigitalAssetImpairmentLossesAndGainsOnSaleOfDigitalAssetsDetails</Role>
      <ShortName>Digital Assets - Summary of Digital Asset Purchases, Digital Asset Sales, Digital Asset Impairment Losses, and Gains on Sale of Digital Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995815 - Disclosure - Digital Assets - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureDigitalAssetsAdditionalInformationDetail</Role>
      <ShortName>Digital Assets - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995825 - Disclosure - Contract Balances - Schedule of Accounts Receivable (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureContractBalancesScheduleOfAccountsReceivableDetail</Role>
      <ShortName>Contract Balances - Schedule of Accounts Receivable (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995835 - Disclosure - Contract Balances - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureContractBalancesAdditionalInformationDetail</Role>
      <ShortName>Contract Balances - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995845 - Disclosure - Contract Balances - Deferred Revenue and Advance Payments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureContractBalancesDeferredRevenueAndAdvancePaymentsDetail</Role>
      <ShortName>Contract Balances - Deferred Revenue and Advance Payments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995855 - Disclosure - Contract Balances - Additional Information (Detail1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureContractBalancesAdditionalInformationDetail1</Role>
      <ShortName>Contract Balances - Additional Information (Detail1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995865 - Disclosure - Property and Equipment - Schedule of Property and Equipment (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentScheduleOfPropertyAndEquipmentDetail</Role>
      <ShortName>Property and Equipment - Schedule of Property and Equipment (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995875 - Disclosure - Property and Equipment - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosurePropertyAndEquipmentAdditionalInformationDetail</Role>
      <ShortName>Property and Equipment - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995885 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995895 - Disclosure - Leases - Components of Lease Cost and Other Lease (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLeasesComponentsOfLeaseCostAndOtherLeaseDetail</Role>
      <ShortName>Leases - Components of Lease Cost and Other Lease (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995905 - Disclosure - Leases - Schedule of Maturities of Operating lease liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLeasesScheduleOfMaturitiesOfOperatingLeaseLiabilitiesDetail</Role>
      <ShortName>Leases - Schedule of Maturities of Operating lease liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995915 - Disclosure - Long-term Debt - Schedule of Net Carrying Amount of Long-term Debt (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfNetCarryingAmountOfLongTermDebtDetail</Role>
      <ShortName>Long-term Debt - Schedule of Net Carrying Amount of Long-term Debt (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995925 - Disclosure - Long-term Debt - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLongTermDebtAdditionalInformationDetail</Role>
      <ShortName>Long-term Debt - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995935 - Disclosure - Long-term Debt - Summary of Key Terms of Each of the Convertible Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureLongtermDebtSummaryOfKeyTermsOfEachOfTheConvertibleNotesDetails</Role>
      <ShortName>Long-term Debt - Summary of Key Terms of Each of the Convertible Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995945 - Disclosure - Long-term Debt - Summary of Key Terms of Each of the Convertible Notes (Parenthetical) (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureLongtermDebtSummaryOfKeyTermsOfEachOfTheConvertibleNotesParentheticalDetail</Role>
      <ShortName>Long-term Debt - Summary of Key Terms of Each of the Convertible Notes (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>995955 - Disclosure - Long-term Debt - Schedule of Net Carrying Amount of Liability Component (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfNetCarryingAmountOfLiabilityComponentDetail</Role>
      <ShortName>Long-term Debt - Schedule of Net Carrying Amount of Liability Component (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>995965 - Disclosure - Long-term Debt - Schedule of Interest Expense Related to Notes (Detail)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfInterestExpenseRelatedToNotesDetail</Role>
      <ShortName>Long-term Debt - Schedule of Interest Expense Related to Notes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>995975 - Disclosure - Long-term Debt - Schedule of Maturities of Debt Instruments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureLongTermDebtScheduleOfMaturitiesOfDebtInstrumentsDetail</Role>
      <ShortName>Long-term Debt - Schedule of Maturities of Debt Instruments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>995985 - Disclosure - Future Minimum Payments Related to Noncancelable Purchase Agreements and Anticipated Payments Related to One-Time Transition Tax (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureFutureMinimumPaymentsRelatedToNoncancelablePurchaseAgreementsAndAnticipatedPaymentsRelatedToOneTimeTransitionTaxDetail</Role>
      <ShortName>Future Minimum Payments Related to Noncancelable Purchase Agreements and Anticipated Payments Related to One-Time Transition Tax (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>995995 - Disclosure - Commitments and Contingencies - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureCommitmentsAndContingenciesAdditionalInformationDetail</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Schedule of Components of (Loss) Income Before Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureScheduleOfComponentsOfLossIncomeBeforeIncomeTaxesDetail</Role>
      <ShortName>Schedule of Components of (Loss) Income Before Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Schedule of (Benefit from) Provision for Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureScheduleOfBenefitFromProvisionForIncomeTaxesDetail</Role>
      <ShortName>Schedule of (Benefit from) Provision for Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureScheduleIIValuationAndQualifyingAccounts</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Schedule of Effective Income Tax Rate Reconciliation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureScheduleOfEffectiveIncomeTaxRateReconciliationDetail</Role>
      <ShortName>Schedule of Effective Income Tax Rate Reconciliation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Schedule of Effective Tax Rate for [Loss] Before Income Taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureScheduleOfEffectiveTaxRateForLossBeforeIncomeTaxesDetail</Role>
      <ShortName>Schedule of Effective Tax Rate for [Loss] Before Income Taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996045 - Disclosure - Income Taxes - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>Income Taxes - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996055 - Disclosure - Schedule of Components of Deferred Tax Assets and Liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureScheduleOfComponentsOfDeferredTaxAssetsAndLiabilitiesDetail</Role>
      <ShortName>Schedule of Components of Deferred Tax Assets and Liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996065 - Disclosure - Schedule of Change in Unrecognized Tax Benefits (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureScheduleOfChangeInUnrecognizedTaxBenefitsDetail</Role>
      <ShortName>Schedule of Change in Unrecognized Tax Benefits (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996075 - Disclosure - Share-based Compensation - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>Share-based Compensation - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996085 - Disclosure - Summary of Stock Option Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSummaryOfStockOptionActivityDetail</Role>
      <ShortName>Summary of Stock Option Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996095 - Disclosure - Schedule of Range of Exercise Prices per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureScheduleOfRangeOfExercisePricesPerShareDetail</Role>
      <ShortName>Schedule of Range of Exercise Prices per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996105 - Disclosure - Assumptions Used in Black-Scholes Pricing Model (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureAssumptionsUsedInBlackScholesPricingModelDetail</Role>
      <ShortName>Assumptions Used in Black-Scholes Pricing Model (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996115 - Disclosure - Summary of Share-Settled Restricted Stock Unit Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSummaryOfShareSettledRestrictedStockUnitActivityDetail</Role>
      <ShortName>Summary of Share-Settled Restricted Stock Unit Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996125 - Disclosure - Share-based Compensation - Summary of Share-Settled Performance Stock Unit (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureSharebasedCompensationSummaryOfSharesettledPerformanceStockUnitDetail</Role>
      <ShortName>Share-based Compensation - Summary of Share-Settled Performance Stock Unit (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996135 - Disclosure - Summary of Components of Tax (Benefit) Expense Related To Equity Plan (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureSummaryOfComponentsOfTaxBenefitExpenseRelatedToEquityPlanDetail</Role>
      <ShortName>Summary of Components of Tax (Benefit) Expense Related To Equity Plan (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996145 - Disclosure - Basic and Diluted (Loss) Earnings per Share - Computation of Basic and Diluted (loss) Earnings per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureBasicAndDilutedLossEarningsPerShareComputationOfBasicAndDilutedLossEarningsPerShareDetail</Role>
      <ShortName>Basic and Diluted (Loss) Earnings per Share - Computation of Basic and Diluted (loss) Earnings per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureBasicAndDilutedLossEarningsPerShareTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996155 - Disclosure - Basic and Diluted (Loss) Earnings per Share - Schedule of Weighted Average of Potential Class A Common Stock Excluded from Computation of Basic and Diluted (loss) Earnings Per Share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureBasicAndDilutedLossEarningsPerShareScheduleOfWeightedAverageOfPotentialClassACommonStockExcludedFromComputationOfBasicAndDil</Role>
      <ShortName>Basic and Diluted (Loss) Earnings per Share - Schedule of Weighted Average of Potential Class A Common Stock Excluded from Computation of Basic and Diluted (loss) Earnings Per Share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureBasicAndDilutedLossEarningsPerShareTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996165 - Disclosure - At-the-Market Equity Offerings - Summary of Active At-the-Market Equity Offering (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureAtthemarketEquityOfferingsSummaryOfActiveAtthemarketEquityOfferingDetail</Role>
      <ShortName>At-the-Market Equity Offerings - Summary of Active At-the-Market Equity Offering (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996175 - Disclosure - At-the-Market Equity Offerings - Summary of Sales Activity of Sales Agreement for At-the-Market Equity Offering (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureAtthemarketEquityOfferingsSummaryOfSalesActivityOfSalesAgreementForAtthemarketEquityOfferingDetails</Role>
      <ShortName>At-the-Market Equity Offerings - Summary of Sales Activity of Sales Agreement for At-the-Market Equity Offering (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996195 - Disclosure - Treasury Stock - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureTreasuryStockAdditionalInformationDetail</Role>
      <ShortName>Treasury Stock - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996205 - Disclosure - Employee Benefit Plan - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureEmployeeBenefitPlanAdditionalInformationDetail</Role>
      <ShortName>Employee Benefit Plan - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996215 - Disclosure - Segment Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureSegmentInformationAdditionalInformationDetail</Role>
      <ShortName>Segment Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996225 - Disclosure - Segment Information - Schedule of Software Business Segment and Corporate &amp; Other Category on a Consolidated Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureSegmentInformationScheduleOfSoftwareBusinessSegmentAndCorporateOtherCategoryOnAConsolidatedBasisDetails</Role>
      <ShortName>Segment Information - Schedule of Software Business Segment and Corporate &amp; Other Category on a Consolidated Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996235 - Disclosure - Segment Information - Total Revenues and Long-Lived Assets, by Geographic Region (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureSegmentInformationTotalRevenuesAndLonglivedAssetsByGeographicRegionDetail</Role>
      <ShortName>Segment Information - Total Revenues and Long-Lived Assets, by Geographic Region (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996245 - Disclosure - Related Party Transactions - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetail</Role>
      <ShortName>Related Party Transactions - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996255 - Disclosure - Subsequent Events - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/DisclosureSubsequentEventsAdditionalInformationDetail</Role>
      <ShortName>Subsequent Events - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="mstr-20241231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996265 - Disclosure - Valuation And Qualifying Accounts (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.microstrategy.com/20241231/taxonomy/role/Role_DisclosureValuationAndQualifyingAccountsDetail</Role>
      <ShortName>Valuation And Qualifying Accounts (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="mstr-20241231.htm">mstr-20241231.htm</File>
    <File>mstr-20241231.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img6286920_0.jpg</File>
    <File>img6286920_1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="4">http://fasb.org/srt/2024</BaseTaxonomy>
    <BaseTaxonomy items="1723">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="13">http://xbrl.sec.gov/cyd/2024</BaseTaxonomy>
    <BaseTaxonomy items="43">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
