<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>600</ContextCount>
  <ElementCount>459</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>190</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>19</UnitCount>
  <MyReports>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - CONSOLIDATED STATEMENTS OF INCOME AND COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CONSOLIDATEDSTATEMENTSOFINCOMEANDCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME AND COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - CONSOLIDATED STATEMENTS OF EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CONSOLIDATEDSTATEMENTSOFEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - Disclosure - Merger with Spirit Realty Capital, Inc.</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithSpiritRealtyCapitalInc</Role>
      <ShortName>Merger with Spirit Realty Capital, Inc.</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheets</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Investments in Real Estate</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstate</Role>
      <ShortName>Investments in Real Estate</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Investments in Unconsolidated Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinUnconsolidatedEntities</Role>
      <ShortName>Investments in Unconsolidated Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Investments in Loans and Financing Receivables</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinLoansandFinancingReceivables</Role>
      <ShortName>Investments in Loans and Financing Receivables</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Credit Facilities and Commercial Paper Programs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CreditFacilitiesandCommercialPaperPrograms</Role>
      <ShortName>Credit Facilities and Commercial Paper Programs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Term Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/TermLoans</Role>
      <ShortName>Term Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Mortgages Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayable</Role>
      <ShortName>Mortgages Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayable</Role>
      <ShortName>Notes Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Noncontrolling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NoncontrollingInterests</Role>
      <ShortName>Noncontrolling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Derivative Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstruments</Role>
      <ShortName>Derivative Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Lessor Operating Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/LessorOperatingLeases</Role>
      <ShortName>Lessor Operating Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Common Stock Incentive Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommonStockIncentivePlan</Role>
      <ShortName>Common Stock Incentive Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Net Income per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NetIncomeperCommonShare</Role>
      <ShortName>Net Income per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Supplemental Disclosures of Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDisclosuresofCashFlowInformation</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - Segment and Geographic Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SegmentandGeographicInformation</Role>
      <ShortName>Segment and Geographic Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952175 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9952176 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Merger with Spirit Realty Capital, Inc. (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithSpiritRealtyCapitalIncTables</Role>
      <ShortName>Merger with Spirit Realty Capital, Inc. (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/MergerwithSpiritRealtyCapitalInc</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsTables</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheets</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Investments in Real Estate (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateTables</Role>
      <ShortName>Investments in Real Estate (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/InvestmentsinRealEstate</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Investments in Unconsolidated Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinUnconsolidatedEntitiesTables</Role>
      <ShortName>Investments in Unconsolidated Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/InvestmentsinUnconsolidatedEntities</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Investments in Loans and Financing Receivables (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinLoansandFinancingReceivablesTables</Role>
      <ShortName>Investments in Loans and Financing Receivables (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/InvestmentsinLoansandFinancingReceivables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Mortgages Payable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayableTables</Role>
      <ShortName>Mortgages Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/MortgagesPayable</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Notes Payable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableTables</Role>
      <ShortName>Notes Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/NotesPayable</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Noncontrolling Interests (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NoncontrollingInterestsTables</Role>
      <ShortName>Noncontrolling Interests (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/NoncontrollingInterests</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/FairValueMeasurements</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Derivative Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsTables</Role>
      <ShortName>Derivative Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/DerivativeInstruments</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/StockholdersEquity</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Net Income per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NetIncomeperCommonShareTables</Role>
      <ShortName>Net Income per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/NetIncomeperCommonShare</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Supplemental Disclosures of Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDisclosuresofCashFlowInformationTables</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SupplementalDisclosuresofCashFlowInformation</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Segment and Geographic Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SegmentandGeographicInformationTables</Role>
      <ShortName>Segment and Geographic Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SegmentandGeographicInformation</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Summary of Significant Accounting Policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Summary of Significant Accounting Policies - Schedule of Selected Financial Data of Consolidated VIEs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesScheduleofSelectedFinancialDataofConsolidatedVIEsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Schedule of Selected Financial Data of Consolidated VIEs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Merger with Spirit Realty Capital, Inc. - Schedule of Fair Value of the Consideration Transferred on the Date of the Acquisition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithSpiritRealtyCapitalIncScheduleofFairValueoftheConsiderationTransferredontheDateoftheAcquisitionDetails</Role>
      <ShortName>Merger with Spirit Realty Capital, Inc. - Schedule of Fair Value of the Consideration Transferred on the Date of the Acquisition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Merger with Spirit Realty Capital, Inc. - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithSpiritRealtyCapitalIncNarrativeDetails</Role>
      <ShortName>Merger with Spirit Realty Capital, Inc. - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Merger with Spirit Realty Capital, Inc. - Schedule of Unaudited Pro Forma Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithSpiritRealtyCapitalIncScheduleofUnauditedProFormaFinancialInformationDetails</Role>
      <ShortName>Merger with Spirit Realty Capital, Inc. - Schedule of Unaudited Pro Forma Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Accounts Receivable, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsScheduleofAccountsReceivableNetDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Accounts Receivable, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Lease Intangible Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsScheduleofLeaseIntangibleAssetsNetDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Lease Intangible Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Other Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsScheduleofOtherAssetsNetDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Other Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Account Payable and Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsScheduleofAccountPayableandAccruedExpensesDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Account Payable and Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Lease Intangible Liabilities, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsScheduleofLeaseIntangibleLiabilitiesNetDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Lease Intangible Liabilities, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsScheduleofOtherLiabilitiesDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Schedule of Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Investments in Real Estate - Schedule of Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateScheduleofAcquisitionsDetails</Role>
      <ShortName>Investments in Real Estate - Schedule of Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Investments in Real Estate - Schedule of Allocation of Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateScheduleofAllocationofAcquisitionsDetails</Role>
      <ShortName>Investments in Real Estate - Schedule of Allocation of Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Investments in Real Estate - Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateAcquisitionsDetails</Role>
      <ShortName>Investments in Real Estate - Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Investments in Real Estate - Investments in Existing Properties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateInvestmentsinExistingPropertiesDetails</Role>
      <ShortName>Investments in Real Estate - Investments in Existing Properties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Investments in Real Estate - Properties with Existing Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstatePropertieswithExistingLeasesDetails</Role>
      <ShortName>Investments in Real Estate - Properties with Existing Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Investments in Real Estate - Schedule of Future Impact Related to Amortization of Above-Market, Below-Market and in-place Lease Intangibles (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateScheduleofFutureImpactRelatedtoAmortizationofAboveMarketBelowMarketandinplaceLeaseIntangiblesDetails</Role>
      <ShortName>Investments in Real Estate - Schedule of Future Impact Related to Amortization of Above-Market, Below-Market and in-place Lease Intangibles (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Investments in Real Estate - Schedule of Gain on Sales of Real Estate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateScheduleofGainonSalesofRealEstateDetails</Role>
      <ShortName>Investments in Real Estate - Schedule of Gain on Sales of Real Estate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Investments in Unconsolidated Entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinUnconsolidatedEntitiesDetails</Role>
      <ShortName>Investments in Unconsolidated Entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/InvestmentsinUnconsolidatedEntitiesTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Investments in Loans and Financing Receivables - Schedule of Loans Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinLoansandFinancingReceivablesScheduleofLoansReceivablesDetails</Role>
      <ShortName>Investments in Loans and Financing Receivables - Schedule of Loans Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Investments in Loans and Financing Receivables - Schedule of Financing Receivables (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinLoansandFinancingReceivablesScheduleofFinancingReceivablesDetails</Role>
      <ShortName>Investments in Loans and Financing Receivables - Schedule of Financing Receivables (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Investments in Loans and Financing Receivables - Schedule of Allowance for Credit Losses Related to Loans and Financing Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinLoansandFinancingReceivablesScheduleofAllowanceforCreditLossesRelatedtoLoansandFinancingReceivableDetails</Role>
      <ShortName>Investments in Loans and Financing Receivables - Schedule of Allowance for Credit Losses Related to Loans and Financing Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Credit Facilities and Commercial Paper Programs - RI Credit Facilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CreditFacilitiesandCommercialPaperProgramsRICreditFacilitiesDetails</Role>
      <ShortName>Credit Facilities and Commercial Paper Programs - RI Credit Facilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Credit Facilities and Commercial Paper Programs - Fund Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CreditFacilitiesandCommercialPaperProgramsFundCreditFacilityDetails</Role>
      <ShortName>Credit Facilities and Commercial Paper Programs - Fund Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Credit Facilities and Commercial Paper Programs - Commercial Paper Programs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CreditFacilitiesandCommercialPaperProgramsCommercialPaperProgramsDetails</Role>
      <ShortName>Credit Facilities and Commercial Paper Programs - Commercial Paper Programs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Term Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/TermLoansDetails</Role>
      <ShortName>Term Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/TermLoans</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Mortgages Payable - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayableNarrativeDetails</Role>
      <ShortName>Mortgages Payable - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Mortgages Payable - Schedule of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayableScheduleofDebtDetails</Role>
      <ShortName>Mortgages Payable - Schedule of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Mortgages Payable - Schedule of Maturity of Debt, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayableScheduleofMaturityofDebtNetDetails</Role>
      <ShortName>Mortgages Payable - Schedule of Maturity of Debt, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Notes Payable - Schedule of General (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableScheduleofGeneralDetails</Role>
      <ShortName>Notes Payable - Schedule of General (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Notes Payable - Schedule of Maturity of Debt, Net (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableScheduleofMaturityofDebtNetDetails</Role>
      <ShortName>Notes Payable - Schedule of Maturity of Debt, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Notes Payable - Narrative (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableNarrativeDetails</Role>
      <ShortName>Notes Payable - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Notes Payable - Schedule of Note Issuances (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableScheduleofNoteIssuancesDetails</Role>
      <ShortName>Notes Payable - Schedule of Note Issuances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Noncontrolling Interests - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NoncontrollingInterestsNarrativeDetails</Role>
      <ShortName>Noncontrolling Interests - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Noncontrolling Interests - Schedule of the Change in the Carrying Value of all Noncontrolling Interests (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NoncontrollingInterestsScheduleoftheChangeintheCarryingValueofallNoncontrollingInterestsDetails</Role>
      <ShortName>Noncontrolling Interests - Schedule of the Change in the Carrying Value of all Noncontrolling Interests (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Fair Value Measurements - Schedule of Financial Instrument Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FairValueMeasurementsScheduleofFinancialInstrumentAssetsandLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Financial Instrument Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Fair Value Measurements - Schedule of Financial Instruments Not Measured at Fair Value on our Consolidated Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FairValueMeasurementsScheduleofFinancialInstrumentsNotMeasuredatFairValueonourConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Financial Instruments Not Measured at Fair Value on our Consolidated Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Fair Value Measurements - Schedule of Items Measured at Fair Value on a Non-Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FairValueMeasurementsScheduleofItemsMeasuredatFairValueonaNonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Items Measured at Fair Value on a Non-Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - Derivative Instruments - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsNarrativeDetails</Role>
      <ShortName>Derivative Instruments - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - Derivative Instruments - Schedule of Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsScheduleofDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Instruments - Schedule of Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - Derivative Instruments - Schedule of Unrealized Gain (Loss) on Derivatives in Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsScheduleofUnrealizedGainLossonDerivativesinOtherComprehensiveIncomeDetails</Role>
      <ShortName>Derivative Instruments - Schedule of Unrealized Gain (Loss) on Derivatives in Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - Derivative Instruments - Schedule of Gain (Loss) on Derivatives Reclassified from Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsScheduleofGainLossonDerivativesReclassifiedfromAccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Derivative Instruments - Schedule of Gain (Loss) on Derivatives Reclassified from Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - Derivative Instruments - Schedule of Foreign Currency and Derivative (Loss) Gain, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsScheduleofForeignCurrencyandDerivativeLossGainNetDetails</Role>
      <ShortName>Derivative Instruments - Schedule of Foreign Currency and Derivative (Loss) Gain, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - Lessor Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/LessorOperatingLeasesDetails</Role>
      <ShortName>Lessor Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/LessorOperatingLeases</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - Stockholders' Equity - Schedule of Monthly Distributions Paid per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/StockholdersEquityScheduleofMonthlyDistributionsPaidperCommonShareDetails</Role>
      <ShortName>Stockholders' Equity - Schedule of Monthly Distributions Paid per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - Stockholders' Equity - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/StockholdersEquityNarrativeDetails</Role>
      <ShortName>Stockholders' Equity - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - Stockholders' Equity - Schedule of At-the-Market (ATM) Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/StockholdersEquityScheduleofAttheMarketATMProgramDetails</Role>
      <ShortName>Stockholders' Equity - Schedule of At-the-Market (ATM) Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - Stockholders' Equity - Schedule of Dividend Reinvestment and Stock Purchase Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/StockholdersEquityScheduleofDividendReinvestmentandStockPurchasePlanDetails</Role>
      <ShortName>Stockholders' Equity - Schedule of Dividend Reinvestment and Stock Purchase Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955575 - Disclosure - Common Stock Incentive Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommonStockIncentivePlanDetails</Role>
      <ShortName>Common Stock Incentive Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/CommonStockIncentivePlan</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955576 - Disclosure - Net Income per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NetIncomeperCommonShareDetails</Role>
      <ShortName>Net Income per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/NetIncomeperCommonShareTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955577 - Disclosure - Supplemental Disclosures of Cash Flow Information - Schedule of Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDisclosuresofCashFlowInformationScheduleofSupplementalCashFlowInformationDetails</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information - Schedule of Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955578 - Disclosure - Supplemental Disclosures of Cash Flow Information - Schedule of Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDisclosuresofCashFlowInformationScheduleofReconciliationofCashCashEquivalentsandRestrictedCashDetails</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information - Schedule of Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955579 - Disclosure - Segment and Geographic Information - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SegmentandGeographicInformationNarrativeDetails</Role>
      <ShortName>Segment and Geographic Information - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955580 - Disclosure - Segment and Geographic Information - Schedule of Income and Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SegmentandGeographicInformationScheduleofIncomeandComprehensiveIncomeDetails</Role>
      <ShortName>Segment and Geographic Information - Schedule of Income and Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955581 - Disclosure - Segment and Geographic Information - Schedule of Disaggregation of Revenue by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SegmentandGeographicInformationScheduleofDisaggregationofRevenuebySegmentDetails</Role>
      <ShortName>Segment and Geographic Information - Schedule of Disaggregation of Revenue by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955582 - Disclosure - Segment and Geographic Information - Schedule of Disaggregation of Long-Lived Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SegmentandGeographicInformationScheduleofDisaggregationofLongLivedAssetsDetails</Role>
      <ShortName>Segment and Geographic Information - Schedule of Disaggregation of Long-Lived Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9955583 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/CommitmentsandContingencies</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="o-20250630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9955584 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SubsequentEvents</ParentRole>
      <Position>102</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="o-20250630.htm">o-20250630.htm</File>
    <File>o-20250630.xsd</File>
    <File>o-20250630_cal.xml</File>
    <File>o-20250630_def.xml</File>
    <File>o-20250630_lab.xml</File>
    <File>o-20250630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>o-20250630_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1462">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="68">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
