{"cik":1494877,"taxonomy":"us-gaap","tag":"EarningsPerShareBasic","label":"Earnings Per Share, Basic","description":"The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.","entityName":"DIGITAL REALTY TRUST, INC.","units":{"USD/shares":[{"start":"2025-01-01","end":"2025-06-30","val":3.33,"accn":"0001104659-26-089296","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-07-31"},{"start":"2025-04-01","end":"2025-06-30","val":3.03,"accn":"0001104659-26-089296","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-07-31","frame":"CY2025Q2"},{"start":"2026-01-01","end":"2026-06-30","val":1.75,"accn":"0001104659-26-089296","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-07-31"},{"start":"2026-04-01","end":"2026-06-30","val":1.25,"accn":"0001104659-26-089296","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-07-31","frame":"CY2026Q2"}]}}