<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>409</ContextCount>
  <ElementCount>395</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>142</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>15</UnitCount>
  <MyReports>
    <Report instance="o-20230930.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-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - 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-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - 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-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - 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-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - 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-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - 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-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/BasisofPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - 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>8</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - 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>9</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - Revolving Credit Facility and Commercial Paper Programs</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/RevolvingCreditFacilityandCommercialPaperPrograms</Role>
      <ShortName>Revolving Credit Facility and Commercial Paper Programs</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - Term Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/TermLoans</Role>
      <ShortName>Term Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - Mortgages Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayable</Role>
      <ShortName>Mortgages Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayable</Role>
      <ShortName>Notes Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Issuances of Common Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/IssuancesofCommonStock</Role>
      <ShortName>Issuances of Common Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Noncontrolling Interests</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NoncontrollingInterests</Role>
      <ShortName>Noncontrolling Interests</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - 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>16</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - Derivative Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstruments</Role>
      <ShortName>Derivative Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - 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>18</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Distributions Paid and Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DistributionsPaidandPayable</Role>
      <ShortName>Distributions Paid and Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - 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>20</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - 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>21</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - 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-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - 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>23</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/BasisofPresentationPolicies</Role>
      <ShortName>Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9954472 - Disclosure - Basis of Presentation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/BasisofPresentationTables</Role>
      <ShortName>Basis of Presentation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/BasisofPresentation</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9954473 - 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>29</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9954474 - 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>30</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9954475 - 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>31</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954476 - 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>32</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - Issuances of Common Stock (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/IssuancesofCommonStockTables</Role>
      <ShortName>Issuances of Common Stock (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/IssuancesofCommonStock</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954478 - 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>34</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954479 - 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>35</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954480 - 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>36</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954481 - Disclosure - Distributions Paid and Payable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DistributionsPaidandPayableTables</Role>
      <ShortName>Distributions Paid and Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/DistributionsPaidandPayable</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954482 - 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>38</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954483 - 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>39</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - Basis of Presentation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/BasisofPresentationAdditionalInformationDetails</Role>
      <ShortName>Basis of Presentation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954485 - Disclosure - Basis of Presentation - Variable Interest Entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/BasisofPresentationVariableInterestEntitiesDetails</Role>
      <ShortName>Basis of Presentation - Variable Interest Entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954486 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Accounts Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsAccountsReceivableDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Accounts Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954487 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Lease Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsLeaseIntangibleAssetsDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Lease Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954488 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsOtherAssetsDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954489 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Accounts Payable and Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsAccountsPayableandAccruedExpensesDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Accounts Payable and Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954490 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Lease Intangible Liabilities, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsLeaseIntangibleLiabilitiesNetDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Lease Intangible Liabilities, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954491 - Disclosure - Supplemental Detail for Certain Components of Consolidated Balance Sheets - Other Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDetailforCertainComponentsofConsolidatedBalanceSheetsOtherLiabilitiesDetails</Role>
      <ShortName>Supplemental Detail for Certain Components of Consolidated Balance Sheets - Other Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954492 - 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>48</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - Investments in Real Estate - Acquisitions Allocation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateAcquisitionsAllocationDetails</Role>
      <ShortName>Investments in Real Estate - Acquisitions Allocation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - Investments in Real Estate - Acquisitions Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateAcquisitionsNarrativeDetails</Role>
      <ShortName>Investments in Real Estate - Acquisitions Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - Investments in Real Estate - Investments in Existing Properties Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateInvestmentsinExistingPropertiesNarrativeDetails</Role>
      <ShortName>Investments in Real Estate - Investments in Existing Properties Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - Investments in Real Estate - Properties with Existing Leases Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstatePropertieswithExistingLeasesNarrativeDetails</Role>
      <ShortName>Investments in Real Estate - Properties with Existing Leases Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - Investments in Real Estate - Estimated Impact of Amortization of Lease Intangibles (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateEstimatedImpactofAmortizationofLeaseIntangiblesDetails</Role>
      <ShortName>Investments in Real Estate - Estimated Impact of Amortization of Lease Intangibles (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - Investments in Real Estate- Gain on Sales of Real Estate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateGainonSalesofRealEstateDetails</Role>
      <ShortName>Investments in Real Estate- Gain on Sales of Real Estate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - Revolving Credit Facility and Commercial Paper Programs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/RevolvingCreditFacilityandCommercialPaperProgramsDetails</Role>
      <ShortName>Revolving Credit Facility and Commercial Paper Programs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/RevolvingCreditFacilityandCommercialPaperPrograms</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954500 - 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>56</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954501 - 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>57</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - Mortgages Payable - Summary of Mortgages Payable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayableSummaryofMortgagesPayableDetails</Role>
      <ShortName>Mortgages Payable - Summary of Mortgages Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - Mortgages Payable - Summary of Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayableSummaryofMaturitiesDetails</Role>
      <ShortName>Mortgages Payable - Summary of Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954504 - Disclosure - Notes Payable - General (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableGeneralDetails</Role>
      <ShortName>Notes Payable - General (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954505 - Disclosure - Notes Payable - Maturities (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableMaturitiesDetails</Role>
      <ShortName>Notes Payable - Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9954506 - 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>62</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9954507 - Disclosure - Notes Payable - Note Issuances (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableNoteIssuancesDetails</Role>
      <ShortName>Notes Payable - Note Issuances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9954508 - Disclosure - Issuances of Common Stock - At-the-Market (ATM) Program - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/IssuancesofCommonStockAttheMarketATMProgramAdditionalinformationDetails</Role>
      <ShortName>Issuances of Common Stock - At-the-Market (ATM) Program - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9954509 - Disclosure - Issuances of Common Stock - At-the-Market (ATM) Program (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/IssuancesofCommonStockAttheMarketATMProgramDetails</Role>
      <ShortName>Issuances of Common Stock - At-the-Market (ATM) Program (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9954510 - Disclosure - Issuances of Common Stock - Dividend Reinvestment and Stock Purchase Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/IssuancesofCommonStockDividendReinvestmentandStockPurchasePlanDetails</Role>
      <ShortName>Issuances of Common Stock - Dividend Reinvestment and Stock Purchase Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9954511 - 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>67</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9954512 - Disclosure - Noncontrolling Interests - Change in Carrying Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NoncontrollingInterestsChangeinCarryingValueDetails</Role>
      <ShortName>Noncontrolling Interests - Change in Carrying Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9954513 - Disclosure - Fair Value Measurements - Financial Instrument Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FairValueMeasurementsFinancialInstrumentAssetsandLiabilitiesDetails</Role>
      <ShortName>Fair Value Measurements - Financial Instrument Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9954514 - Disclosure - Fair Value Measurements - Financial Instruments Not Carried at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FairValueMeasurementsFinancialInstrumentsNotCarriedatFairValueDetails</Role>
      <ShortName>Fair Value Measurements - Financial Instruments Not Carried at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9954515 - Disclosure - Fair Value Measurements - Items Measured at Fair Value on a Non-Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FairValueMeasurementsItemsMeasuredatFairValueonaNonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Items Measured at Fair Value on a Non-Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9954516 - Disclosure - Derivative Instruments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Derivative Instruments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9954517 - Disclosure - Derivative Instruments - Summary of Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsSummaryofDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Instruments - Summary of Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9954518 - Disclosure - Derivative Instruments - Unrealized Gain (Loss) on Derivatives in Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsUnrealizedGainLossonDerivativesinOtherComprehensiveIncomeDetails</Role>
      <ShortName>Derivative Instruments - Unrealized Gain (Loss) on Derivatives in Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9954519 - Disclosure - Derivative Instruments - Unrealized Gain (Loss) on Derivatives and Amounts Reclassified (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsUnrealizedGainLossonDerivativesandAmountsReclassifiedDetails</Role>
      <ShortName>Derivative Instruments - Unrealized Gain (Loss) on Derivatives and Amounts Reclassified (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9954520 - Disclosure - Derivative Instruments - Foreign Currency and Derivative Gain (Loss), Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DerivativeInstrumentsForeignCurrencyandDerivativeGainLossNetDetails</Role>
      <ShortName>Derivative Instruments - Foreign Currency and Derivative Gain (Loss), Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9954521 - 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>77</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9954522 - Disclosure - Distributions Paid and Payable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/DistributionsPaidandPayableDetails</Role>
      <ShortName>Distributions Paid and Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/DistributionsPaidandPayableTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9954523 - 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>79</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9954524 - Disclosure - Supplemental Disclosures of Cash Flow Information - Summary (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDisclosuresofCashFlowInformationSummaryDetails</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information - Summary (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SupplementalDisclosuresofCashFlowInformationTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9954525 - Disclosure - Supplemental Disclosures of Cash Flow Information - Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SupplementalDisclosuresofCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails</Role>
      <ShortName>Supplemental Disclosures of Cash Flow Information - Reconciliation of Cash, Cash Equivalents, and Restricted Cash (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9954526 - Disclosure - Common Stock Incentive Plan - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommonStockIncentivePlanAdditionalInformationDetails</Role>
      <ShortName>Common Stock Incentive Plan - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9954527 - Disclosure - Commitments and Contingencies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommitmentsandContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="o-20230930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9954528 - 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>84</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-20230930.htm">o-20230930.htm</File>
    <File>o-20230930.xsd</File>
    <File>o-20230930_cal.xml</File>
    <File>o-20230930_def.xml</File>
    <File>o-20230930_lab.xml</File>
    <File>o-20230930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>o-20230930_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1130">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="50">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
