<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.2.u1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>254</ContextCount>
  <ElementCount>341</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>74</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>14</UnitCount>
  <MyReports>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CondensedConsolidatedBalanceSheets</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CondensedConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - Condensed Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CondensedConsolidatedStatementsofOperations</Role>
      <ShortName>Condensed Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - Condensed Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CondensedConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - Condensed Consolidated Statements of Noncontrolling Interests and Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CondensedConsolidatedStatementsofNoncontrollingInterestsandEquity</Role>
      <ShortName>Condensed Consolidated Statements of Noncontrolling Interests and Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Statement - Condensed Consolidated Statements of Noncontrolling Interests and Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CondensedConsolidatedStatementsofNoncontrollingInterestsandEquityParenthetical</Role>
      <ShortName>Condensed Consolidated Statements of Noncontrolling Interests and Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - Statement - Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CondensedConsolidatedStatementsofCashFlows</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/Organization</Role>
      <ShortName>Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/BasisofPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Fair Value Disclosures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/FairValueDisclosures</Role>
      <ShortName>Fair Value Disclosures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Acquisitions and Dispositions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/AcquisitionsandDispositions</Role>
      <ShortName>Acquisitions and Dispositions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Real Estate Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/RealEstateAssets</Role>
      <ShortName>Real Estate Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/OtherAssets</Role>
      <ShortName>Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Earnings Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/EarningsPerCommonShare</Role>
      <ShortName>Earnings Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Investments in Unconsolidated Real Estate Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/InvestmentsinUnconsolidatedRealEstateEntities</Role>
      <ShortName>Investments in Unconsolidated Real Estate Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Investments in Debt Securities and Notes Receivable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivable</Role>
      <ShortName>Investments in Debt Securities and Notes Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Derivatives</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/Derivatives</Role>
      <ShortName>Derivatives</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Noncontrolling Interest Represented by Preferred Operating Partnership Units</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnits</Role>
      <ShortName>Noncontrolling Interest Represented by Preferred Operating Partnership Units</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Noncontrolling Interest in Operating Partnership and Other Noncontrolling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/NoncontrollingInterestinOperatingPartnershipandOtherNoncontrollingInterests</Role>
      <ShortName>Noncontrolling Interest in Operating Partnership and Other Noncontrolling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.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>25</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.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>26</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/BasisofPresentationPolicies</Role>
      <ShortName>Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9954472 - Disclosure - Fair Value Disclosures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/FairValueDisclosuresTables</Role>
      <ShortName>Fair Value Disclosures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/FairValueDisclosures</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9954473 - Disclosure - Acquisitions and Dispositions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/AcquisitionsandDispositionsTables</Role>
      <ShortName>Acquisitions and Dispositions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/AcquisitionsandDispositions</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9954474 - Disclosure - Real Estate Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/RealEstateAssetsTables</Role>
      <ShortName>Real Estate Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/RealEstateAssets</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9954475 - Disclosure - Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/OtherAssetsTables</Role>
      <ShortName>Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/OtherAssets</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954476 - Disclosure - Earnings Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/EarningsPerCommonShareTables</Role>
      <ShortName>Earnings Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/EarningsPerCommonShare</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - Investments in Unconsolidated Real Estate Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/InvestmentsinUnconsolidatedRealEstateEntitiesTables</Role>
      <ShortName>Investments in Unconsolidated Real Estate Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/InvestmentsinUnconsolidatedRealEstateEntities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954478 - Disclosure - Investments in Debt Securities and Notes Receivable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivableTables</Role>
      <ShortName>Investments in Debt Securities and Notes Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivable</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954479 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/Debt</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954480 - Disclosure - Derivatives (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/DerivativesTables</Role>
      <ShortName>Derivatives (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/Derivatives</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954481 - Disclosure - Noncontrolling Interest Represented by Preferred Operating Partnership Units (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsTables</Role>
      <ShortName>Noncontrolling Interest Represented by Preferred Operating Partnership Units (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnits</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954482 - Disclosure - Noncontrolling Interest in Operating Partnership and Other Noncontrolling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/NoncontrollingInterestinOperatingPartnershipandOtherNoncontrollingInterestsTables</Role>
      <ShortName>Noncontrolling Interest in Operating Partnership and Other Noncontrolling Interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/NoncontrollingInterestinOperatingPartnershipandOtherNoncontrollingInterests</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954483 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/SegmentInformation</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - Organization (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/OrganizationDetail</Role>
      <ShortName>Organization (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/Organization</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954485 - Disclosure - Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/BasisofPresentationDetails</Role>
      <ShortName>Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/BasisofPresentationPolicies</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954486 - Disclosure - Fair Value Disclosures - Assets and Liabilities on a Recurring Basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/FairValueDisclosuresAssetsandLiabilitiesonaRecurringBasisDetail</Role>
      <ShortName>Fair Value Disclosures - Assets and Liabilities on a Recurring Basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954487 - Disclosure - Fair Value Disclosures - Schedule of Financial Instruments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/FairValueDisclosuresScheduleofFinancialInstrumentsDetail</Role>
      <ShortName>Fair Value Disclosures - Schedule of Financial Instruments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954488 - Disclosure - Fair Value Disclosures - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/FairValueDisclosuresAdditionalInformationDetail</Role>
      <ShortName>Fair Value Disclosures - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954489 - Disclosure - Acquisitions and Dispositions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/AcquisitionsandDispositionsAdditionalInformationDetails</Role>
      <ShortName>Acquisitions and Dispositions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954490 - Disclosure - Acquisitions and Dispositions - Asset Acquisition - Life Storage (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/AcquisitionsandDispositionsAssetAcquisitionLifeStorageDetails</Role>
      <ShortName>Acquisitions and Dispositions - Asset Acquisition - Life Storage (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954491 - Disclosure - Acquisitions and Dispositions - Asset Acquisitions - Schedule of Operating Properties Acquired (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/AcquisitionsandDispositionsAssetAcquisitionsScheduleofOperatingPropertiesAcquiredDetails</Role>
      <ShortName>Acquisitions and Dispositions - Asset Acquisitions - Schedule of Operating Properties Acquired (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954492 - Disclosure - Real Estate Assets - Schedule of Components of Real Estate Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/RealEstateAssetsScheduleofComponentsofRealEstateAssetsDetails</Role>
      <ShortName>Real Estate Assets - Schedule of Components of Real Estate Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - Real Estate Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/RealEstateAssetsAdditionalInformationDetails</Role>
      <ShortName>Real Estate Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/OtherAssetsDetails</Role>
      <ShortName>Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/OtherAssetsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - Earnings Per Common Share - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/EarningsPerCommonShareAdditionalInformationDetail</Role>
      <ShortName>Earnings Per Common Share - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - Earnings Per Common Share - Antidilutive Shares (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/EarningsPerCommonShareAntidilutiveSharesDetail</Role>
      <ShortName>Earnings Per Common Share - Antidilutive Shares (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - Earnings Per Common Share - Schedule of Computation (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/EarningsPerCommonShareScheduleofComputationDetail</Role>
      <ShortName>Earnings Per Common Share - Schedule of Computation (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - Investments in Unconsolidated Real Estate Entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/InvestmentsinUnconsolidatedRealEstateEntitiesDetails</Role>
      <ShortName>Investments in Unconsolidated Real Estate Entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/InvestmentsinUnconsolidatedRealEstateEntitiesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - Investments in Debt Securities and Notes Receivable - Schedule (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivableScheduleDetails</Role>
      <ShortName>Investments in Debt Securities and Notes Receivable - Schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivableTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954500 - Disclosure - Investments in Debt Securities and Notes Receivable - Additional Information (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivableAdditionalInformationDetails</Role>
      <ShortName>Investments in Debt Securities and Notes Receivable - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954501 - Disclosure - Debt - Schedule of Components of Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/DebtScheduleofComponentsofTermDebtDetails</Role>
      <ShortName>Debt - Schedule of Components of Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - Debt - Schedule of Maturities of Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.extraspace.com/role/DebtScheduleofMaturitiesofNotesPayableDetails</Role>
      <ShortName>Debt - Schedule of Maturities of Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/DebtAdditionalInformationDetails</Role>
      <ShortName>Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954504 - Disclosure - Debt - Schedule of Information on Lines of Credit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/DebtScheduleofInformationonLinesofCreditDetails</Role>
      <ShortName>Debt - Schedule of Information on Lines of Credit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954505 - Disclosure - Derivatives - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/DerivativesAdditionalInformationDetail</Role>
      <ShortName>Derivatives - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9954506 - Disclosure - Derivatives - Schedule of Balance Sheet Classification and Fair Value of Instruments (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/DerivativesScheduleofBalanceSheetClassificationandFairValueofInstrumentsDetail</Role>
      <ShortName>Derivatives - Schedule of Balance Sheet Classification and Fair Value of Instruments (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9954507 - Disclosure - Derivatives - Gain (Loss) Recognized on Swap Agreements (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/DerivativesGainLossRecognizedonSwapAgreementsDetail</Role>
      <ShortName>Derivatives - Gain (Loss) Recognized on Swap Agreements (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9954508 - Disclosure - Stockholders' Equity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/StockholdersEquityDetail</Role>
      <ShortName>Stockholders' Equity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/StockholdersEquity</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9954509 - Disclosure - Noncontrolling Interest Represented by Preferred Operating Partnership Units - Balances of OP Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsBalancesofOPUnitsDetails</Role>
      <ShortName>Noncontrolling Interest Represented by Preferred Operating Partnership Units - Balances of OP Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9954510 - Disclosure - Noncontrolling Interest Represented by Preferred Operating Partnership Units - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsAdditionalInformationDetails</Role>
      <ShortName>Noncontrolling Interest Represented by Preferred Operating Partnership Units - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9954511 - Disclosure - Noncontrolling Interest in Operating Partnership and Other Noncontrolling Interests - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/NoncontrollingInterestinOperatingPartnershipandOtherNoncontrollingInterestsAdditionalInformationDetails</Role>
      <ShortName>Noncontrolling Interest in Operating Partnership and Other Noncontrolling Interests - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9954512 - Disclosure - Noncontrolling Interest in Operating Partnership and Other Noncontrolling Interests - Schedule of OP Unit Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/NoncontrollingInterestinOperatingPartnershipandOtherNoncontrollingInterestsScheduleofOPUnitActivityDetails</Role>
      <ShortName>Noncontrolling Interest in Operating Partnership and Other Noncontrolling Interests - Schedule of OP Unit Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9954513 - Disclosure - Segment Information - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/SegmentInformationAdditionalInformationDetail</Role>
      <ShortName>Segment Information - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9954514 - Disclosure - Segment Information - Schedule of Financial Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/SegmentInformationScheduleofFinancialInformationDetail</Role>
      <ShortName>Segment Information - Schedule of Financial Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="exr-20240630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9954515 - Disclosure - Commitments and Contingencies (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.extraspace.com/role/CommitmentsandContingenciesDetail</Role>
      <ShortName>Commitments and Contingencies (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.extraspace.com/role/CommitmentsandContingencies</ParentRole>
      <Position>71</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-Q" isDefinitelyFs="true" isUsgaap="true" original="exr-20240630.htm">exr-20240630.htm</File>
    <File>exr-20240630.xsd</File>
    <File>exr-20240630_cal.xml</File>
    <File>exr-20240630_def.xml</File>
    <File>exr-20240630_lab.xml</File>
    <File>exr-20240630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2024</BaseTaxonomy>
    <BaseTaxonomy items="768">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
