<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2019-01-31"
  xmlns:dlr="http://www.digitalrealty.com/20191029"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2019-01-31"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dlr-20191029.xsd" xlink:type="simple"/>
    <context id="D2019Q4SD">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001297996</identifier>
        </entity>
        <period>
            <startDate>2019-10-29</startDate>
            <endDate>2019-10-29</endDate>
        </period>
    </context>
    <context id="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_CommonStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001297996</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-10-29</startDate>
            <endDate>2019-10-29</endDate>
        </period>
    </context>
    <context id="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesKPreferredStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001297996</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">dlr:SeriesKPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-10-29</startDate>
            <endDate>2019-10-29</endDate>
        </period>
    </context>
    <context id="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesLPreferredStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001297996</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">dlr:SeriesLPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-10-29</startDate>
            <endDate>2019-10-29</endDate>
        </period>
    </context>
    <context id="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesCPreferredStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001297996</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:SeriesCPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-10-29</startDate>
            <endDate>2019-10-29</endDate>
        </period>
    </context>
    <context id="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesIPreferredStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001297996</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">dlr:SeriesIPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-10-29</startDate>
            <endDate>2019-10-29</endDate>
        </period>
    </context>
    <context id="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesJPreferredStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001297996</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">dlr:SeriesJPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-10-29</startDate>
            <endDate>2019-10-29</endDate>
        </period>
    </context>
    <context id="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesGPreferredStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001297996</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:SeriesGPreferredStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-10-29</startDate>
            <endDate>2019-10-29</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="D2019Q4SD"
      id="Fact-A3D372C3C29A567C9841131629A1E76D-wk-Fact-A3D372C3C29A567C9841131629A1E76D">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="D2019Q4SD"
      id="Fact-C3FEC113609758648F89D02495DA484E-wk-Fact-C3FEC113609758648F89D02495DA484E">0001297996</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="D2019Q4SD"
      id="d101823955e72-wk-Fact-BF78E5E747525AD1A0C27C7BF4B3D72F">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="D2019Q4SD"
      id="d101823955e94-wk-Fact-2C2C2041AA5754B6BF3C21E1594A5169">2019-10-29</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="D2019Q4SD"
      id="d101823955e103-wk-Fact-82E6DFA8A84F59DA997DD48E895690F2">DIGITAL REALTY TRUST, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="D2019Q4SD"
      id="d101823955e158-wk-Fact-466AB99F8ACE5E7DB08AD691EC5598E0">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="D2019Q4SD"
      id="d101823955e168-wk-Fact-0A8F060437C25E2D91F3997701CD6781">001-32336</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="D2019Q4SD"
      id="d101823955e178-wk-Fact-DA36DCA79EDB5A9CBFF42BF9C6E2D751">26-0081711</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="D2019Q4SD"
      id="d101823955e234-wk-Fact-47D9FB1F443F5D15BE4135DDAC9309B1">Four Embarcadero Center, Suite 3200</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="D2019Q4SD"
      id="d101823955e260-wk-Fact-675BEDE67ECA5723BB46746C46025BEA">San Francisco</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="D2019Q4SD"
      id="d101823955e270-wk-Fact-F99EC8076C545218B88BA452A794CC8D">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="D2019Q4SD"
      id="d101823955e280-wk-Fact-E65C8CFE7C645A4492781FBC10006A3C">94111</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="D2019Q4SD"
      id="d101823955e313-wk-Fact-9F316DDFB62B5D77B9A3DA261E663D3A">415</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="D2019Q4SD"
      id="d101823955e318-wk-Fact-D4B5016AB9ED55E183CE36205E892D51">738-6500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="D2019Q4SD"
      id="d101823955e345-wk-Fact-5BBC1836D40A51629F5A4819347F1C30">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="D2019Q4SD"
      id="d101823955e364-wk-Fact-4587DA8C51B45109A2E7F8457D3B7546">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="D2019Q4SD"
      id="d101823955e383-wk-Fact-3AC83262299355EE8A23257A243F6A21">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="D2019Q4SD"
      id="d101823955e402-wk-Fact-F0FC7EB98CC151A898360D6001226940">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_CommonStockMember"
      id="d101823955e445-wk-Fact-27EA5CF3DED8580C9DF94646DD551D73">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_CommonStockMember"
      id="d101823955e450-wk-Fact-C117DC54D89252BEA050256FBA89B90B">DLR</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_CommonStockMember"
      id="d101823955e455-wk-Fact-A2F2C17893A75A139B134F46FF698B5F">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesCPreferredStockMember"
      id="d101823955e461-wk-Fact-92FD744077795BF7B1474530F08BE774">Series C Cumulative Redeemable Perpetual Preferred Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesCPreferredStockMember"
      id="d101823955e466-wk-Fact-85125E86D9AD5C4ABADAB628578532D9">DLR Pr C</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesCPreferredStockMember"
      id="d101823955e471-wk-Fact-CCB253CD9C13543C9D925EF3C1F29647">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesGPreferredStockMember"
      id="d101823955e477-wk-Fact-2CC6F3B4595255B5B0D80FCDED93E228">Series G Cumulative Redeemable Preferred Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesGPreferredStockMember"
      id="d101823955e482-wk-Fact-0A2E3A5A20E45EDA9554124BB8E40061">DLR Pr G</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_us-gaap_SeriesGPreferredStockMember"
      id="d101823955e487-wk-Fact-5D255467CC8B5122B5DE3712F0DE6101">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesIPreferredStockMember"
      id="d101823955e493-wk-Fact-94EBE0F38152563C971CCC69DCE269FA">Series I Cumulative Redeemable Preferred Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesIPreferredStockMember"
      id="d101823955e498-wk-Fact-F69A53BBE6A45C9C8B1E77E0D7C2E627">DLR Pr I</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesIPreferredStockMember"
      id="d101823955e503-wk-Fact-5FB0DD455C925568BA81CA252E82EDD3">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesJPreferredStockMember"
      id="d101823955e509-wk-Fact-4E8BD7545D7954B89CCD55EB62AAA423">Series J Cumulative Redeemable Preferred Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesJPreferredStockMember"
      id="d101823955e514-wk-Fact-9CE37C3DF81155039DCE684FFDF47A15">DLR Pr J</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesJPreferredStockMember"
      id="d101823955e519-wk-Fact-C427F0DAF30850868FAEBA181A101D08">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesKPreferredStockMember"
      id="d101823955e525-wk-Fact-48B22CD50BD25D59A26BEAFC0386B250">Series K Cumulative Redeemable Preferred Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesKPreferredStockMember"
      id="d101823955e530-wk-Fact-9CCB1F8623B25BDEAF8265721BA42B46">DLR Pr K</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesKPreferredStockMember"
      id="d101823955e535-wk-Fact-7615590FDED75FB1B898463CA6EBFB7D">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesLPreferredStockMember"
      id="d101823955e541-wk-Fact-60EC6D1C2A6E5A63B8BB9E199AEB7071">Series L Cumulative Redeemable Preferred Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesLPreferredStockMember"
      id="d101823955e546-wk-Fact-A6CB08D179AA597AAAF54CF74A869D5A">DLR Pr L</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="D2019Q4SD_us-gaap_StatementClassOfStockAxis_dlr_SeriesLPreferredStockMember"
      id="d101823955e551-wk-Fact-F6045CEC88FC55BE814BE4B57B2DC10D">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="D2019Q4SD"
      id="d101823955e593-wk-Fact-92592437E95B501DB9DAA92E5083C852">false</dei:EntityEmergingGrowthCompany>
</xbrl>
