<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:07ea5e73-1036-4554-a5b6-7f27f6cf0755,g:af55f776-64ef-4551-b3bb-39ac854a83be-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.extraspace.com/role/CondensedConsolidatedStatementsofNoncontrollingInterestsandEquity" xlink:type="simple" xlink:href="exr-20240630.xsd#CondensedConsolidatedStatementsofNoncontrollingInterestsandEquity"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/CondensedConsolidatedStatementsofNoncontrollingInterestsandEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_c7277e4f-e12b-4d72-b25a-4c342523afd3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_010c5257-b57f-4392-b284-85ce3e25d113" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_c7277e4f-e12b-4d72-b25a-4c342523afd3" xlink:to="loc_us-gaap_StatementTable_010c5257-b57f-4392-b284-85ce3e25d113" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_0675ebcb-89fe-4915-9606-78952f0ec0ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_010c5257-b57f-4392-b284-85ce3e25d113" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_0675ebcb-89fe-4915-9606-78952f0ec0ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_0675ebcb-89fe-4915-9606-78952f0ec0ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0675ebcb-89fe-4915-9606-78952f0ec0ab" xlink:to="loc_us-gaap_EquityComponentDomain_0675ebcb-89fe-4915-9606-78952f0ec0ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_0675ebcb-89fe-4915-9606-78952f0ec0ab" xlink:to="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PreferredOperatingPartnershipMember_0037b1bc-675f-4c15-ba1f-ab492e5205d8" xlink:href="exr-20240630.xsd#exr_PreferredOperatingPartnershipMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:to="loc_exr_PreferredOperatingPartnershipMember_0037b1bc-675f-4c15-ba1f-ab492e5205d8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_CommonOperatingPartnershipMember_f670431f-b950-488b-84da-82b5439252e4" xlink:href="exr-20240630.xsd#exr_CommonOperatingPartnershipMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:to="loc_exr_CommonOperatingPartnershipMember_f670431f-b950-488b-84da-82b5439252e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NonControllingInterestOtherMember_9fdcb00b-8134-478e-843d-e68e0eb42334" xlink:href="exr-20240630.xsd#exr_NonControllingInterestOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:to="loc_exr_NonControllingInterestOtherMember_9fdcb00b-8134-478e-843d-e68e0eb42334" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_c4ec5d6f-789b-4eb4-89d2-4dab0c15e050" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:to="loc_us-gaap_CommonStockMember_c4ec5d6f-789b-4eb4-89d2-4dab0c15e050" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_366d63f9-278a-4f1a-8562-7768add948e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_366d63f9-278a-4f1a-8562-7768add948e0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_47cd26a8-7d95-430a-b930-31880dde4ff0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_47cd26a8-7d95-430a-b930-31880dde4ff0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_87998e24-b01a-49ff-aa37-58de736af7b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9be41a46-6c17-457b-922c-e86501c4c27b" xlink:to="loc_us-gaap_RetainedEarningsMember_87998e24-b01a-49ff-aa37-58de736af7b0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_308743be-6322-49c7-b676-3f087cd4521f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_010c5257-b57f-4392-b284-85ce3e25d113" xlink:to="loc_us-gaap_StatementClassOfStockAxis_308743be-6322-49c7-b676-3f087cd4521f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_308743be-6322-49c7-b676-3f087cd4521f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_308743be-6322-49c7-b676-3f087cd4521f" xlink:to="loc_us-gaap_ClassOfStockDomain_308743be-6322-49c7-b676-3f087cd4521f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_75348c53-53fd-4c0c-9418-a87c877ae703" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_308743be-6322-49c7-b676-3f087cd4521f" xlink:to="loc_us-gaap_ClassOfStockDomain_75348c53-53fd-4c0c-9418-a87c877ae703" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesAUnitsMember_0d853dee-d969-4a44-826b-795ba4ed5317" xlink:href="exr-20240630.xsd#exr_SeriesAUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_75348c53-53fd-4c0c-9418-a87c877ae703" xlink:to="loc_exr_SeriesAUnitsMember_0d853dee-d969-4a44-826b-795ba4ed5317" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesDUnitsMember_79feff4c-9a0c-49f9-ba03-87bbf0920ae8" xlink:href="exr-20240630.xsd#exr_SeriesDUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_75348c53-53fd-4c0c-9418-a87c877ae703" xlink:to="loc_exr_SeriesDUnitsMember_79feff4c-9a0c-49f9-ba03-87bbf0920ae8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_bd191a87-3f3c-43b6-8580-262026b96e22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_010c5257-b57f-4392-b284-85ce3e25d113" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_bd191a87-3f3c-43b6-8580-262026b96e22" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_bd191a87-3f3c-43b6-8580-262026b96e22_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_bd191a87-3f3c-43b6-8580-262026b96e22" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_bd191a87-3f3c-43b6-8580-262026b96e22_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_0b45747b-67d6-42c9-ac86-ce7839df65fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_bd191a87-3f3c-43b6-8580-262026b96e22" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_0b45747b-67d6-42c9-ac86-ce7839df65fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_RedemptionOfUnitsForCommonStockMember_f8bcbfc1-9735-49fe-a9f5-925f291ae9ae" xlink:href="exr-20240630.xsd#exr_RedemptionOfUnitsForCommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_0b45747b-67d6-42c9-ac86-ce7839df65fa" xlink:to="loc_exr_RedemptionOfUnitsForCommonStockMember_f8bcbfc1-9735-49fe-a9f5-925f291ae9ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_c7277e4f-e12b-4d72-b25a-4c342523afd3" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_d99c7bfd-8a5a-4a44-8e0c-45732bd4f95a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_d99c7bfd-8a5a-4a44-8e0c-45732bd4f95a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_8ae5f2bb-d174-4326-a13d-af348e541829" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_CommonStockSharesIssued_8ae5f2bb-d174-4326-a13d-af348e541829" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_aca25132-b0f2-4430-ad03-108bbc95bee7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_aca25132-b0f2-4430-ad03-108bbc95bee7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_0097f61c-1a58-4f48-a057-ef01b5bd6762" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_0097f61c-1a58-4f48-a057-ef01b5bd6762" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AdjustmentsToAdditionalPaidInCapitalStockIssuedShelfRegistrationOfferingCosts_191760bd-a26c-4832-a0f7-6b96ccf2c3c3" xlink:href="exr-20240630.xsd#exr_AdjustmentsToAdditionalPaidInCapitalStockIssuedShelfRegistrationOfferingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_exr_AdjustmentsToAdditionalPaidInCapitalStockIssuedShelfRegistrationOfferingCosts_191760bd-a26c-4832-a0f7-6b96ccf2c3c3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_94452cb8-0eaa-4f00-8f41-e901427f9cfe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_94452cb8-0eaa-4f00-8f41-e901427f9cfe" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_29a0d61e-ad69-4d83-8fca-eda416c524d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_29a0d61e-ad69-4d83-8fca-eda416c524d1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_c6594064-d871-43d5-9634-1525151b7334" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestDecreaseFromRedemptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_c6594064-d871-43d5-9634-1525151b7334" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_MinorityInterestDecreaseFromRedemptionsShares_5519e93b-fdd3-4885-b920-0824abd11d1e" xlink:href="exr-20240630.xsd#exr_MinorityInterestDecreaseFromRedemptionsShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_exr_MinorityInterestDecreaseFromRedemptionsShares_5519e93b-fdd3-4885-b920-0824abd11d1e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NoncontrollingInterestIncreaseFromTransactionsWithOtherNoncontrollingInterestsNet_d4a5acd2-8cef-4c82-af1d-8901d3e835b0" xlink:href="exr-20240630.xsd#exr_NoncontrollingInterestIncreaseFromTransactionsWithOtherNoncontrollingInterestsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_exr_NoncontrollingInterestIncreaseFromTransactionsWithOtherNoncontrollingInterestsNet_d4a5acd2-8cef-4c82-af1d-8901d3e835b0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_07e60a19-ea31-4585-917b-552930e1fdd3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_ProfitLoss_07e60a19-ea31-4585-917b-552930e1fdd3" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_770f2354-96f6-4ea7-96ba-def250141e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_770f2354-96f6-4ea7-96ba-def250141e5d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_4d19d120-d2f1-4a38-be4f-6c878fd449e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_4d19d120-d2f1-4a38-be4f-6c878fd449e8" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStock_0a8d87bd-3b85-4e0d-b6b9-1a4184737c5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_DividendsCommonStock_0a8d87bd-3b85-4e0d-b6b9-1a4184737c5b" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_5d5f2fdf-af19-4715-9170-e062ff5e862d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensationGross_5d5f2fdf-af19-4715-9170-e062ff5e862d" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensationGross_5912c475-0a62-4998-8250-5c485f116d06" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensationGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensationGross_5912c475-0a62-4998-8250-5c485f116d06" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_9d52b921-56fa-40ef-a0e7-cc4fa1a307ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_9d52b921-56fa-40ef-a0e7-cc4fa1a307ce" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_3860ab7b-6ef0-4487-93a9-5734bc44684e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_3860ab7b-6ef0-4487-93a9-5734bc44684e" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_dbe6a104-7a12-4b8d-95bc-89a5d6c2ae08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_a59a1845-16be-4d11-b4e2-1f2a3bbe93fa" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardForfeited_dbe6a104-7a12-4b8d-95bc-89a5d6c2ae08" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6dc4ab06-c8ab-4ac5-9fb7-3e44180942d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_7df38ea7-b582-477a-b0fa-ac484506ece0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockSharesIssued"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/FairValueDisclosuresAssetsandLiabilitiesonaRecurringBasisDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#FairValueDisclosuresAssetsandLiabilitiesonaRecurringBasisDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/FairValueDisclosuresAssetsandLiabilitiesonaRecurringBasisDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_bab67aee-1446-4dbf-a35a-143e12015c56" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_466bfc2b-b9c1-4bad-b423-a67d385476ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_bab67aee-1446-4dbf-a35a-143e12015c56" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_466bfc2b-b9c1-4bad-b423-a67d385476ba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d7b13d1f-693b-427c-960f-01e703252233" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_466bfc2b-b9c1-4bad-b423-a67d385476ba" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d7b13d1f-693b-427c-960f-01e703252233" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d7b13d1f-693b-427c-960f-01e703252233_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d7b13d1f-693b-427c-960f-01e703252233" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d7b13d1f-693b-427c-960f-01e703252233_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_899cf98d-8012-4393-b1c5-6d060b5d6f31" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d7b13d1f-693b-427c-960f-01e703252233" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_899cf98d-8012-4393-b1c5-6d060b5d6f31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_ff153bb4-017a-408f-b555-94cc84088106" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_899cf98d-8012-4393-b1c5-6d060b5d6f31" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_ff153bb4-017a-408f-b555-94cc84088106" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_fad18281-a4d3-4281-9588-5e842d24ed27" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_899cf98d-8012-4393-b1c5-6d060b5d6f31" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_fad18281-a4d3-4281-9588-5e842d24ed27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_243e92ab-850e-4576-876f-646ad3de2005" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_899cf98d-8012-4393-b1c5-6d060b5d6f31" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_243e92ab-850e-4576-876f-646ad3de2005" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_cea62db9-db67-4a9a-8d49-79082c20c6c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_466bfc2b-b9c1-4bad-b423-a67d385476ba" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_cea62db9-db67-4a9a-8d49-79082c20c6c0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_cea62db9-db67-4a9a-8d49-79082c20c6c0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_cea62db9-db67-4a9a-8d49-79082c20c6c0" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_cea62db9-db67-4a9a-8d49-79082c20c6c0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_d53efffe-0e21-4894-a888-24a8a089e74b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_cea62db9-db67-4a9a-8d49-79082c20c6c0" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_d53efffe-0e21-4894-a888-24a8a089e74b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_1d630b7e-c4a1-426f-9638-d28c1df42970" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_d53efffe-0e21-4894-a888-24a8a089e74b" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_1d630b7e-c4a1-426f-9638-d28c1df42970" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeAssetAtFairValue_5619b216-d6e1-4abf-9ee1-01dd5d42f658" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateCashFlowHedgeAssetAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_bab67aee-1446-4dbf-a35a-143e12015c56" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeAssetAtFairValue_5619b216-d6e1-4abf-9ee1-01dd5d42f658" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue_9e8f6cc9-f810-4f1e-ba53-5909f2c71f19" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_bab67aee-1446-4dbf-a35a-143e12015c56" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue_9e8f6cc9-f810-4f1e-ba53-5909f2c71f19" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/FairValueDisclosuresScheduleofFinancialInstrumentsDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#FairValueDisclosuresScheduleofFinancialInstrumentsDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/FairValueDisclosuresScheduleofFinancialInstrumentsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_79ce8164-c886-4985-b675-d12593d649fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_6e97661a-7445-43d0-ac48-db537aa7340f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_79ce8164-c886-4985-b675-d12593d649fb" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_6e97661a-7445-43d0-ac48-db537aa7340f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_6776f86f-3394-4a78-908e-e55f1b56e6a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_6e97661a-7445-43d0-ac48-db537aa7340f" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_6776f86f-3394-4a78-908e-e55f1b56e6a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_6776f86f-3394-4a78-908e-e55f1b56e6a9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_6776f86f-3394-4a78-908e-e55f1b56e6a9" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_6776f86f-3394-4a78-908e-e55f1b56e6a9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3c548f95-77a3-49e9-b76e-050e5ce13e09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_6776f86f-3394-4a78-908e-e55f1b56e6a9" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3c548f95-77a3-49e9-b76e-050e5ce13e09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_26dff2fe-090d-410e-9df1-72fde61bafff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_3c548f95-77a3-49e9-b76e-050e5ce13e09" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_26dff2fe-090d-410e-9df1-72fde61bafff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_98dd17c0-7cc0-4206-b402-0a139a98cdc6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_26dff2fe-090d-410e-9df1-72fde61bafff" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_98dd17c0-7cc0-4206-b402-0a139a98cdc6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_6991eb08-673b-46ad-a126-9f1a8424e3f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_26dff2fe-090d-410e-9df1-72fde61bafff" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_6991eb08-673b-46ad-a126-9f1a8424e3f4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableFairValueDisclosure_fa697ba5-63fa-4a3d-a67f-41728340952c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesPayableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_79ce8164-c886-4985-b675-d12593d649fb" xlink:to="loc_us-gaap_NotesPayableFairValueDisclosure_fa697ba5-63fa-4a3d-a67f-41728340952c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/AcquisitionsandDispositionsAdditionalInformationDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#AcquisitionsandDispositionsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/AcquisitionsandDispositionsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionTable_70025188-89d9-461f-ae0c-f7108d0b5e2b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_us-gaap_AssetAcquisitionTable_70025188-89d9-461f-ae0c-f7108d0b5e2b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_5e2c04cf-0f50-4f4e-a10e-4d68fb91fff1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_70025188-89d9-461f-ae0c-f7108d0b5e2b" xlink:to="loc_us-gaap_AssetAcquisitionAxis_5e2c04cf-0f50-4f4e-a10e-4d68fb91fff1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_5e2c04cf-0f50-4f4e-a10e-4d68fb91fff1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_5e2c04cf-0f50-4f4e-a10e-4d68fb91fff1" xlink:to="loc_us-gaap_AssetAcquisitionDomain_5e2c04cf-0f50-4f4e-a10e-4d68fb91fff1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_7ecdd97c-b499-4594-8671-c83a3d71f154" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_5e2c04cf-0f50-4f4e-a10e-4d68fb91fff1" xlink:to="loc_us-gaap_AssetAcquisitionDomain_7ecdd97c-b499-4594-8671-c83a3d71f154" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LifeStorageIncMember_b956544a-6191-4777-807d-336f635c56d9" xlink:href="exr-20240630.xsd#exr_LifeStorageIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_7ecdd97c-b499-4594-8671-c83a3d71f154" xlink:to="loc_exr_LifeStorageIncMember_b956544a-6191-4777-807d-336f635c56d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_86b74296-f92e-4762-b69c-c3e8b6ab37b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_70025188-89d9-461f-ae0c-f7108d0b5e2b" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_86b74296-f92e-4762-b69c-c3e8b6ab37b9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_86b74296-f92e-4762-b69c-c3e8b6ab37b9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_86b74296-f92e-4762-b69c-c3e8b6ab37b9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_86b74296-f92e-4762-b69c-c3e8b6ab37b9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_63469e07-b7d7-4287-a1c3-85894c10f8a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_86b74296-f92e-4762-b69c-c3e8b6ab37b9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_63469e07-b7d7-4287-a1c3-85894c10f8a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_4d262c7b-f5cd-4377-8932-7a766c00b9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_63469e07-b7d7-4287-a1c3-85894c10f8a1" xlink:to="loc_us-gaap_LineOfCreditMember_4d262c7b-f5cd-4377-8932-7a766c00b9eb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_3d428204-318d-4c5a-a071-46c526bfbff8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_63469e07-b7d7-4287-a1c3-85894c10f8a1" xlink:to="loc_us-gaap_SecuredDebtMember_3d428204-318d-4c5a-a071-46c526bfbff8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_7c9a2280-426c-458a-8582-8ae91dfe5db5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_63469e07-b7d7-4287-a1c3-85894c10f8a1" xlink:to="loc_us-gaap_SeniorNotesMember_7c9a2280-426c-458a-8582-8ae91dfe5db5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_8896db55-c6a8-479e-b698-0a3fb893ca0e" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_70025188-89d9-461f-ae0c-f7108d0b5e2b" xlink:to="loc_dei_LegalEntityAxis_8896db55-c6a8-479e-b698-0a3fb893ca0e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_8896db55-c6a8-479e-b698-0a3fb893ca0e_default" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_8896db55-c6a8-479e-b698-0a3fb893ca0e" xlink:to="loc_dei_EntityDomain_8896db55-c6a8-479e-b698-0a3fb893ca0e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_c4261477-d3d9-4a90-b807-c8278c6c963b" xlink:href="https://xbrl.sec.gov/dei/2024/dei-2024.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_8896db55-c6a8-479e-b698-0a3fb893ca0e" xlink:to="loc_dei_EntityDomain_c4261477-d3d9-4a90-b807-c8278c6c963b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LifeStorageIncMember_f9ebd1c3-cc4d-4f34-9eef-8326502bf7d6" xlink:href="exr-20240630.xsd#exr_LifeStorageIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_c4261477-d3d9-4a90-b807-c8278c6c963b" xlink:to="loc_exr_LifeStorageIncMember_f9ebd1c3-cc4d-4f34-9eef-8326502bf7d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_2ecf3ba6-95ab-4599-ad49-137620418997" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_70025188-89d9-461f-ae0c-f7108d0b5e2b" xlink:to="loc_us-gaap_DebtInstrumentAxis_2ecf3ba6-95ab-4599-ad49-137620418997" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_2ecf3ba6-95ab-4599-ad49-137620418997_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_2ecf3ba6-95ab-4599-ad49-137620418997" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_2ecf3ba6-95ab-4599-ad49-137620418997_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_dfd43906-0eba-4272-98b6-75d2ed01014a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_2ecf3ba6-95ab-4599-ad49-137620418997" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_dfd43906-0eba-4272-98b6-75d2ed01014a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeniorNotesAssumedFromLifeStorageMember_add970d6-fa27-4c58-8885-7f572b962843" xlink:href="exr-20240630.xsd#exr_SeniorNotesAssumedFromLifeStorageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_dfd43906-0eba-4272-98b6-75d2ed01014a" xlink:to="loc_exr_SeniorNotesAssumedFromLifeStorageMember_add970d6-fa27-4c58-8885-7f572b962843" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAxis_8c1c7269-ffaf-42fe-9733-746e4131bb3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExtinguishmentOfDebtAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_70025188-89d9-461f-ae0c-f7108d0b5e2b" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAxis_8c1c7269-ffaf-42fe-9733-746e4131bb3f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_8c1c7269-ffaf-42fe-9733-746e4131bb3f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_8c1c7269-ffaf-42fe-9733-746e4131bb3f" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_8c1c7269-ffaf-42fe-9733-746e4131bb3f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_a81b2dd0-491a-49e1-834f-75243650015f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExtinguishmentOfDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ExtinguishmentOfDebtAxis_8c1c7269-ffaf-42fe-9733-746e4131bb3f" xlink:to="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_a81b2dd0-491a-49e1-834f-75243650015f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_24ef45be-ce16-4c00-a688-21265ec20618" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExtinguishmentOfDebtTypeDomain_a81b2dd0-491a-49e1-834f-75243650015f" xlink:to="loc_us-gaap_LineOfCreditMember_24ef45be-ce16-4c00-a688-21265ec20618" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionNumberOfWhollyOwnedStoresAcquired_407d0d39-1af8-4558-bd25-24a628812392" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionNumberOfWhollyOwnedStoresAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_exr_AssetAcquisitionNumberOfWhollyOwnedStoresAcquired_407d0d39-1af8-4558-bd25-24a628812392" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionNumberOfConsolidatedJointVentureStoresAcquired_52c9c1e6-2529-4258-8319-29882a659d0d" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionNumberOfConsolidatedJointVentureStoresAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_exr_AssetAcquisitionNumberOfConsolidatedJointVentureStoresAcquired_52c9c1e6-2529-4258-8319-29882a659d0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionEquityInterestIssuedOrIssuableShareConversionRatio_d659ce40-3b3a-46f7-bed8-5ee2fe485304" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionEquityInterestIssuedOrIssuableShareConversionRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_exr_AssetAcquisitionEquityInterestIssuedOrIssuableShareConversionRatio_d659ce40-3b3a-46f7-bed8-5ee2fe485304" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_a56e6949-716f-4bd1-a640-6417992568e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_a56e6949-716f-4bd1-a640-6417992568e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_f2997fdd-5fdd-4098-ba9c-99d35d827ca8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ExtinguishmentOfDebtAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_f2997fdd-5fdd-4098-ba9c-99d35d827ca8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_b5226a89-5034-4c12-8ef4-2e469db1e638" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_us-gaap_RepaymentsOfDebt_b5226a89-5034-4c12-8ef4-2e469db1e638" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_c91ff6e9-4fde-413f-85f1-e8196c9e493b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_c91ff6e9-4fde-413f-85f1-e8196c9e493b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionRealEstateAssetsEstimatedUsefulLife_8b802c8e-2d4e-4d68-862f-b5ea0d6dd442" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionRealEstateAssetsEstimatedUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_exr_AssetAcquisitionRealEstateAssetsEstimatedUsefulLife_8b802c8e-2d4e-4d68-862f-b5ea0d6dd442" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionTenantRelationshipsEstimatedUsefulLife_5191ce3b-f06b-4dbc-ac47-efc46a3b6f2d" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionTenantRelationshipsEstimatedUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_exr_AssetAcquisitionTenantRelationshipsEstimatedUsefulLife_5191ce3b-f06b-4dbc-ac47-efc46a3b6f2d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_fc6b4ae8-f014-45b3-a3d6-d8bb49a5b25e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_62c3e22c-af96-4851-8848-ede6d3e35db9" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_fc6b4ae8-f014-45b3-a3d6-d8bb49a5b25e" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/AcquisitionsandDispositionsAssetAcquisitionLifeStorageDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#AcquisitionsandDispositionsAssetAcquisitionLifeStorageDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/AcquisitionsandDispositionsAssetAcquisitionLifeStorageDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionTable_c1581524-98bd-4d0e-9857-66d0e408dcb2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_us-gaap_AssetAcquisitionTable_c1581524-98bd-4d0e-9857-66d0e408dcb2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_14a50de9-ef7c-466b-a147-13449af90a96" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_c1581524-98bd-4d0e-9857-66d0e408dcb2" xlink:to="loc_us-gaap_AssetAcquisitionAxis_14a50de9-ef7c-466b-a147-13449af90a96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_14a50de9-ef7c-466b-a147-13449af90a96_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_14a50de9-ef7c-466b-a147-13449af90a96" xlink:to="loc_us-gaap_AssetAcquisitionDomain_14a50de9-ef7c-466b-a147-13449af90a96_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_c9918846-422c-49f4-8f0b-e1ecbcab685e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_14a50de9-ef7c-466b-a147-13449af90a96" xlink:to="loc_us-gaap_AssetAcquisitionDomain_c9918846-422c-49f4-8f0b-e1ecbcab685e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LifeStorageIncMember_f7de8b32-9edf-48d8-8e97-29d701c4d6c6" xlink:href="exr-20240630.xsd#exr_LifeStorageIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_c9918846-422c-49f4-8f0b-e1ecbcab685e" xlink:to="loc_exr_LifeStorageIncMember_f7de8b32-9edf-48d8-8e97-29d701c4d6c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_42b81f0c-f096-438e-be19-ac006fc72ade" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_c1581524-98bd-4d0e-9857-66d0e408dcb2" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_42b81f0c-f096-438e-be19-ac006fc72ade" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_42b81f0c-f096-438e-be19-ac006fc72ade_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_42b81f0c-f096-438e-be19-ac006fc72ade" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_42b81f0c-f096-438e-be19-ac006fc72ade_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3df4fc23-6af1-4cea-a1c0-f870a44a51c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_42b81f0c-f096-438e-be19-ac006fc72ade" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3df4fc23-6af1-4cea-a1c0-f870a44a51c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_3fa33ffa-fc43-44f0-a07a-035c6ba81827" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_3df4fc23-6af1-4cea-a1c0-f870a44a51c1" xlink:to="loc_us-gaap_LineOfCreditMember_3fa33ffa-fc43-44f0-a07a-035c6ba81827" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_a52c4c17-cebe-408e-bad7-b4199f109bec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_c1581524-98bd-4d0e-9857-66d0e408dcb2" xlink:to="loc_us-gaap_StatementClassOfStockAxis_a52c4c17-cebe-408e-bad7-b4199f109bec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_a52c4c17-cebe-408e-bad7-b4199f109bec_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_a52c4c17-cebe-408e-bad7-b4199f109bec" xlink:to="loc_us-gaap_ClassOfStockDomain_a52c4c17-cebe-408e-bad7-b4199f109bec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_5bff4cf6-ba1c-42b2-b44a-0316ab2610a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_a52c4c17-cebe-408e-bad7-b4199f109bec" xlink:to="loc_us-gaap_ClassOfStockDomain_5bff4cf6-ba1c-42b2-b44a-0316ab2610a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_5a90bfb6-bd8e-464b-ae05-be9be26df291" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5bff4cf6-ba1c-42b2-b44a-0316ab2610a2" xlink:to="loc_us-gaap_CommonStockMember_5a90bfb6-bd8e-464b-ae05-be9be26df291" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_OperatingPartnershipUnitsMember_4256e0f9-051c-4283-b0cd-e36ce62a2424" xlink:href="exr-20240630.xsd#exr_OperatingPartnershipUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5bff4cf6-ba1c-42b2-b44a-0316ab2610a2" xlink:to="loc_exr_OperatingPartnershipUnitsMember_4256e0f9-051c-4283-b0cd-e36ce62a2424" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_2867d353-b156-4f54-9bf3-958639ad10dd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredEquityInterestIssuedAndIssuable_2867d353-b156-4f54-9bf3-958639ad10dd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionConsiderationTransferredCashPaidForAssumedDebt_eda787b0-3def-4d80-b372-b0f34319b585" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionConsiderationTransferredCashPaidForAssumedDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_exr_AssetAcquisitionConsiderationTransferredCashPaidForAssumedDebt_eda787b0-3def-4d80-b372-b0f34319b585" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost_596017ee-c394-430c-9747-c0173158f9c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferredTransactionCost_596017ee-c394-430c-9747-c0173158f9c3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionConsiderationTransferred_feff8178-29ef-4a8e-8cbb-72786623180f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionConsiderationTransferred"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_us-gaap_AssetAcquisitionConsiderationTransferred_feff8178-29ef-4a8e-8cbb-72786623180f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionRealEstateAssets_9d228f71-e30d-4c1d-816b-1872dfa55117" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionRealEstateAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_exr_AssetAcquisitionRealEstateAssets_9d228f71-e30d-4c1d-816b-1872dfa55117" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionEquityInterestsInJointVenturePartnerships_f8a4a1f7-2a6b-4aed-b7e2-63e8da59c2c7" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionEquityInterestsInJointVenturePartnerships"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_exr_AssetAcquisitionEquityInterestsInJointVenturePartnerships_f8a4a1f7-2a6b-4aed-b7e2-63e8da59c2c7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionCashAndOtherAssets_77e259c4-01e7-45ab-ae6d-4ff258a50a00" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionCashAndOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_exr_AssetAcquisitionCashAndOtherAssets_77e259c4-01e7-45ab-ae6d-4ff258a50a00" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_17bafb8f-5ff5-4301-8265-bb2831e9befb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_17bafb8f-5ff5-4301-8265-bb2831e9befb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_28f60fca-57e2-49d7-861c-11901536eee3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_28f60fca-57e2-49d7-861c-11901536eee3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionUnsecuredSeniorNotes_f6db7a56-86e3-4642-b420-417ed5b6d6df" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionUnsecuredSeniorNotes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_exr_AssetAcquisitionUnsecuredSeniorNotes_f6db7a56-86e3-4642-b420-417ed5b6d6df" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionAccountsPayableAccruedExpensesAndOtherLiabilities_1c16596f-c0d2-4adc-9b44-abd8e656b977" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionAccountsPayableAccruedExpensesAndOtherLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_exr_AssetAcquisitionAccountsPayableAccruedExpensesAndOtherLiabilities_1c16596f-c0d2-4adc-9b44-abd8e656b977" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionNoncontrollingInterests_a607b2ae-6d36-466e-aa63-5defb70dff23" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_exr_AssetAcquisitionNoncontrollingInterests_a607b2ae-6d36-466e-aa63-5defb70dff23" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_04233042-335f-4104-8df2-a50b2f64c6bb" xlink:href="exr-20240630.xsd#exr_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_797041a7-ae20-4eba-81f8-684a05c31b9d" xlink:to="loc_exr_AssetAcquisitionAssetsAcquiredAndLiabilitiesAssumedNet_04233042-335f-4104-8df2-a50b2f64c6bb" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/EarningsPerCommonShareAntidilutiveSharesDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#EarningsPerCommonShareAntidilutiveSharesDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/EarningsPerCommonShareAntidilutiveSharesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_01ed9df2-d292-48a2-8bdd-5a27c4437b1b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_60d954ee-470f-451c-bc6d-1783903cd995" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_01ed9df2-d292-48a2-8bdd-5a27c4437b1b" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_60d954ee-470f-451c-bc6d-1783903cd995" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_7a116f97-d815-47a1-bb03-75355639c453" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_60d954ee-470f-451c-bc6d-1783903cd995" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7a116f97-d815-47a1-bb03-75355639c453" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7a116f97-d815-47a1-bb03-75355639c453_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7a116f97-d815-47a1-bb03-75355639c453" xlink:to="loc_us-gaap_ClassOfStockDomain_7a116f97-d815-47a1-bb03-75355639c453_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_d05d9e45-116d-4c4c-9081-ddd219132c16" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7a116f97-d815-47a1-bb03-75355639c453" xlink:to="loc_us-gaap_ClassOfStockDomain_d05d9e45-116d-4c4c-9081-ddd219132c16" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesBUnitsMember_c30cfcf3-cb19-4a24-9252-cd83407fb632" xlink:href="exr-20240630.xsd#exr_SeriesBUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_d05d9e45-116d-4c4c-9081-ddd219132c16" xlink:to="loc_exr_SeriesBUnitsMember_c30cfcf3-cb19-4a24-9252-cd83407fb632" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesDUnitsMember_c16353d2-cb90-465c-950a-aae5b0196d25" xlink:href="exr-20240630.xsd#exr_SeriesDUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_d05d9e45-116d-4c4c-9081-ddd219132c16" xlink:to="loc_exr_SeriesDUnitsMember_c16353d2-cb90-465c-950a-aae5b0196d25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsByNameAxis_b852bbb5-788c-49b6-bd9d-7c151a3bf0f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_60d954ee-470f-451c-bc6d-1783903cd995" xlink:to="loc_us-gaap_PreferredUnitsByNameAxis_b852bbb5-788c-49b6-bd9d-7c151a3bf0f2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsClassDomain_b852bbb5-788c-49b6-bd9d-7c151a3bf0f2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PreferredUnitsByNameAxis_b852bbb5-788c-49b6-bd9d-7c151a3bf0f2" xlink:to="loc_us-gaap_PreferredUnitsClassDomain_b852bbb5-788c-49b6-bd9d-7c151a3bf0f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsClassDomain_2b0ac1b4-f784-43af-9608-972721785624" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PreferredUnitsByNameAxis_b852bbb5-788c-49b6-bd9d-7c151a3bf0f2" xlink:to="loc_us-gaap_PreferredUnitsClassDomain_2b0ac1b4-f784-43af-9608-972721785624" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_CommonOPUnitsMember_ada755a4-8ed5-4b1b-939f-e16352e51509" xlink:href="exr-20240630.xsd#exr_CommonOPUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_2b0ac1b4-f784-43af-9608-972721785624" xlink:to="loc_exr_CommonOPUnitsMember_ada755a4-8ed5-4b1b-939f-e16352e51509" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_13430e37-0693-4c18-93f8-131fedbc464d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_01ed9df2-d292-48a2-8bdd-5a27c4437b1b" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_13430e37-0693-4c18-93f8-131fedbc464d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/EarningsPerCommonShareScheduleofComputationDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#EarningsPerCommonShareScheduleofComputationDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/EarningsPerCommonShareScheduleofComputationDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDilutedLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_aea031ac-7081-401e-afe0-801300ad6cf7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_aea031ac-7081-401e-afe0-801300ad6cf7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsByNameAxis_5a75f94a-0673-44ea-9a45-c88e4499be87" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_aea031ac-7081-401e-afe0-801300ad6cf7" xlink:to="loc_us-gaap_PreferredUnitsByNameAxis_5a75f94a-0673-44ea-9a45-c88e4499be87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsClassDomain_5a75f94a-0673-44ea-9a45-c88e4499be87_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PreferredUnitsByNameAxis_5a75f94a-0673-44ea-9a45-c88e4499be87" xlink:to="loc_us-gaap_PreferredUnitsClassDomain_5a75f94a-0673-44ea-9a45-c88e4499be87_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsClassDomain_d30076f8-e982-4ade-b41e-6faf673c6454" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PreferredUnitsByNameAxis_5a75f94a-0673-44ea-9a45-c88e4499be87" xlink:to="loc_us-gaap_PreferredUnitsClassDomain_d30076f8-e982-4ade-b41e-6faf673c6454" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesBUnitsMember_4b08d693-fc18-4c90-85ed-a654efe775ee" xlink:href="exr-20240630.xsd#exr_SeriesBUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_d30076f8-e982-4ade-b41e-6faf673c6454" xlink:to="loc_exr_SeriesBUnitsMember_4b08d693-fc18-4c90-85ed-a654efe775ee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesDUnitsMember_9b6bb2f7-5d6f-49a6-92c0-1a705e6f1d71" xlink:href="exr-20240630.xsd#exr_SeriesDUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_d30076f8-e982-4ade-b41e-6faf673c6454" xlink:to="loc_exr_SeriesDUnitsMember_9b6bb2f7-5d6f-49a6-92c0-1a705e6f1d71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_7e12267c-20f6-440c-aaf7-16f39f02f6f8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:to="loc_us-gaap_NetIncomeLoss_7e12267c-20f6-440c-aaf7-16f39f02f6f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_06fe3338-1cb8-4b8c-b806-76f413c3fa15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesBasic_06fe3338-1cb8-4b8c-b806-76f413c3fa15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_89ab7f0f-55e8-412d-a445-fb307831d00b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_89ab7f0f-55e8-412d-a445-fb307831d00b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDilutedAbstract_f71c47a2-0bb6-48f3-b56e-c91d702d89eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDilutedAbstract_f71c47a2-0bb6-48f3-b56e-c91d702d89eb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_6aa03a3b-ac9a-447d-864c-a5ae2172f851" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDilutedAbstract_f71c47a2-0bb6-48f3-b56e-c91d702d89eb" xlink:to="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDiluted_6aa03a3b-ac9a-447d-864c-a5ae2172f851" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NetIncomeLossAttributableToNoncontrollingInterestInOperatingPartnership_c1849ec1-02af-40c2-b671-32fd1a6d01df" xlink:href="exr-20240630.xsd#exr_NetIncomeLossAttributableToNoncontrollingInterestInOperatingPartnership"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UndistributedEarningsLossAllocatedToParticipatingSecuritiesDilutedAbstract_f71c47a2-0bb6-48f3-b56e-c91d702d89eb" xlink:to="loc_exr_NetIncomeLossAttributableToNoncontrollingInterestInOperatingPartnership_c1849ec1-02af-40c2-b671-32fd1a6d01df" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_52b93e76-c2a5-4977-8caf-84d224981a03" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_52b93e76-c2a5-4977-8caf-84d224981a03" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d65d088e-772d-490e-88ef-ef28b18cd012" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d65d088e-772d-490e-88ef-ef28b18cd012" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_ddde3e7f-4009-44d5-85dd-793d121f9696" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d65d088e-772d-490e-88ef-ef28b18cd012" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_ddde3e7f-4009-44d5-85dd-793d121f9696" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_IncrementalCommonSharesAttributableToConversionOfOperatingPartnershipUnits_ddd106ef-52b6-4db6-8e6c-bc406f557948" xlink:href="exr-20240630.xsd#exr_IncrementalCommonSharesAttributableToConversionOfOperatingPartnershipUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d65d088e-772d-490e-88ef-ef28b18cd012" xlink:to="loc_exr_IncrementalCommonSharesAttributableToConversionOfOperatingPartnershipUnits_ddd106ef-52b6-4db6-8e6c-bc406f557948" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_IncrementalCommonSharesAttributableToExchangeablePreferredOperatingPartnershipUnits_3b95195a-90b0-4876-be3a-1db91ebe9fda" xlink:href="exr-20240630.xsd#exr_IncrementalCommonSharesAttributableToExchangeablePreferredOperatingPartnershipUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d65d088e-772d-490e-88ef-ef28b18cd012" xlink:to="loc_exr_IncrementalCommonSharesAttributableToExchangeablePreferredOperatingPartnershipUnits_3b95195a-90b0-4876-be3a-1db91ebe9fda" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_03e6ccf6-711e-4cc0-8365-bc615a4e13b8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d65d088e-772d-490e-88ef-ef28b18cd012" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToNonvestedSharesWithForfeitableDividends_03e6ccf6-711e-4cc0-8365-bc615a4e13b8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsStockOptions_dbd47c92-bdc6-4ae9-a001-0ce9f442174e" xlink:href="exr-20240630.xsd#exr_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d65d088e-772d-490e-88ef-ef28b18cd012" xlink:to="loc_exr_IncrementalCommonSharesAttributableToShareBasedPaymentArrangementsStockOptions_dbd47c92-bdc6-4ae9-a001-0ce9f442174e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_58331607-a180-42fd-a7bd-070c4addc19b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_d65d088e-772d-490e-88ef-ef28b18cd012" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_58331607-a180-42fd-a7bd-070c4addc19b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_EarningsPerShareBasicAndDilutedEPSAbstract_e5905edd-4852-4aaf-9499-231ce777a350" xlink:href="exr-20240630.xsd#exr_EarningsPerShareBasicAndDilutedEPSAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_789ba3b6-af22-4570-b4ba-e476629d9f67" xlink:to="loc_exr_EarningsPerShareBasicAndDilutedEPSAbstract_e5905edd-4852-4aaf-9499-231ce777a350" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_64b11709-aab6-4a1c-85f5-ef2276875830" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exr_EarningsPerShareBasicAndDilutedEPSAbstract_e5905edd-4852-4aaf-9499-231ce777a350" xlink:to="loc_us-gaap_EarningsPerShareBasic_64b11709-aab6-4a1c-85f5-ef2276875830" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_ebebcd6c-9252-4fef-a0ae-ba16689974cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exr_EarningsPerShareBasicAndDilutedEPSAbstract_e5905edd-4852-4aaf-9499-231ce777a350" xlink:to="loc_us-gaap_EarningsPerShareDiluted_ebebcd6c-9252-4fef-a0ae-ba16689974cc" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/InvestmentsinUnconsolidatedRealEstateEntitiesDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#InvestmentsinUnconsolidatedRealEstateEntitiesDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/InvestmentsinUnconsolidatedRealEstateEntitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_59bf3d93-0787-4e99-8505-f421327c25ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfEquityMethodInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_59bf3d93-0787-4e99-8505-f421327c25ef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_90cca460-9b23-40e0-935e-8a5b8310f526" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_59bf3d93-0787-4e99-8505-f421327c25ef" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_90cca460-9b23-40e0-935e-8a5b8310f526" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_90cca460-9b23-40e0-935e-8a5b8310f526_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_90cca460-9b23-40e0-935e-8a5b8310f526" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_90cca460-9b23-40e0-935e-8a5b8310f526_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_90cca460-9b23-40e0-935e-8a5b8310f526" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PRISASelfStorageLLCMember_2cd2c14c-e7f6-47b7-9475-1ba37195ff5b" xlink:href="exr-20240630.xsd#exr_PRISASelfStorageLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_PRISASelfStorageLLCMember_2cd2c14c-e7f6-47b7-9475-1ba37195ff5b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SovranHHFStorageHoldingsLLCMember_aae56747-8047-4579-a794-591cc6e574b0" xlink:href="exr-20240630.xsd#exr_SovranHHFStorageHoldingsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_SovranHHFStorageHoldingsLLCMember_aae56747-8047-4579-a794-591cc6e574b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_StoragePortfolioIIJVLLCMember_576cbcb0-c5fd-497e-87d9-cefa0deed930" xlink:href="exr-20240630.xsd#exr_StoragePortfolioIIJVLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_StoragePortfolioIIJVLLCMember_576cbcb0-c5fd-497e-87d9-cefa0deed930" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_StoragePortfolioIVJVLLCMember_e318ab9e-3281-45dd-87fc-b7ce46bcdf52" xlink:href="exr-20240630.xsd#exr_StoragePortfolioIVJVLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_StoragePortfolioIVJVLLCMember_e318ab9e-3281-45dd-87fc-b7ce46bcdf52" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_StoragePortfolioILLCMember_59589999-d9d9-482b-8512-9ca2eee54342" xlink:href="exr-20240630.xsd#exr_StoragePortfolioILLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_StoragePortfolioILLCMember_59589999-d9d9-482b-8512-9ca2eee54342" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PRIIEXRJVLLCMember_ec479d30-30f1-4e62-9f8f-9ed5e5a1cb4b" xlink:href="exr-20240630.xsd#exr_PRIIEXRJVLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_PRIIEXRJVLLCMember_ec479d30-30f1-4e62-9f8f-9ed5e5a1cb4b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SovranHHFStorageHoldingsIILLCMember_aab7bde2-a400-47fc-b28a-6e9c10313c06" xlink:href="exr-20240630.xsd#exr_SovranHHFStorageHoldingsIILLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_SovranHHFStorageHoldingsIILLCMember_aab7bde2-a400-47fc-b28a-6e9c10313c06" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LifeStorageHIERSStorageLLCMember_19859143-f0ab-4982-b097-ecf77bed0528" xlink:href="exr-20240630.xsd#exr_LifeStorageHIERSStorageLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_LifeStorageHIERSStorageLLCMember_19859143-f0ab-4982-b097-ecf77bed0528" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_A191VLifeStorageHoldingsLLCMember_4250fb46-3923-463e-8ee6-cd0c2d31d8ec" xlink:href="exr-20240630.xsd#exr_A191VLifeStorageHoldingsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_A191VLifeStorageHoldingsLLCMember_4250fb46-3923-463e-8ee6-cd0c2d31d8ec" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_ESSCATIVSJVLPMember_312e15d6-147a-484a-8564-5b79982763ce" xlink:href="exr-20240630.xsd#exr_ESSCATIVSJVLPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_ESSCATIVSJVLPMember_312e15d6-147a-484a-8564-5b79982763ce" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_VRSSelfStorageLLCMember_eb9bde62-4b88-498a-beb9-d1a653a1bdb3" xlink:href="exr-20240630.xsd#exr_VRSSelfStorageLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_VRSSelfStorageLLCMember_eb9bde62-4b88-498a-beb9-d1a653a1bdb3" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LifeStorageHHFWasatchHoldingsLLCMember_9c6b5481-1fb4-4a9a-bb00-45c75d0e08fd" xlink:href="exr-20240630.xsd#exr_LifeStorageHHFWasatchHoldingsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_LifeStorageHHFWasatchHoldingsLLCMember_9c6b5481-1fb4-4a9a-bb00-45c75d0e08fd" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_OtherMinorityOwnedPropertiesMember_e7a1fbf1-a38a-4352-885d-8e3ef3e6c811" xlink:href="exr-20240630.xsd#exr_OtherMinorityOwnedPropertiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_OtherMinorityOwnedPropertiesMember_e7a1fbf1-a38a-4352-885d-8e3ef3e6c811" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SmartStopSelfStorageREITIncSeriesAConvertiblePreferredStockMember_96ee006a-ff54-467d-a550-e6bb8a774308" xlink:href="exr-20240630.xsd#exr_SmartStopSelfStorageREITIncSeriesAConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_SmartStopSelfStorageREITIncSeriesAConvertiblePreferredStockMember_96ee006a-ff54-467d-a550-e6bb8a774308" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_StrategicStorageTrustVIIncPreferredStockMember_bed6b32b-dee4-4054-b746-7228ccda7ed8" xlink:href="exr-20240630.xsd#exr_StrategicStorageTrustVIIncPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_7941b155-5469-44b0-984c-b63ae44e9590" xlink:to="loc_exr_StrategicStorageTrustVIIncPreferredStockMember_bed6b32b-dee4-4054-b746-7228ccda7ed8" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d3e1a962-e02a-45ca-8f9f-3404a3e9ce7e" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_59bf3d93-0787-4e99-8505-f421327c25ef" xlink:to="loc_srt_RangeAxis_d3e1a962-e02a-45ca-8f9f-3404a3e9ce7e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d3e1a962-e02a-45ca-8f9f-3404a3e9ce7e_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d3e1a962-e02a-45ca-8f9f-3404a3e9ce7e" xlink:to="loc_srt_RangeMember_d3e1a962-e02a-45ca-8f9f-3404a3e9ce7e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_adacd696-ff3b-40e7-8f64-2088fe7b31c3" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d3e1a962-e02a-45ca-8f9f-3404a3e9ce7e" xlink:to="loc_srt_RangeMember_adacd696-ff3b-40e7-8f64-2088fe7b31c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_4c2fa0fb-b3fd-4763-8b5f-7b73560fbe0a" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_adacd696-ff3b-40e7-8f64-2088fe7b31c3" xlink:to="loc_srt_MinimumMember_4c2fa0fb-b3fd-4763-8b5f-7b73560fbe0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2c5ae0f3-10f7-4db5-8e40-fab7092fb07f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_adacd696-ff3b-40e7-8f64-2088fe7b31c3" xlink:to="loc_srt_MaximumMember_2c5ae0f3-10f7-4db5-8e40-fab7092fb07f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_24139739-a087-4c79-8ba2-f6b798ddd46c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsTable_59bf3d93-0787-4e99-8505-f421327c25ef" xlink:to="loc_us-gaap_AssetAcquisitionAxis_24139739-a087-4c79-8ba2-f6b798ddd46c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_24139739-a087-4c79-8ba2-f6b798ddd46c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_24139739-a087-4c79-8ba2-f6b798ddd46c" xlink:to="loc_us-gaap_AssetAcquisitionDomain_24139739-a087-4c79-8ba2-f6b798ddd46c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_aae494a3-853e-49fe-9aa0-1beb44943cd0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_24139739-a087-4c79-8ba2-f6b798ddd46c" xlink:to="loc_us-gaap_AssetAcquisitionDomain_aae494a3-853e-49fe-9aa0-1beb44943cd0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LifeStorageIncMember_ac50b3d8-129f-4256-b5ed-96d0a432fcc7" xlink:href="exr-20240630.xsd#exr_LifeStorageIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_aae494a3-853e-49fe-9aa0-1beb44943cd0" xlink:to="loc_exr_LifeStorageIncMember_ac50b3d8-129f-4256-b5ed-96d0a432fcc7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_EquityMethodInvestmentNumberOfStores_ef5cc666-ceca-40f1-a261-014802d5dfd1" xlink:href="exr-20240630.xsd#exr_EquityMethodInvestmentNumberOfStores"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_exr_EquityMethodInvestmentNumberOfStores_ef5cc666-ceca-40f1-a261-014802d5dfd1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_efffe819-3e01-401e-9cd2-3351930b906c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_efffe819-3e01-401e-9cd2-3351930b906c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_UnconsolidatedJointVenturesExcessProfitParticipationPercentage_662c5836-9599-4e3f-8694-07fc9057c8e6" xlink:href="exr-20240630.xsd#exr_UnconsolidatedJointVenturesExcessProfitParticipationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_exr_UnconsolidatedJointVenturesExcessProfitParticipationPercentage_662c5836-9599-4e3f-8694-07fc9057c8e6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_InvestmentInUnconsolidatedRealEstateEntitiesNetOfDistributions_3c237940-8d14-4e0a-aaae-3da50115d6a6" xlink:href="exr-20240630.xsd#exr_InvestmentInUnconsolidatedRealEstateEntitiesNetOfDistributions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_exr_InvestmentInUnconsolidatedRealEstateEntitiesNetOfDistributions_3c237940-8d14-4e0a-aaae-3da50115d6a6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PreferredStockInvestmentDividendRate_2205a5ed-6756-4bfb-876e-a4ed76903931" xlink:href="exr-20240630.xsd#exr_PreferredStockInvestmentDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_exr_PreferredStockInvestmentDividendRate_2205a5ed-6756-4bfb-876e-a4ed76903931" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PreferredStockInvestmentPeriodAfterWhichDividendRateIsSubjectToIncrease_a3c999fe-8667-4e8e-9e73-d39f2c72dc77" xlink:href="exr-20240630.xsd#exr_PreferredStockInvestmentPeriodAfterWhichDividendRateIsSubjectToIncrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_exr_PreferredStockInvestmentPeriodAfterWhichDividendRateIsSubjectToIncrease_a3c999fe-8667-4e8e-9e73-d39f2c72dc77" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PreferredStockInvestmentRedemptionRestrictionPeriod_ffa9a5fc-29ab-407c-9a50-22c18251c57b" xlink:href="exr-20240630.xsd#exr_PreferredStockInvestmentRedemptionRestrictionPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_exr_PreferredStockInvestmentRedemptionRestrictionPeriod_ffa9a5fc-29ab-407c-9a50-22c18251c57b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_00bbbc59-cc93-4c0c-a0ed-34040e98f57c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_00bbbc59-cc93-4c0c-a0ed-34040e98f57c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendRatePercentage_ac1f54e6-f47b-48a7-8194-dad9b3616730" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockDividendRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_us-gaap_PreferredStockDividendRatePercentage_ac1f54e6-f47b-48a7-8194-dad9b3616730" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PreferredStockDividendRateIncreaseThreshold_54e02668-ffc9-4d2f-8418-d725f46d5dd7" xlink:href="exr-20240630.xsd#exr_PreferredStockDividendRateIncreaseThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_exr_PreferredStockDividendRateIncreaseThreshold_54e02668-ffc9-4d2f-8418-d725f46d5dd7" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PreferredStockRedemptionPeriod_cb9d6a0b-f9ad-4337-8d33-9a29e485118d" xlink:href="exr-20240630.xsd#exr_PreferredStockRedemptionPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfEquityMethodInvestmentsLineItems_767bd521-bed4-4135-a6a6-2b0690949741" xlink:to="loc_exr_PreferredStockRedemptionPeriod_cb9d6a0b-f9ad-4337-8d33-9a29e485118d" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivableScheduleDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#InvestmentsinDebtSecuritiesandNotesReceivableScheduleDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivableScheduleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_6b1fc28f-8f9a-41c9-98a4-627adffec061" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_0a36dbec-72cb-46b6-a9a3-41369b172e71" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_6b1fc28f-8f9a-41c9-98a4-627adffec061" xlink:to="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_0a36dbec-72cb-46b6-a9a3-41369b172e71" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_47bac4a9-94a0-4e00-bdea-155045102938" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_0a36dbec-72cb-46b6-a9a3-41369b172e71" xlink:to="loc_us-gaap_FinancialInstrumentAxis_47bac4a9-94a0-4e00-bdea-155045102938" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_47bac4a9-94a0-4e00-bdea-155045102938_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_47bac4a9-94a0-4e00-bdea-155045102938" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_47bac4a9-94a0-4e00-bdea-155045102938_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7987449c-bdf9-46e9-bb55-8e4c55842c9d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_47bac4a9-94a0-4e00-bdea-155045102938" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7987449c-bdf9-46e9-bb55-8e4c55842c9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_JCAPSeriesAPreferredStockMember_3f022847-f973-405d-846a-c2257ccce99d" xlink:href="exr-20240630.xsd#exr_JCAPSeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_7987449c-bdf9-46e9-bb55-8e4c55842c9d" xlink:to="loc_exr_JCAPSeriesAPreferredStockMember_3f022847-f973-405d-846a-c2257ccce99d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_3123626b-b68c-4dd9-bae0-23d69afe3c72" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_0a36dbec-72cb-46b6-a9a3-41369b172e71" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_3123626b-b68c-4dd9-bae0-23d69afe3c72" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_3123626b-b68c-4dd9-bae0-23d69afe3c72_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_3123626b-b68c-4dd9-bae0-23d69afe3c72" xlink:to="loc_us-gaap_ReceivableTypeDomain_3123626b-b68c-4dd9-bae0-23d69afe3c72_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_2b5716ba-2f34-4ba4-a167-f36f1c5092b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_3123626b-b68c-4dd9-bae0-23d69afe3c72" xlink:to="loc_us-gaap_ReceivableTypeDomain_2b5716ba-2f34-4ba4-a167-f36f1c5092b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BridgeLoanMember_8535b493-ae4e-4439-885d-0cf18083e269" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BridgeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_2b5716ba-2f34-4ba4-a167-f36f1c5092b0" xlink:to="loc_us-gaap_BridgeLoanMember_8535b493-ae4e-4439-885d-0cf18083e269" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HeldToMaturitySecurities_6516ca8d-a469-40d1-ba55-32b83fb7abf6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HeldToMaturitySecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_6b1fc28f-8f9a-41c9-98a4-627adffec061" xlink:to="loc_us-gaap_HeldToMaturitySecurities_6516ca8d-a469-40d1-ba55-32b83fb7abf6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_6386bc1d-d8c1-40ae-9dee-76a77006aade" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesReceivableNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_6b1fc28f-8f9a-41c9-98a4-627adffec061" xlink:to="loc_us-gaap_NotesReceivableNet_6386bc1d-d8c1-40ae-9dee-76a77006aade" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsReceivable_3c55c2e2-a8df-4205-b6f8-c054a9b8c27c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_6b1fc28f-8f9a-41c9-98a4-627adffec061" xlink:to="loc_us-gaap_DividendsReceivable_3c55c2e2-a8df-4205-b6f8-c054a9b8c27c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityAndFinancingReceivableAfterAllowanceForCreditLossAndInterestReceivable_8d2bf334-e5e0-428d-9f67-878a4a2e83ba" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityAndFinancingReceivableAfterAllowanceForCreditLossAndInterestReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_6b1fc28f-8f9a-41c9-98a4-627adffec061" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityAndFinancingReceivableAfterAllowanceForCreditLossAndInterestReceivable_8d2bf334-e5e0-428d-9f67-878a4a2e83ba" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivableAdditionalInformationDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#InvestmentsinDebtSecuritiesandNotesReceivableAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/InvestmentsinDebtSecuritiesandNotesReceivableAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_76376280-83e8-4e16-95c6-a6d77ac6188a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_76376280-83e8-4e16-95c6-a6d77ac6188a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_8c65c8a3-0e0c-4cae-aa4a-6b1427d88a06" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_76376280-83e8-4e16-95c6-a6d77ac6188a" xlink:to="loc_us-gaap_FinancialInstrumentAxis_8c65c8a3-0e0c-4cae-aa4a-6b1427d88a06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8c65c8a3-0e0c-4cae-aa4a-6b1427d88a06_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_8c65c8a3-0e0c-4cae-aa4a-6b1427d88a06" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8c65c8a3-0e0c-4cae-aa4a-6b1427d88a06_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ecb6a63b-1a03-4198-a4f8-06985c23b7a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_8c65c8a3-0e0c-4cae-aa4a-6b1427d88a06" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ecb6a63b-1a03-4198-a4f8-06985c23b7a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_JCAPSeriesAPreferredStockMember_004d6737-b18c-4b3b-a193-b53d577ca4e3" xlink:href="exr-20240630.xsd#exr_JCAPSeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ecb6a63b-1a03-4198-a4f8-06985c23b7a5" xlink:to="loc_exr_JCAPSeriesAPreferredStockMember_004d6737-b18c-4b3b-a193-b53d577ca4e3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_JCAPSeriesBPreferredStockMember_82a794a0-638c-446f-86b8-15563fabb4e1" xlink:href="exr-20240630.xsd#exr_JCAPSeriesBPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ecb6a63b-1a03-4198-a4f8-06985c23b7a5" xlink:to="loc_exr_JCAPSeriesBPreferredStockMember_82a794a0-638c-446f-86b8-15563fabb4e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_JCAPSeriesDPreferredStockMember_7cae9ce1-c1dc-401d-aea5-3570dcde7200" xlink:href="exr-20240630.xsd#exr_JCAPSeriesDPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ecb6a63b-1a03-4198-a4f8-06985c23b7a5" xlink:to="loc_exr_JCAPSeriesDPreferredStockMember_7cae9ce1-c1dc-401d-aea5-3570dcde7200" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_f99b3b6b-bf05-47ad-8907-c295bee384aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_76376280-83e8-4e16-95c6-a6d77ac6188a" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_f99b3b6b-bf05-47ad-8907-c295bee384aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_f99b3b6b-bf05-47ad-8907-c295bee384aa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_f99b3b6b-bf05-47ad-8907-c295bee384aa" xlink:to="loc_us-gaap_ReceivableTypeDomain_f99b3b6b-bf05-47ad-8907-c295bee384aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivableTypeDomain_535b7068-c8f8-4148-95c6-b1ec2331f185" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReceivableTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivableByReceivableTypeAxis_f99b3b6b-bf05-47ad-8907-c295bee384aa" xlink:to="loc_us-gaap_ReceivableTypeDomain_535b7068-c8f8-4148-95c6-b1ec2331f185" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BridgeLoanMember_867807bd-9ac0-4e73-bcf5-9284d58eb83e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BridgeLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReceivableTypeDomain_535b7068-c8f8-4148-95c6-b1ec2331f185" xlink:to="loc_us-gaap_BridgeLoanMember_867807bd-9ac0-4e73-bcf5-9284d58eb83e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_c700f313-afe6-43ab-860c-b503a850c3f2" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_76376280-83e8-4e16-95c6-a6d77ac6188a" xlink:to="loc_srt_RangeAxis_c700f313-afe6-43ab-860c-b503a850c3f2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c700f313-afe6-43ab-860c-b503a850c3f2_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_c700f313-afe6-43ab-860c-b503a850c3f2" xlink:to="loc_srt_RangeMember_c700f313-afe6-43ab-860c-b503a850c3f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_63b5ab2c-8af3-4074-88e8-7ac7f974ee27" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_c700f313-afe6-43ab-860c-b503a850c3f2" xlink:to="loc_srt_RangeMember_63b5ab2c-8af3-4074-88e8-7ac7f974ee27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_2519d389-c6bb-4eea-9f8c-cc10881b0d86" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_63b5ab2c-8af3-4074-88e8-7ac7f974ee27" xlink:to="loc_srt_MinimumMember_2519d389-c6bb-4eea-9f8c-cc10881b0d86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_3240c261-2ed8-41cc-9dac-8db81480f042" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_63b5ab2c-8af3-4074-88e8-7ac7f974ee27" xlink:to="loc_srt_MaximumMember_3240c261-2ed8-41cc-9dac-8db81480f042" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_f30d4e46-6213-4dcb-96e5-c92e94ddf62d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireHeldToMaturitySecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_us-gaap_PaymentsToAcquireHeldToMaturitySecurities_f30d4e46-6213-4dcb-96e5-c92e94ddf62d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityNumberOfShares_1251849c-e6b9-4d16-ae5e-742ecce33bba" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityNumberOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityNumberOfShares_1251849c-e6b9-4d16-ae5e-742ecce33bba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityNumberOfSharesExchanged_f811b0bb-3622-4df4-b1d5-63fa5f7e3a67" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityNumberOfSharesExchanged"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityNumberOfSharesExchanged_f811b0bb-3622-4df4-b1d5-63fa5f7e3a67" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityNumberOfSharesExchangedValue_4bd22388-4088-468c-8166-1d160e1b5bd0" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityNumberOfSharesExchangedValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityNumberOfSharesExchangedValue_4bd22388-4088-468c-8166-1d160e1b5bd0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityTerm_31dd6a71-9c7f-47aa-aefa-4e66eb2dc904" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityTerm_31dd6a71-9c7f-47aa-aefa-4e66eb2dc904" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityExtensionOption_2991abd8-4edb-40b4-96a7-e7795974e4ae" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityExtensionOption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityExtensionOption_2991abd8-4edb-40b4-96a7-e7795974e4ae" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityExtensionTerm_84d337c1-01d8-4949-842a-23a1ffc83ae2" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityExtensionTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityExtensionTerm_84d337c1-01d8-4949-842a-23a1ffc83ae2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityDividendRate_d4915b1e-74f6-4e6a-bac0-6ae9ca062f01" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityDividendRate_d4915b1e-74f6-4e6a-bac0-6ae9ca062f01" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtSecuritiesHeldToMaturityPeriodAfterWhichPreferredDividendsIncreaseAnnually_0e0c0443-3003-4904-af5f-8a54882f6a1f" xlink:href="exr-20240630.xsd#exr_DebtSecuritiesHeldToMaturityPeriodAfterWhichPreferredDividendsIncreaseAnnually"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_DebtSecuritiesHeldToMaturityPeriodAfterWhichPreferredDividendsIncreaseAnnually_0e0c0443-3003-4904-af5f-8a54882f6a1f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_FinancingReceivablePercentHeldAsMortgageReceivables_f2e7be32-77a0-4d87-a6a6-b221319b5886" xlink:href="exr-20240630.xsd#exr_FinancingReceivablePercentHeldAsMortgageReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_FinancingReceivablePercentHeldAsMortgageReceivables_f2e7be32-77a0-4d87-a6a6-b221319b5886" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_FinancingReceivableTerm_333be649-8e33-4118-8f64-a11e494f4a2b" xlink:href="exr-20240630.xsd#exr_FinancingReceivableTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_FinancingReceivableTerm_333be649-8e33-4118-8f64-a11e494f4a2b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_FinancingReceivableExtensionOption_e4d9d20c-6fc8-4507-9d88-57f2ad49afbc" xlink:href="exr-20240630.xsd#exr_FinancingReceivableExtensionOption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_FinancingReceivableExtensionOption_e4d9d20c-6fc8-4507-9d88-57f2ad49afbc" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_FinancingReceivableExtensionTerm_761a6965-a618-402a-8b04-e65a774b0b3c" xlink:href="exr-20240630.xsd#exr_FinancingReceivableExtensionTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_FinancingReceivableExtensionTerm_761a6965-a618-402a-8b04-e65a774b0b3c" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireNotesReceivable_a3a2b7c2-7b63-4410-9858-030684bdab26" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsToAcquireNotesReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_us-gaap_PaymentsToAcquireNotesReceivable_a3a2b7c2-7b63-4410-9858-030684bdab26" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_PaymentForDrawOnInterestReserves_a31954ee-fb54-4034-a57f-97f86f1999b1" xlink:href="exr-20240630.xsd#exr_PaymentForDrawOnInterestReserves"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_PaymentForDrawOnInterestReserves_a31954ee-fb54-4034-a57f-97f86f1999b1" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_FinancingReceivableLoanToValueRatio_34df1202-8ada-4d01-85c9-73c6abab32fa" xlink:href="exr-20240630.xsd#exr_FinancingReceivableLoanToValueRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_375dda1e-e7bf-493b-babd-d1a405cfe92e" xlink:to="loc_exr_FinancingReceivableLoanToValueRatio_34df1202-8ada-4d01-85c9-73c6abab32fa" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/DebtScheduleofComponentsofTermDebtDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#DebtScheduleofComponentsofTermDebtDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/DebtScheduleofComponentsofTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_dd9157b9-16f0-4250-ad84-d763a47916e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_24b5c43a-31cb-4f85-8398-3448d6a6cec5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd9157b9-16f0-4250-ad84-d763a47916e6" xlink:to="loc_us-gaap_DebtInstrumentTable_24b5c43a-31cb-4f85-8398-3448d6a6cec5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_4da69de9-5c78-4452-855a-a8f25a69681f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_24b5c43a-31cb-4f85-8398-3448d6a6cec5" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_4da69de9-5c78-4452-855a-a8f25a69681f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4da69de9-5c78-4452-855a-a8f25a69681f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4da69de9-5c78-4452-855a-a8f25a69681f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4da69de9-5c78-4452-855a-a8f25a69681f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d7860e29-1c92-46fa-a642-dff4a7076bcf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4da69de9-5c78-4452-855a-a8f25a69681f" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d7860e29-1c92-46fa-a642-dff4a7076bcf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableToBanksMember_d77d4453-0054-4484-99dd-a458136f40f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NotesPayableToBanksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_d7860e29-1c92-46fa-a642-dff4a7076bcf" xlink:to="loc_us-gaap_NotesPayableToBanksMember_d77d4453-0054-4484-99dd-a458136f40f5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_UnsecuredTermLoansMember_a8769efa-9a14-4365-908c-db0ec758bc51" xlink:href="exr-20240630.xsd#exr_UnsecuredTermLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_d7860e29-1c92-46fa-a642-dff4a7076bcf" xlink:to="loc_exr_UnsecuredTermLoansMember_a8769efa-9a14-4365-908c-db0ec758bc51" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_4a2e4306-2a36-4003-8525-2b632f7e94cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_d7860e29-1c92-46fa-a642-dff4a7076bcf" xlink:to="loc_us-gaap_SeniorNotesMember_4a2e4306-2a36-4003-8525-2b632f7e94cd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_TermDebtMember_cda99172-168f-4278-88c7-282d31de7f0a" xlink:href="exr-20240630.xsd#exr_TermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_d7860e29-1c92-46fa-a642-dff4a7076bcf" xlink:to="loc_exr_TermDebtMember_cda99172-168f-4278-88c7-282d31de7f0a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_5036c8a5-63b3-4549-a966-f21aaa5392c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd9157b9-16f0-4250-ad84-d763a47916e6" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_5036c8a5-63b3-4549-a966-f21aaa5392c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_0658e081-5187-4d39-9be0-0b7036e4c179" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd9157b9-16f0-4250-ad84-d763a47916e6" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_0658e081-5187-4d39-9be0-0b7036e4c179" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_b2e4e48b-4dc1-46e5-83a8-2889a144acdb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd9157b9-16f0-4250-ad84-d763a47916e6" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_b2e4e48b-4dc1-46e5-83a8-2889a144acdb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_33030655-69e7-4ccd-bdda-39100b48c853" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_dd9157b9-16f0-4250-ad84-d763a47916e6" xlink:to="loc_us-gaap_LongTermDebt_33030655-69e7-4ccd-bdda-39100b48c853" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/DebtScheduleofMaturitiesofNotesPayableDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#DebtScheduleofMaturitiesofNotesPayableDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/DebtScheduleofMaturitiesofNotesPayableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_4bccec91-1325-4a56-b145-6e40e4aa81d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_us-gaap_DebtInstrumentTable_4bccec91-1325-4a56-b145-6e40e4aa81d5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_bda0450e-a20c-46ef-bbd5-c1c2b3c171ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_4bccec91-1325-4a56-b145-6e40e4aa81d5" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_bda0450e-a20c-46ef-bbd5-c1c2b3c171ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_bda0450e-a20c-46ef-bbd5-c1c2b3c171ef_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_bda0450e-a20c-46ef-bbd5-c1c2b3c171ef" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_bda0450e-a20c-46ef-bbd5-c1c2b3c171ef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_8d2b4fc0-bad8-4783-93f6-a4cd94a6ef3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_bda0450e-a20c-46ef-bbd5-c1c2b3c171ef" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_8d2b4fc0-bad8-4783-93f6-a4cd94a6ef3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_TermDebtMember_21a704c4-c030-4ecd-ace9-ec397161586e" xlink:href="exr-20240630.xsd#exr_TermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_8d2b4fc0-bad8-4783-93f6-a4cd94a6ef3c" xlink:to="loc_exr_TermDebtMember_21a704c4-c030-4ecd-ace9-ec397161586e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_6e15d928-5bb1-4804-a08c-c41b10cf08c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_6e15d928-5bb1-4804-a08c-c41b10cf08c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_10682c03-1e19-4340-9e32-620ea21bc912" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_10682c03-1e19-4340-9e32-620ea21bc912" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_0edd163d-60d4-48fb-a62c-dfcd22d55e8d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_0edd163d-60d4-48fb-a62c-dfcd22d55e8d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_6bf62626-2a2d-4850-bd7a-7b7d884a6abd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_6bf62626-2a2d-4850-bd7a-7b7d884a6abd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_d1d6aeb6-2802-4310-925c-7ee1547c1f95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_d1d6aeb6-2802-4310-925c-7ee1547c1f95" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_9f5e7be4-7195-4c76-a00f-691189eb40d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_9f5e7be4-7195-4c76-a00f-691189eb40d0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LongTermDebtMaturityYearSix_182252e6-5bb5-41ea-950b-dcd8f6e9de7d" xlink:href="exr-20240630.xsd#exr_LongTermDebtMaturityYearSix"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_exr_LongTermDebtMaturityYearSix_182252e6-5bb5-41ea-950b-dcd8f6e9de7d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LongTermDebtMaturityYearSeven_510f4ab1-366b-4917-bcb5-0b006c56a354" xlink:href="exr-20240630.xsd#exr_LongTermDebtMaturityYearSeven"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_exr_LongTermDebtMaturityYearSeven_510f4ab1-366b-4917-bcb5-0b006c56a354" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LongTermDebtMaturityYearEight_b2e8cb3b-81fd-4730-88a0-1f8a773d91e5" xlink:href="exr-20240630.xsd#exr_LongTermDebtMaturityYearEight"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_exr_LongTermDebtMaturityYearEight_b2e8cb3b-81fd-4730-88a0-1f8a773d91e5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LongTermDebtMaturityAfterYearEight_0e68fcde-7bb0-473f-a44c-ac5a22eb22c6" xlink:href="exr-20240630.xsd#exr_LongTermDebtMaturityAfterYearEight"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_exr_LongTermDebtMaturityAfterYearEight_0e68fcde-7bb0-473f-a44c-ac5a22eb22c6" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_f7e949bb-af6b-42b2-8d3c-c927536c6de8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_1acbbde5-3ca0-446d-94d0-ab2d4b0bb36d" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_f7e949bb-af6b-42b2-8d3c-c927536c6de8" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/DebtAdditionalInformationDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#DebtAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/DebtAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_cdadf473-a1cc-42ea-a857-a7e66153b32f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_us-gaap_DebtInstrumentTable_cdadf473-a1cc-42ea-a857-a7e66153b32f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_f35fe62c-ad28-45aa-8991-5117381782ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_cdadf473-a1cc-42ea-a857-a7e66153b32f" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_f35fe62c-ad28-45aa-8991-5117381782ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f35fe62c-ad28-45aa-8991-5117381782ba_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_f35fe62c-ad28-45aa-8991-5117381782ba" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f35fe62c-ad28-45aa-8991-5117381782ba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4254fb17-a275-4c3e-8fe4-c400e4a1ffce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_f35fe62c-ad28-45aa-8991-5117381782ba" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4254fb17-a275-4c3e-8fe4-c400e4a1ffce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_6e29c3a0-54ef-41ce-95d5-58f16602aaa9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4254fb17-a275-4c3e-8fe4-c400e4a1ffce" xlink:to="loc_us-gaap_LineOfCreditMember_6e29c3a0-54ef-41ce-95d5-58f16602aaa9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_0f224da0-ca02-437e-a7ce-12af9700a3f6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_cdadf473-a1cc-42ea-a857-a7e66153b32f" xlink:to="loc_us-gaap_VariableRateAxis_0f224da0-ca02-437e-a7ce-12af9700a3f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_0f224da0-ca02-437e-a7ce-12af9700a3f6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_0f224da0-ca02-437e-a7ce-12af9700a3f6" xlink:to="loc_us-gaap_VariableRateDomain_0f224da0-ca02-437e-a7ce-12af9700a3f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_1f77b3a0-2a11-4863-be7c-169fc1daccfe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_0f224da0-ca02-437e-a7ce-12af9700a3f6" xlink:to="loc_us-gaap_VariableRateDomain_1f77b3a0-2a11-4863-be7c-169fc1daccfe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_b40aa437-e791-4d79-9721-9103bbe3ada9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_1f77b3a0-2a11-4863-be7c-169fc1daccfe" xlink:to="loc_us-gaap_BaseRateMember_b40aa437-e791-4d79-9721-9103bbe3ada9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsEffectiveSwapRateMember_16da7c92-6d53-477d-aa99-f04f602c2ef8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FederalFundsEffectiveSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_1f77b3a0-2a11-4863-be7c-169fc1daccfe" xlink:to="loc_us-gaap_FederalFundsEffectiveSwapRateMember_16da7c92-6d53-477d-aa99-f04f602c2ef8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_c6fb2ed9-fe57-43af-a9be-3e394084c6c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_1f77b3a0-2a11-4863-be7c-169fc1daccfe" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_c6fb2ed9-fe57-43af-a9be-3e394084c6c0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_VariableRateComponentAxis_26a7596c-579a-4d87-b638-bbecd3496aa5" xlink:href="exr-20240630.xsd#exr_VariableRateComponentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_cdadf473-a1cc-42ea-a857-a7e66153b32f" xlink:to="loc_exr_VariableRateComponentAxis_26a7596c-579a-4d87-b638-bbecd3496aa5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_VariableRateComponentDomain_26a7596c-579a-4d87-b638-bbecd3496aa5_default" xlink:href="exr-20240630.xsd#exr_VariableRateComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_exr_VariableRateComponentAxis_26a7596c-579a-4d87-b638-bbecd3496aa5" xlink:to="loc_exr_VariableRateComponentDomain_26a7596c-579a-4d87-b638-bbecd3496aa5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_VariableRateComponentDomain_bff857f4-4f99-45f2-8548-746391f6dbad" xlink:href="exr-20240630.xsd#exr_VariableRateComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_exr_VariableRateComponentAxis_26a7596c-579a-4d87-b638-bbecd3496aa5" xlink:to="loc_exr_VariableRateComponentDomain_bff857f4-4f99-45f2-8548-746391f6dbad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SpecifiedInvestmentGradeRatingAndElectsToUseAlternativeRatesMember_2ec4af0c-d9a9-402e-a94b-b838c8892223" xlink:href="exr-20240630.xsd#exr_SpecifiedInvestmentGradeRatingAndElectsToUseAlternativeRatesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exr_VariableRateComponentDomain_bff857f4-4f99-45f2-8548-746391f6dbad" xlink:to="loc_exr_SpecifiedInvestmentGradeRatingAndElectsToUseAlternativeRatesMember_2ec4af0c-d9a9-402e-a94b-b838c8892223" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_1887729e-11bd-4cbf-a5b7-9741a8fa110d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_cdadf473-a1cc-42ea-a857-a7e66153b32f" xlink:to="loc_srt_RangeAxis_1887729e-11bd-4cbf-a5b7-9741a8fa110d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_1887729e-11bd-4cbf-a5b7-9741a8fa110d_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1887729e-11bd-4cbf-a5b7-9741a8fa110d" xlink:to="loc_srt_RangeMember_1887729e-11bd-4cbf-a5b7-9741a8fa110d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_50d2495e-5121-4330-a086-0c85210b63ad" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1887729e-11bd-4cbf-a5b7-9741a8fa110d" xlink:to="loc_srt_RangeMember_50d2495e-5121-4330-a086-0c85210b63ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_0a2a0357-9cfc-44c2-9cb4-3db5134c2ecd" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_50d2495e-5121-4330-a086-0c85210b63ad" xlink:to="loc_srt_MinimumMember_0a2a0357-9cfc-44c2-9cb4-3db5134c2ecd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_7744a427-54b1-41dd-a899-6ab017b28fe2" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_50d2495e-5121-4330-a086-0c85210b63ad" xlink:to="loc_srt_MaximumMember_7744a427-54b1-41dd-a899-6ab017b28fe2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_e2a0468f-4b70-4363-9379-7058a1239a5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_cdadf473-a1cc-42ea-a857-a7e66153b32f" xlink:to="loc_us-gaap_DebtInstrumentAxis_e2a0468f-4b70-4363-9379-7058a1239a5e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_e2a0468f-4b70-4363-9379-7058a1239a5e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_e2a0468f-4b70-4363-9379-7058a1239a5e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_e2a0468f-4b70-4363-9379-7058a1239a5e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_61fbcf7c-78a9-4c96-b277-e4fba1e4c6b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_e2a0468f-4b70-4363-9379-7058a1239a5e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_61fbcf7c-78a9-4c96-b277-e4fba1e4c6b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_FirstCreditLineMember_be03644f-acb3-4c72-b5c2-65167572e2cd" xlink:href="exr-20240630.xsd#exr_FirstCreditLineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_61fbcf7c-78a9-4c96-b277-e4fba1e4c6b2" xlink:to="loc_exr_FirstCreditLineMember_be03644f-acb3-4c72-b5c2-65167572e2cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_79085bd2-59ce-4e96-8246-9ee090b8e072" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_79085bd2-59ce-4e96-8246-9ee090b8e072" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LineOfCreditFacilityNumberOfExtensionsAvailable_73f3d011-a8e4-4aa8-89c1-e9e1c49347b2" xlink:href="exr-20240630.xsd#exr_LineOfCreditFacilityNumberOfExtensionsAvailable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_exr_LineOfCreditFacilityNumberOfExtensionsAvailable_73f3d011-a8e4-4aa8-89c1-e9e1c49347b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LineOfCreditFacilityExtensionTerm_0940a7d9-4b42-43ec-bda7-aa54b1a4e1a8" xlink:href="exr-20240630.xsd#exr_LineOfCreditFacilityExtensionTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_exr_LineOfCreditFacilityExtensionTerm_0940a7d9-4b42-43ec-bda7-aa54b1a4e1a8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_74cd8910-3389-4385-b2bc-5cf1b496c14c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_74cd8910-3389-4385-b2bc-5cf1b496c14c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DebtInstrumentFixedRateDebtToTotalDebtRate_c1743493-3ada-4429-8598-8de8c6540a76" xlink:href="exr-20240630.xsd#exr_DebtInstrumentFixedRateDebtToTotalDebtRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_exr_DebtInstrumentFixedRateDebtToTotalDebtRate_c1743493-3ada-4429-8598-8de8c6540a76" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtPercentageBearingFixedInterestRate_a4e5a97c-6a06-4c18-bdaf-81c46ac701ed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtPercentageBearingFixedInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_us-gaap_LongTermDebtPercentageBearingFixedInterestRate_a4e5a97c-6a06-4c18-bdaf-81c46ac701ed" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_da6f54a3-5500-40b4-9dd3-f078281e94fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtPercentageBearingVariableInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_us-gaap_LongTermDebtPercentageBearingVariableInterestRate_da6f54a3-5500-40b4-9dd3-f078281e94fc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_ef8e638c-b061-4a0d-8232-ce38fbe3cbfe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_026230bb-2eb0-4cd9-b38d-836434556f16" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_ef8e638c-b061-4a0d-8232-ce38fbe3cbfe" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/DebtScheduleofInformationonLinesofCreditDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#DebtScheduleofInformationonLinesofCreditDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/DebtScheduleofInformationonLinesofCreditDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_9f5744ac-8b5a-465e-8e57-886cc9ef54ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_80cbf5e3-4a61-477c-82af-80657f50c058" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9f5744ac-8b5a-465e-8e57-886cc9ef54ce" xlink:to="loc_us-gaap_DebtInstrumentTable_80cbf5e3-4a61-477c-82af-80657f50c058" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_5157705b-d82d-4c61-891f-f2a112191434" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_80cbf5e3-4a61-477c-82af-80657f50c058" xlink:to="loc_us-gaap_DebtInstrumentAxis_5157705b-d82d-4c61-891f-f2a112191434" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5157705b-d82d-4c61-891f-f2a112191434_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_5157705b-d82d-4c61-891f-f2a112191434" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5157705b-d82d-4c61-891f-f2a112191434_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3973e169-9f3d-4f45-88de-4f6328ede1d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_5157705b-d82d-4c61-891f-f2a112191434" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3973e169-9f3d-4f45-88de-4f6328ede1d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_FirstCreditLineMember_0ab17bd0-4bf2-4a6d-bc55-cf8e549bdd79" xlink:href="exr-20240630.xsd#exr_FirstCreditLineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3973e169-9f3d-4f45-88de-4f6328ede1d2" xlink:to="loc_exr_FirstCreditLineMember_0ab17bd0-4bf2-4a6d-bc55-cf8e549bdd79" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SecondCreditLineMember_6c9a77f4-b93d-4568-a69b-7ef1c67b8321" xlink:href="exr-20240630.xsd#exr_SecondCreditLineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3973e169-9f3d-4f45-88de-4f6328ede1d2" xlink:to="loc_exr_SecondCreditLineMember_6c9a77f4-b93d-4568-a69b-7ef1c67b8321" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LinesOfCreditMember_8912538b-9c96-4237-aebb-7e88122ddad2" xlink:href="exr-20240630.xsd#exr_LinesOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3973e169-9f3d-4f45-88de-4f6328ede1d2" xlink:to="loc_exr_LinesOfCreditMember_8912538b-9c96-4237-aebb-7e88122ddad2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_0cbf06b9-b756-4f30-a147-24d4771af417" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_80cbf5e3-4a61-477c-82af-80657f50c058" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_0cbf06b9-b756-4f30-a147-24d4771af417" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_0cbf06b9-b756-4f30-a147-24d4771af417_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_0cbf06b9-b756-4f30-a147-24d4771af417" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_0cbf06b9-b756-4f30-a147-24d4771af417_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_64980fc3-88a6-4b90-b7d4-2ba3c5e608f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_0cbf06b9-b756-4f30-a147-24d4771af417" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_64980fc3-88a6-4b90-b7d4-2ba3c5e608f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_ea22bdb7-ace2-4820-8e32-4f7ddd096849" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_64980fc3-88a6-4b90-b7d4-2ba3c5e608f0" xlink:to="loc_us-gaap_LineOfCreditMember_ea22bdb7-ace2-4820-8e32-4f7ddd096849" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_ab8515d9-e9ba-490d-b80f-ef73bedebf8f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9f5744ac-8b5a-465e-8e57-886cc9ef54ce" xlink:to="loc_us-gaap_LineOfCredit_ab8515d9-e9ba-490d-b80f-ef73bedebf8f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_bb69647d-56e6-40e2-b4f5-717bdefd67e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9f5744ac-8b5a-465e-8e57-886cc9ef54ce" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_bb69647d-56e6-40e2-b4f5-717bdefd67e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_d1f05691-8c13-43b6-842b-bcbb45d30d39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9f5744ac-8b5a-465e-8e57-886cc9ef54ce" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_d1f05691-8c13-43b6-842b-bcbb45d30d39" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_186e7edc-015c-4b3b-be3a-a7a3b55cd87e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9f5744ac-8b5a-465e-8e57-886cc9ef54ce" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_186e7edc-015c-4b3b-be3a-a7a3b55cd87e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LineOfCreditFacilityNumberOfExtensionsAvailable_91cdb908-7d0c-4d40-8c9d-41cce41dadeb" xlink:href="exr-20240630.xsd#exr_LineOfCreditFacilityNumberOfExtensionsAvailable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9f5744ac-8b5a-465e-8e57-886cc9ef54ce" xlink:to="loc_exr_LineOfCreditFacilityNumberOfExtensionsAvailable_91cdb908-7d0c-4d40-8c9d-41cce41dadeb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_LineOfCreditFacilityExtensionTerm_5d569717-4b69-4199-b65a-a071463fe1ac" xlink:href="exr-20240630.xsd#exr_LineOfCreditFacilityExtensionTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9f5744ac-8b5a-465e-8e57-886cc9ef54ce" xlink:to="loc_exr_LineOfCreditFacilityExtensionTerm_5d569717-4b69-4199-b65a-a071463fe1ac" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/DerivativesAdditionalInformationDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#DerivativesAdditionalInformationDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/DerivativesAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_ee2acc15-9b45-4994-aaec-d6b9efa004d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_37d64a13-53f7-48f3-8c30-77ac4a356cc1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_ee2acc15-9b45-4994-aaec-d6b9efa004d3" xlink:to="loc_us-gaap_DerivativeTable_37d64a13-53f7-48f3-8c30-77ac4a356cc1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_134cdd6c-ebac-4245-82f1-de900e6d8817" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_37d64a13-53f7-48f3-8c30-77ac4a356cc1" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_134cdd6c-ebac-4245-82f1-de900e6d8817" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_134cdd6c-ebac-4245-82f1-de900e6d8817_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_134cdd6c-ebac-4245-82f1-de900e6d8817" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_134cdd6c-ebac-4245-82f1-de900e6d8817_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_29581f6f-571a-4b86-9709-56f21412c281" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_134cdd6c-ebac-4245-82f1-de900e6d8817" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_29581f6f-571a-4b86-9709-56f21412c281" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_InterestRateSwapForwardStartingMember_f8a9720e-b868-4f28-9416-36531818999a" xlink:href="exr-20240630.xsd#exr_InterestRateSwapForwardStartingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_29581f6f-571a-4b86-9709-56f21412c281" xlink:to="loc_exr_InterestRateSwapForwardStartingMember_f8a9720e-b868-4f28-9416-36531818999a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet_f5626bb2-1b13-478d-803e-bbd8e31117b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ee2acc15-9b45-4994-aaec-d6b9efa004d3" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet_f5626bb2-1b13-478d-803e-bbd8e31117b7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_752fa91b-7de6-4c5d-86a8-3ce899b93daa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeNumberOfInstrumentsHeld"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ee2acc15-9b45-4994-aaec-d6b9efa004d3" xlink:to="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_752fa91b-7de6-4c5d-86a8-3ce899b93daa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_200a9187-765c-4477-b293-dc577d4402b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ee2acc15-9b45-4994-aaec-d6b9efa004d3" xlink:to="loc_us-gaap_DerivativeNotionalAmount_200a9187-765c-4477-b293-dc577d4402b3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DerivativeWithContingentFeaturesFairValueOfAssetLiabilityNet_86c4fee2-15c2-4abe-93ba-3ea9399ec73c" xlink:href="exr-20240630.xsd#exr_DerivativeWithContingentFeaturesFairValueOfAssetLiabilityNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ee2acc15-9b45-4994-aaec-d6b9efa004d3" xlink:to="loc_exr_DerivativeWithContingentFeaturesFairValueOfAssetLiabilityNet_86c4fee2-15c2-4abe-93ba-3ea9399ec73c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_DerivativeTerminationValue_87aec5ec-6efa-45ad-ac7d-b205d0dc7984" xlink:href="exr-20240630.xsd#exr_DerivativeTerminationValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ee2acc15-9b45-4994-aaec-d6b9efa004d3" xlink:to="loc_exr_DerivativeTerminationValue_87aec5ec-6efa-45ad-ac7d-b205d0dc7984" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/DerivativesScheduleofBalanceSheetClassificationandFairValueofInstrumentsDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#DerivativesScheduleofBalanceSheetClassificationandFairValueofInstrumentsDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/DerivativesScheduleofBalanceSheetClassificationandFairValueofInstrumentsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_93e46c6a-9466-4d98-9ffc-27ccf07c7ddf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_414638bc-8f2a-4057-a47b-fa98242c13b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_93e46c6a-9466-4d98-9ffc-27ccf07c7ddf" xlink:to="loc_us-gaap_DerivativeTable_414638bc-8f2a-4057-a47b-fa98242c13b0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_b00ffa81-2281-4d68-878e-69b732ac3871" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_414638bc-8f2a-4057-a47b-fa98242c13b0" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_b00ffa81-2281-4d68-878e-69b732ac3871" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_b00ffa81-2281-4d68-878e-69b732ac3871_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_b00ffa81-2281-4d68-878e-69b732ac3871" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_b00ffa81-2281-4d68-878e-69b732ac3871_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_a8b26ad7-4852-41fd-9ca9-fd24b7636ad6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_b00ffa81-2281-4d68-878e-69b732ac3871" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_a8b26ad7-4852-41fd-9ca9-fd24b7636ad6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMember_a79c827d-9056-4935-8b6b-63a9e4439d9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_a8b26ad7-4852-41fd-9ca9-fd24b7636ad6" xlink:to="loc_us-gaap_OtherAssetsMember_a79c827d-9056-4935-8b6b-63a9e4439d9a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesMember_eb8f34ce-2def-4e7f-91eb-aaf5a77c9191" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_a8b26ad7-4852-41fd-9ca9-fd24b7636ad6" xlink:to="loc_us-gaap_OtherLiabilitiesMember_eb8f34ce-2def-4e7f-91eb-aaf5a77c9191" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeAssetAtFairValue_5c082973-35ea-424b-8eb0-f41f95bec60f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateCashFlowHedgeAssetAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_93e46c6a-9466-4d98-9ffc-27ccf07c7ddf" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeAssetAtFairValue_5c082973-35ea-424b-8eb0-f41f95bec60f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue_3946786b-85b2-4c21-a19e-284477c9733d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_93e46c6a-9466-4d98-9ffc-27ccf07c7ddf" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue_3946786b-85b2-4c21-a19e-284477c9733d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/DerivativesGainLossRecognizedonSwapAgreementsDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#DerivativesGainLossRecognizedonSwapAgreementsDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/DerivativesGainLossRecognizedonSwapAgreementsDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_b7ddbfe7-710c-4bcc-b602-7b76664da495" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_c7d43eee-55de-4548-b4be-6418ea45a716" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_b7ddbfe7-710c-4bcc-b602-7b76664da495" xlink:to="loc_us-gaap_DerivativeTable_c7d43eee-55de-4548-b4be-6418ea45a716" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_2cc690a0-b004-4a2d-b1d0-46d85b7d6788" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_c7d43eee-55de-4548-b4be-6418ea45a716" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_2cc690a0-b004-4a2d-b1d0-46d85b7d6788" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2cc690a0-b004-4a2d-b1d0-46d85b7d6788_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2cc690a0-b004-4a2d-b1d0-46d85b7d6788" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2cc690a0-b004-4a2d-b1d0-46d85b7d6788_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_3592d68c-3f5a-4a6e-9c78-e514db30fb79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2cc690a0-b004-4a2d-b1d0-46d85b7d6788" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_3592d68c-3f5a-4a6e-9c78-e514db30fb79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_c7ffb6c8-ae10-431b-ae71-1f6d4d7c9847" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_3592d68c-3f5a-4a6e-9c78-e514db30fb79" xlink:to="loc_us-gaap_InterestRateSwapMember_c7ffb6c8-ae10-431b-ae71-1f6d4d7c9847" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_c60870b8-82b8-4a45-8da2-3bdfe3a32fac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_b7ddbfe7-710c-4bcc-b602-7b76664da495" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax_c60870b8-82b8-4a45-8da2-3bdfe3a32fac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_c5c97ca3-7e1e-4d0c-8f73-864285056d74" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_b7ddbfe7-710c-4bcc-b602-7b76664da495" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_c5c97ca3-7e1e-4d0c-8f73-864285056d74" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/StockholdersEquityDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#StockholdersEquityDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/StockholdersEquityDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_d569c313-fe26-4d8f-8474-317a2a60a1a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_d569c313-fe26-4d8f-8474-317a2a60a1a4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_a8570c97-899c-48e8-a691-da242c5ca27d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_d569c313-fe26-4d8f-8474-317a2a60a1a4" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_a8570c97-899c-48e8-a691-da242c5ca27d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_a8570c97-899c-48e8-a691-da242c5ca27d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_a8570c97-899c-48e8-a691-da242c5ca27d" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_a8570c97-899c-48e8-a691-da242c5ca27d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ab67f8ce-62fa-40d0-b620-09b7813f7457" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_a8570c97-899c-48e8-a691-da242c5ca27d" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ab67f8ce-62fa-40d0-b620-09b7813f7457" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AtTheMarketEquityDistributionAgreementMember_b33e8dd6-d9c3-474b-8199-40b794a6d617" xlink:href="exr-20240630.xsd#exr_AtTheMarketEquityDistributionAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ab67f8ce-62fa-40d0-b620-09b7813f7457" xlink:to="loc_exr_AtTheMarketEquityDistributionAgreementMember_b33e8dd6-d9c3-474b-8199-40b794a6d617" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AggregateOfferingPriceOfCommonShare_f1636698-a70a-439a-aebf-d7328f63a3d8" xlink:href="exr-20240630.xsd#exr_AggregateOfferingPriceOfCommonShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_exr_AggregateOfferingPriceOfCommonShare_f1636698-a70a-439a-aebf-d7328f63a3d8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NumberOfSalesAgents_bb203ddf-4bd4-4046-91d2-3081c87fb142" xlink:href="exr-20240630.xsd#exr_NumberOfSalesAgents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_exr_NumberOfSalesAgents_bb203ddf-4bd4-4046-91d2-3081c87fb142" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_e48c3c40-954a-419e-9d1a-27f24f5c77f8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_e48c3c40-954a-419e-9d1a-27f24f5c77f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StockRepurchaseProgramAuthorizedAmount1_738c42f5-90f8-47a6-873b-2d4fdd1499c4" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_srt_StockRepurchaseProgramAuthorizedAmount1_738c42f5-90f8-47a6-873b-2d4fdd1499c4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_acdb120b-e50e-4e02-940c-79dfe712b001" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockRepurchasedDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_acdb120b-e50e-4e02-940c-79dfe712b001" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_cd9d293a-c335-4109-af0b-a422e24a0da3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_cd9d293a-c335-4109-af0b-a422e24a0da3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_7e3bd4d9-fbde-4c74-9d0f-3a039aaaa99f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesAcquisitions_7e3bd4d9-fbde-4c74-9d0f-3a039aaaa99f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssuedPricePerShare_06527812-0ac3-4cf1-bf3a-39c79ac72565" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharesIssuedPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_us-gaap_SharesIssuedPricePerShare_06527812-0ac3-4cf1-bf3a-39c79ac72565" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_c789d567-4bfc-4d77-952e-5cd1f5f7686d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodValueAcquisitions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_f5bbfc14-40fd-4e5a-bc36-a13fe103a3c0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueAcquisitions_c789d567-4bfc-4d77-952e-5cd1f5f7686d" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsBalancesofOPUnitsDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsBalancesofOPUnitsDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsBalancesofOPUnitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_a2154e9b-f06d-4a70-85c4-fd9c83946ca7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_ee920621-491c-441a-a062-c5c4cb5fc289" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_a2154e9b-f06d-4a70-85c4-fd9c83946ca7" xlink:to="loc_us-gaap_MinorityInterestTable_ee920621-491c-441a-a062-c5c4cb5fc289" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsByNameAxis_7795fb99-123e-42f3-a856-5813429413f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_ee920621-491c-441a-a062-c5c4cb5fc289" xlink:to="loc_us-gaap_PreferredUnitsByNameAxis_7795fb99-123e-42f3-a856-5813429413f7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsClassDomain_7795fb99-123e-42f3-a856-5813429413f7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PreferredUnitsByNameAxis_7795fb99-123e-42f3-a856-5813429413f7" xlink:to="loc_us-gaap_PreferredUnitsClassDomain_7795fb99-123e-42f3-a856-5813429413f7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsClassDomain_81445a30-2396-4be9-a363-f6c010e046a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PreferredUnitsByNameAxis_7795fb99-123e-42f3-a856-5813429413f7" xlink:to="loc_us-gaap_PreferredUnitsClassDomain_81445a30-2396-4be9-a363-f6c010e046a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesBUnitsMember_90029c4d-2c25-4067-b9f1-15286ffca2da" xlink:href="exr-20240630.xsd#exr_SeriesBUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_81445a30-2396-4be9-a363-f6c010e046a3" xlink:to="loc_exr_SeriesBUnitsMember_90029c4d-2c25-4067-b9f1-15286ffca2da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesDUnitsMember_8b3aba57-ff43-415e-9a73-a5107c2bca1c" xlink:href="exr-20240630.xsd#exr_SeriesDUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_81445a30-2396-4be9-a363-f6c010e046a3" xlink:to="loc_exr_SeriesDUnitsMember_8b3aba57-ff43-415e-9a73-a5107c2bca1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestInPreferredUnitHolders_37dc4a94-a0a9-435e-a2fa-28968057ef40" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestInPreferredUnitHolders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_a2154e9b-f06d-4a70-85c4-fd9c83946ca7" xlink:to="loc_us-gaap_MinorityInterestInPreferredUnitHolders_37dc4a94-a0a9-435e-a2fa-28968057ef40" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsAdditionalInformationDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/NoncontrollingInterestRepresentedbyPreferredOperatingPartnershipUnitsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_4b0e753a-bf5e-47a0-ba9e-355720445eb6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:to="loc_us-gaap_MinorityInterestTable_4b0e753a-bf5e-47a0-ba9e-355720445eb6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsByNameAxis_1aa71d52-5787-4b80-b12d-990ccd643a11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsByNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_4b0e753a-bf5e-47a0-ba9e-355720445eb6" xlink:to="loc_us-gaap_PreferredUnitsByNameAxis_1aa71d52-5787-4b80-b12d-990ccd643a11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsClassDomain_1aa71d52-5787-4b80-b12d-990ccd643a11_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PreferredUnitsByNameAxis_1aa71d52-5787-4b80-b12d-990ccd643a11" xlink:to="loc_us-gaap_PreferredUnitsClassDomain_1aa71d52-5787-4b80-b12d-990ccd643a11_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsClassDomain_c41a5203-ab46-4524-a406-24ca24a8cf5e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PreferredUnitsByNameAxis_1aa71d52-5787-4b80-b12d-990ccd643a11" xlink:to="loc_us-gaap_PreferredUnitsClassDomain_c41a5203-ab46-4524-a406-24ca24a8cf5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesBUnitsMember_8eae4d6e-4927-4316-b976-7ea04ef727db" xlink:href="exr-20240630.xsd#exr_SeriesBUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_c41a5203-ab46-4524-a406-24ca24a8cf5e" xlink:to="loc_exr_SeriesBUnitsMember_8eae4d6e-4927-4316-b976-7ea04ef727db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesDUnitsMember_76c8558e-6ea4-4acd-bb78-8e71a75bedab" xlink:href="exr-20240630.xsd#exr_SeriesDUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_c41a5203-ab46-4524-a406-24ca24a8cf5e" xlink:to="loc_exr_SeriesDUnitsMember_76c8558e-6ea4-4acd-bb78-8e71a75bedab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesAUnitsMember_8bbde91f-6294-4159-aa53-70ec8c91a282" xlink:href="exr-20240630.xsd#exr_SeriesAUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_c41a5203-ab46-4524-a406-24ca24a8cf5e" xlink:to="loc_exr_SeriesAUnitsMember_8bbde91f-6294-4159-aa53-70ec8c91a282" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SeriesCUnitsMember_041d9079-21ca-4ed6-94c3-56d9f9542fe9" xlink:href="exr-20240630.xsd#exr_SeriesCUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredUnitsClassDomain_c41a5203-ab46-4524-a406-24ca24a8cf5e" xlink:to="loc_exr_SeriesCUnitsMember_041d9079-21ca-4ed6-94c3-56d9f9542fe9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_b50ef909-3f13-46b4-9fae-1f520d72a4ab" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_4b0e753a-bf5e-47a0-ba9e-355720445eb6" xlink:to="loc_srt_RangeAxis_b50ef909-3f13-46b4-9fae-1f520d72a4ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b50ef909-3f13-46b4-9fae-1f520d72a4ab_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_b50ef909-3f13-46b4-9fae-1f520d72a4ab" xlink:to="loc_srt_RangeMember_b50ef909-3f13-46b4-9fae-1f520d72a4ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b55c67df-ee7a-4492-944a-f778001d86d9" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_b50ef909-3f13-46b4-9fae-1f520d72a4ab" xlink:to="loc_srt_RangeMember_b55c67df-ee7a-4492-944a-f778001d86d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_028cf178-c64b-4b2b-b6e1-60b12cf607d7" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_b55c67df-ee7a-4492-944a-f778001d86d9" xlink:to="loc_srt_MinimumMember_028cf178-c64b-4b2b-b6e1-60b12cf607d7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_f6446694-6295-45eb-b8c1-b7cda1b84bc3" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_b55c67df-ee7a-4492-944a-f778001d86d9" xlink:to="loc_srt_MaximumMember_f6446694-6295-45eb-b8c1-b7cda1b84bc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsOutstanding_eff124a3-9011-4c0c-a6a8-e760117899da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:to="loc_us-gaap_PreferredUnitsOutstanding_eff124a3-9011-4c0c-a6a8-e760117899da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsLiquidationValuePerUnit_14eafb71-f168-4f9a-a88b-21e146dd5bfb" xlink:href="exr-20240630.xsd#exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsLiquidationValuePerUnit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:to="loc_exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsLiquidationValuePerUnit_14eafb71-f168-4f9a-a88b-21e146dd5bfb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsFixedLiquidationValue_9b6dddd9-7b5a-43d7-ad73-1d54e24e03a5" xlink:href="exr-20240630.xsd#exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsFixedLiquidationValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:to="loc_exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsFixedLiquidationValue_9b6dddd9-7b5a-43d7-ad73-1d54e24e03a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsAnnualRateOfReturn_d76327c4-7255-401b-bb38-e050da488440" xlink:href="exr-20240630.xsd#exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsAnnualRateOfReturn"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:to="loc_exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsAnnualRateOfReturn_d76327c4-7255-401b-bb38-e050da488440" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsFixedLiquidationValueShares_e9fd974a-d2ea-4814-b3b7-30638ea2fff0" xlink:href="exr-20240630.xsd#exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsFixedLiquidationValueShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:to="loc_exr_NoncontrollingInterestInPreferredOperatingPartnershipUnitsFixedLiquidationValueShares_e9fd974a-d2ea-4814-b3b7-30638ea2fff0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_MinorityInterestDecreaseFromRedemptionsShares_e6dcbe1f-968c-4485-849e-ae1d5badf892" xlink:href="exr-20240630.xsd#exr_MinorityInterestDecreaseFromRedemptionsShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:to="loc_exr_MinorityInterestDecreaseFromRedemptionsShares_e6dcbe1f-968c-4485-849e-ae1d5badf892" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_StockIssuedDuringPeriodSharesRedemptionOfNoncontrollingInterest_c36bae44-cfa5-4642-99d1-57298bf62d41" xlink:href="exr-20240630.xsd#exr_StockIssuedDuringPeriodSharesRedemptionOfNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_1ea4e25e-16e8-49cf-b677-bb6d950be973" xlink:to="loc_exr_StockIssuedDuringPeriodSharesRedemptionOfNoncontrollingInterest_c36bae44-cfa5-4642-99d1-57298bf62d41" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/NoncontrollingInterestinOperatingPartnershipandOtherNoncontrollingInterestsAdditionalInformationDetails" xlink:type="simple" xlink:href="exr-20240630.xsd#NoncontrollingInterestinOperatingPartnershipandOtherNoncontrollingInterestsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/NoncontrollingInterestinOperatingPartnershipandOtherNoncontrollingInterestsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestTable_482ad331-3f9d-44eb-a65f-5dbd63890a88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_us-gaap_MinorityInterestTable_482ad331-3f9d-44eb-a65f-5dbd63890a88" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_b3b76572-6af1-48c1-98ba-1c7073e49195" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_482ad331-3f9d-44eb-a65f-5dbd63890a88" xlink:to="loc_srt_OwnershipAxis_b3b76572-6af1-48c1-98ba-1c7073e49195" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_b3b76572-6af1-48c1-98ba-1c7073e49195_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_b3b76572-6af1-48c1-98ba-1c7073e49195" xlink:to="loc_srt_OwnershipDomain_b3b76572-6af1-48c1-98ba-1c7073e49195_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_2f3989d4-741d-4f74-9687-08f74905abbe" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_b3b76572-6af1-48c1-98ba-1c7073e49195" xlink:to="loc_srt_OwnershipDomain_2f3989d4-741d-4f74-9687-08f74905abbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_CommonOperatingPartnershipMember_94c70cfc-6da5-4e08-960a-af52b23f430e" xlink:href="exr-20240630.xsd#exr_CommonOperatingPartnershipMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_2f3989d4-741d-4f74-9687-08f74905abbe" xlink:to="loc_exr_CommonOperatingPartnershipMember_94c70cfc-6da5-4e08-960a-af52b23f430e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NonControllingInterestOtherMember_e4fad63c-4629-423f-9d95-0e81665eeef5" xlink:href="exr-20240630.xsd#exr_NonControllingInterestOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_2f3989d4-741d-4f74-9687-08f74905abbe" xlink:to="loc_exr_NonControllingInterestOtherMember_e4fad63c-4629-423f-9d95-0e81665eeef5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_03c38195-342c-4c7e-a878-a534c6f4f0a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_482ad331-3f9d-44eb-a65f-5dbd63890a88" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_03c38195-342c-4c7e-a878-a534c6f4f0a3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_03c38195-342c-4c7e-a878-a534c6f4f0a3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_03c38195-342c-4c7e-a878-a534c6f4f0a3" xlink:to="loc_us-gaap_EquityComponentDomain_03c38195-342c-4c7e-a878-a534c6f4f0a3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_78d80b1b-90b1-40cc-983e-7c5671ec093a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_03c38195-342c-4c7e-a878-a534c6f4f0a3" xlink:to="loc_us-gaap_EquityComponentDomain_78d80b1b-90b1-40cc-983e-7c5671ec093a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_CommonOperatingPartnershipMember_287328a8-e8df-43f5-a3c7-c2ed6e7e97b1" xlink:href="exr-20240630.xsd#exr_CommonOperatingPartnershipMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_78d80b1b-90b1-40cc-983e-7c5671ec093a" xlink:to="loc_exr_CommonOperatingPartnershipMember_287328a8-e8df-43f5-a3c7-c2ed6e7e97b1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_41b28c5b-1b49-47e6-a587-265ed08de203" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_78d80b1b-90b1-40cc-983e-7c5671ec093a" xlink:to="loc_us-gaap_CommonStockMember_41b28c5b-1b49-47e6-a587-265ed08de203" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NonControllingInterestOtherMember_c4a577e3-7519-4d01-9b40-ea83f47d843a" xlink:href="exr-20240630.xsd#exr_NonControllingInterestOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_78d80b1b-90b1-40cc-983e-7c5671ec093a" xlink:to="loc_exr_NonControllingInterestOtherMember_c4a577e3-7519-4d01-9b40-ea83f47d843a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e41da397-ee4f-4a5a-bdb9-16ef9922564d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_MinorityInterestTable_482ad331-3f9d-44eb-a65f-5dbd63890a88" xlink:to="loc_srt_RangeAxis_e41da397-ee4f-4a5a-bdb9-16ef9922564d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e41da397-ee4f-4a5a-bdb9-16ef9922564d_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_e41da397-ee4f-4a5a-bdb9-16ef9922564d" xlink:to="loc_srt_RangeMember_e41da397-ee4f-4a5a-bdb9-16ef9922564d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ed680ea2-74c3-450a-a1ea-e190c8ddca65" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_e41da397-ee4f-4a5a-bdb9-16ef9922564d" xlink:to="loc_srt_RangeMember_ed680ea2-74c3-450a-a1ea-e190c8ddca65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_8e4cfade-e1d3-42ea-8054-ff904f26eb87" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ed680ea2-74c3-450a-a1ea-e190c8ddca65" xlink:to="loc_srt_MaximumMember_8e4cfade-e1d3-42ea-8054-ff904f26eb87" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_e6d3bd72-e594-4b20-a91d-2e5c0a49253b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestOwnershipPercentageByParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByParent_e6d3bd72-e594-4b20-a91d-2e5c0a49253b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners_42eda7c2-e15a-4f08-afab-d6e3aaf7bc3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_us-gaap_MinorityInterestOwnershipPercentageByNoncontrollingOwners_42eda7c2-e15a-4f08-afab-d6e3aaf7bc3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NoteReceivableReductionOfNoncontrollingInterests_caf0c846-16bf-4b1e-88bd-4fdaff4fe9d9" xlink:href="exr-20240630.xsd#exr_NoteReceivableReductionOfNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_NoteReceivableReductionOfNoncontrollingInterests_caf0c846-16bf-4b1e-88bd-4fdaff4fe9d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NotesReceivableStatedInterestRate_6a5fcb5e-f7c3-493b-a78a-2f975bc9adbe" xlink:href="exr-20240630.xsd#exr_NotesReceivableStatedInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_NotesReceivableStatedInterestRate_6a5fcb5e-f7c3-493b-a78a-2f975bc9adbe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_AverageClosingMarketPriceMeasurementPeriod_81857056-1454-4e47-82f4-b31c4ac4407c" xlink:href="exr-20240630.xsd#exr_AverageClosingMarketPriceMeasurementPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_AverageClosingMarketPriceMeasurementPeriod_81857056-1454-4e47-82f4-b31c4ac4407c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_ShareholdersEquityUnitsConversionRatio_4d92d30a-263f-4d5f-a391-685bd0fd0625" xlink:href="exr-20240630.xsd#exr_ShareholdersEquityUnitsConversionRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_ShareholdersEquityUnitsConversionRatio_4d92d30a-263f-4d5f-a391-685bd0fd0625" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_CommonStockAverageClosingMarketPrice_d2d433f4-d4a0-46e6-8b16-f34a871e25a6" xlink:href="exr-20240630.xsd#exr_CommonStockAverageClosingMarketPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_CommonStockAverageClosingMarketPrice_d2d433f4-d4a0-46e6-8b16-f34a871e25a6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredUnitsOutstanding_70d1648e-d607-4dbf-b883-09cdbaf1d21e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredUnitsOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_us-gaap_PreferredUnitsOutstanding_70d1648e-d607-4dbf-b883-09cdbaf1d21e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_OperatingPartnershipUnitsRedemptionAmount_c73a098a-b01e-443a-96f6-a5db117b4ed8" xlink:href="exr-20240630.xsd#exr_OperatingPartnershipUnitsRedemptionAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_OperatingPartnershipUnitsRedemptionAmount_c73a098a-b01e-443a-96f6-a5db117b4ed8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_RealEstateConsolidatedJointVenturesNumber_9df431d5-48c7-4e53-8de0-15d29dd7de08" xlink:href="exr-20240630.xsd#exr_RealEstateConsolidatedJointVenturesNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_RealEstateConsolidatedJointVenturesNumber_9df431d5-48c7-4e53-8de0-15d29dd7de08" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NumberOfJointVenturesOwningOneOperatingStore_61f76001-a8f3-4f9b-a303-2a53266dd384" xlink:href="exr-20240630.xsd#exr_NumberOfJointVenturesOwningOneOperatingStore"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_NumberOfJointVenturesOwningOneOperatingStore_61f76001-a8f3-4f9b-a303-2a53266dd384" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NumberOfJointVenturesWithPropertyUnderDevelopment_f9584736-9a6e-4a2d-803e-708b3af37cb6" xlink:href="exr-20240630.xsd#exr_NumberOfJointVenturesWithPropertyUnderDevelopment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MinorityInterestLineItems_c9693fa0-d198-4539-afa2-f84c6e2c3041" xlink:to="loc_exr_NumberOfJointVenturesWithPropertyUnderDevelopment_f9584736-9a6e-4a2d-803e-708b3af37cb6" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/SegmentInformationScheduleofFinancialInformationDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#SegmentInformationScheduleofFinancialInformationDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/SegmentInformationScheduleofFinancialInformationDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8dc90103-7621-42fc-8b96-14877d803883" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8dc90103-7621-42fc-8b96-14877d803883" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_94914d97-9ef5-45a8-983e-389f9728a036" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8dc90103-7621-42fc-8b96-14877d803883" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_94914d97-9ef5-45a8-983e-389f9728a036" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_94914d97-9ef5-45a8-983e-389f9728a036_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_94914d97-9ef5-45a8-983e-389f9728a036" xlink:to="loc_us-gaap_SegmentDomain_94914d97-9ef5-45a8-983e-389f9728a036_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_c02a8d7b-d73a-44fa-ab99-d58f85370b06" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_94914d97-9ef5-45a8-983e-389f9728a036" xlink:to="loc_us-gaap_SegmentDomain_c02a8d7b-d73a-44fa-ab99-d58f85370b06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_SelfStorageOperationsMember_5a644201-e912-4d00-b186-1f2cae15a1bf" xlink:href="exr-20240630.xsd#exr_SelfStorageOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c02a8d7b-d73a-44fa-ab99-d58f85370b06" xlink:to="loc_exr_SelfStorageOperationsMember_5a644201-e912-4d00-b186-1f2cae15a1bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_TenantReinsuranceMember_29ebea38-797a-40e2-9a04-d3b611f2744a" xlink:href="exr-20240630.xsd#exr_TenantReinsuranceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_c02a8d7b-d73a-44fa-ab99-d58f85370b06" xlink:to="loc_exr_TenantReinsuranceMember_29ebea38-797a-40e2-9a04-d3b611f2744a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_c8623d35-4066-4271-93d2-2c924adffb62" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8dc90103-7621-42fc-8b96-14877d803883" xlink:to="loc_srt_ConsolidationItemsAxis_c8623d35-4066-4271-93d2-2c924adffb62" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_c8623d35-4066-4271-93d2-2c924adffb62_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_c8623d35-4066-4271-93d2-2c924adffb62" xlink:to="loc_srt_ConsolidationItemsDomain_c8623d35-4066-4271-93d2-2c924adffb62_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_7402a0a6-7102-4dde-b32b-b2947da3bda8" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_c8623d35-4066-4271-93d2-2c924adffb62" xlink:to="loc_srt_ConsolidationItemsDomain_7402a0a6-7102-4dde-b32b-b2947da3bda8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_134a0b0c-9753-4b91-bf5e-325b5b73ef4e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_7402a0a6-7102-4dde-b32b-b2947da3bda8" xlink:to="loc_us-gaap_OperatingSegmentsMember_134a0b0c-9753-4b91-bf5e-325b5b73ef4e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_b6a1d4ef-751a-4201-9065-a9984783c7e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_Revenues_b6a1d4ef-751a-4201-9065-a9984783c7e9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_af4095ca-cd50-4199-ae54-b2b2a95212d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_CostsAndExpenses_af4095ca-cd50-4199-ae54-b2b2a95212d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_3fca046a-1c09-4e0b-a101-373ffda0fc7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_OperatingIncomeLoss_3fca046a-1c09-4e0b-a101-373ffda0fc7c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_a47f054d-0d42-4902-a7da-8d9e25652e6b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_a47f054d-0d42-4902-a7da-8d9e25652e6b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_8b7e9d2f-a9e6-4363-ab6b-f585cc9a6aac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_8b7e9d2f-a9e6-4363-ab6b-f585cc9a6aac" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_70ac035d-3eb8-4883-b90b-bb0ecc868c83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_70ac035d-3eb8-4883-b90b-bb0ecc868c83" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_InterestExpenseExcludingAmortizationOfDebtDiscountPremium_cf577858-b167-42b2-84dc-b07a96cbc696" xlink:href="exr-20240630.xsd#exr_InterestExpenseExcludingAmortizationOfDebtDiscountPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_exr_InterestExpenseExcludingAmortizationOfDebtDiscountPremium_cf577858-b167-42b2-84dc-b07a96cbc696" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_3c687d2b-291e-4146-93d6-9e9b082561ad" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_3c687d2b-291e-4146-93d6-9e9b082561ad" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_eca74e26-14bf-41ea-a898-829c02c9fcdb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_InvestmentIncomeInterest_eca74e26-14bf-41ea-a898-829c02c9fcdb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_c7845c1d-2813-4827-92f7-12d6e71bc07e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_c7845c1d-2813-4827-92f7-12d6e71bc07e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9df82849-a8e9-4227-8024-154c786d4fb3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_15c4c9fe-82d7-4896-b5ec-9f7e29745628" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_9df82849-a8e9-4227-8024-154c786d4fb3" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.extraspace.com/role/CommitmentsandContingenciesDetail" xlink:type="simple" xlink:href="exr-20240630.xsd#CommitmentsandContingenciesDetail"/>
  <link:definitionLink xlink:role="http://www.extraspace.com/role/CommitmentsandContingenciesDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_cc3e8df5-1e92-4a98-9974-69531d640c28" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsTable_8b2b6701-d1fd-4dbe-abfc-b5ed3c1172cc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_cc3e8df5-1e92-4a98-9974-69531d640c28" xlink:to="loc_us-gaap_OtherCommitmentsTable_8b2b6701-d1fd-4dbe-abfc-b5ed3c1172cc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsAxis_f5424c25-f0b6-4b41-a005-240f01d8ca6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_8b2b6701-d1fd-4dbe-abfc-b5ed3c1172cc" xlink:to="loc_us-gaap_OtherCommitmentsAxis_f5424c25-f0b6-4b41-a005-240f01d8ca6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_f5424c25-f0b6-4b41-a005-240f01d8ca6e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherCommitmentsAxis_f5424c25-f0b6-4b41-a005-240f01d8ca6e" xlink:to="loc_us-gaap_OtherCommitmentsDomain_f5424c25-f0b6-4b41-a005-240f01d8ca6e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitmentsDomain_cc68c57a-3f46-4159-b898-dca4cb3fd2fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitmentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherCommitmentsAxis_f5424c25-f0b6-4b41-a005-240f01d8ca6e" xlink:to="loc_us-gaap_OtherCommitmentsDomain_cc68c57a-3f46-4159-b898-dca4cb3fd2fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_CommitmentToAcquireRetailSpaceMember_97bf1867-840b-47c1-a002-dd23624e9462" xlink:href="exr-20240630.xsd#exr_CommitmentToAcquireRetailSpaceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsDomain_cc68c57a-3f46-4159-b898-dca4cb3fd2fa" xlink:to="loc_exr_CommitmentToAcquireRetailSpaceMember_97bf1867-840b-47c1-a002-dd23624e9462" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_CommitmentToAcquireRetailSpaceExpectedToCloseInCurrentFiscalYearMember_ad8e5dc7-71d3-40ae-8de4-2b99dc87b223" xlink:href="exr-20240630.xsd#exr_CommitmentToAcquireRetailSpaceExpectedToCloseInCurrentFiscalYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exr_CommitmentToAcquireRetailSpaceMember_97bf1867-840b-47c1-a002-dd23624e9462" xlink:to="loc_exr_CommitmentToAcquireRetailSpaceExpectedToCloseInCurrentFiscalYearMember_ad8e5dc7-71d3-40ae-8de4-2b99dc87b223" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exr_NumberOfRealEstatePropertiesToBeAcquired_e5058dcb-e67f-45d7-bbc4-efe35f1b730a" xlink:href="exr-20240630.xsd#exr_NumberOfRealEstatePropertiesToBeAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_cc3e8df5-1e92-4a98-9974-69531d640c28" xlink:to="loc_exr_NumberOfRealEstatePropertiesToBeAcquired_e5058dcb-e67f-45d7-bbc4-efe35f1b730a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitment_aac6fdf8-ff8d-4927-ade7-808eb53842c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_cc3e8df5-1e92-4a98-9974-69531d640c28" xlink:to="loc_us-gaap_OtherCommitment_aac6fdf8-ff8d-4927-ade7-808eb53842c3" xlink:type="arc" order="1"/>
  </link:definitionLink>
</link:linkbase>
