<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>431</ContextCount>
  <ElementCount>440</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>139</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>17</UnitCount>
  <MyReports>
    <Report instance="o-20220930.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-20220930.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-20220930.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-20220930.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-20220930.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-20220930.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-20220930.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-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Disclosure - Summary of Significant Accounting Policies and Procedures and New Accounting Standards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesandProceduresandNewAccountingStandards</Role>
      <ShortName>Summary of Significant Accounting Policies and Procedures and New Accounting Standards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Disclosure - Merger with VEREIT, Inc.</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithVEREITInc</Role>
      <ShortName>Merger with VEREIT, Inc.</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - 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>10</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - 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>11</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - 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>12</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - Term Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/TermLoans</Role>
      <ShortName>Term Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - Mortgages Payable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MortgagesPayable</Role>
      <ShortName>Mortgages Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayable</Role>
      <ShortName>Notes Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - 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>16</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - 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-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - Financial Instruments and Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurements</Role>
      <ShortName>Financial Instruments and Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - Operating Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/OperatingLeases</Role>
      <ShortName>Operating Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - 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>20</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - 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>21</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - 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>22</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - 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>23</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - 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>24</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Summary of Significant Accounting Policies and Procedures and New Accounting Standards (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesandProceduresandNewAccountingStandardsPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies and Procedures and New Accounting Standards (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesandProceduresandNewAccountingStandards</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>0000027 - Disclosure - Merger with VEREIT, Inc. (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithVEREITIncTables</Role>
      <ShortName>Merger with VEREIT, Inc. (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/MergerwithVEREITInc</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>0000028 - 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>28</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>0000029 - 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>29</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>0000030 - 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>30</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>0000031 - 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>31</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>0000032 - 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>32</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>0000033 - 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>33</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>0000034 - Disclosure - Financial Instruments and Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsTables</Role>
      <ShortName>Financial Instruments and Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurements</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>0000035 - 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>35</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>0000036 - 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>36</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>0000037 - 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>37</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>0000038 - Disclosure - Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/BasisofPresentationDetails</Role>
      <ShortName>Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/BasisofPresentation</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>0000039 - Disclosure - Summary of Significant Accounting Policies and Procedures and New Accounting Standards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesandProceduresandNewAccountingStandardsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies and Procedures and New Accounting Standards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/SummaryofSignificantAccountingPoliciesandProceduresandNewAccountingStandardsPolicies</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>0000040 - Disclosure - Merger with VEREIT, Inc. - Fair Value of Consideration (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithVEREITIncFairValueofConsiderationDetails</Role>
      <ShortName>Merger with VEREIT, Inc. - Fair Value of Consideration (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>0000041 - Disclosure - Merger with VEREIT, Inc. - Preliminary Fair Values of Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithVEREITIncPreliminaryFairValuesofAssetsAcquiredandLiabilitiesAssumedDetails</Role>
      <ShortName>Merger with VEREIT, Inc. - Preliminary Fair Values of Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>0000042 - Disclosure - Merger with VEREIT, Inc. - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithVEREITIncNarrativeDetails</Role>
      <ShortName>Merger with VEREIT, Inc. - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>0000043 - Disclosure - Merger with VEREIT, Inc. - Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/MergerwithVEREITIncProFormaInformationDetails</Role>
      <ShortName>Merger with VEREIT, Inc. - Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>0000044 - 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>44</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>0000045 - 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>45</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>0000046 - 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>46</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>0000047 - 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>47</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>0000048 - 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>48</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>0000049 - 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>49</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>0000050 - 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>50</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>0000051 - Disclosure - Investments in Real Estate - Acquisitions Footnotes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateAcquisitionsFootnotesDetails</Role>
      <ShortName>Investments in Real Estate - Acquisitions Footnotes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>0000052 - 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>52</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>0000053 - 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>53</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>0000054 - 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>54</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>0000055 - 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>55</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>0000056 - 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>56</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>0000057 - 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>57</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>0000058 - Disclosure - Investments in Real Estate - Investment in Unconsolidated Entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/InvestmentsinRealEstateInvestmentinUnconsolidatedEntitiesDetails</Role>
      <ShortName>Investments in Real Estate - Investment in Unconsolidated Entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>0000059 - 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>59</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>0000060 - 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>60</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>0000061 - 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>61</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>0000062 - 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>62</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>0000063 - 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>63</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>0000064 - 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>64</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>0000065 - 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>65</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>0000066 - 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>66</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>0000067 - Disclosure - Notes Payable - Note Repayment Narrative (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.realtyincome.com/role/NotesPayableNoteRepaymentNarrativeDetails</Role>
      <ShortName>Notes Payable - Note Repayment Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>0000068 - 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>68</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>0000069 - Disclosure - Issuances of Common Stock - Issuance of Common Stock in Underwritten Public Offering (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/IssuancesofCommonStockIssuanceofCommonStockinUnderwrittenPublicOfferingDetails</Role>
      <ShortName>Issuances of Common Stock - Issuance of Common Stock in Underwritten Public Offering (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>0000070 - 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>70</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>0000071 - 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>71</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>0000072 - 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>72</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>0000073 - 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>73</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>0000074 - Disclosure - Noncontrolling Interests - Variable Interest Entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/NoncontrollingInterestsVariableInterestEntitiesDetails</Role>
      <ShortName>Noncontrolling Interests - Variable Interest Entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>0000075 - Disclosure - Financial Instruments and Fair Value Measurements - Financial Instruments Not Carried at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsFinancialInstrumentsNotCarriedatFairValueDetails</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Financial Instruments Not Carried at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>0000076 - Disclosure - Financial Instruments and Fair Value Measurements - Items Measured at Fair Value on a Non-Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsItemsMeasuredatFairValueonaNonRecurringBasisDetails</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Items Measured at Fair Value on a Non-Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>0000077 - Disclosure - Financial Instruments and Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>0000078 - Disclosure - Financial Instruments and Fair Value Measurements - Unrealized Gain (Loss) on Derivatives in Other Comprehensive Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsUnrealizedGainLossonDerivativesinOtherComprehensiveIncomeDetails</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Unrealized Gain (Loss) on Derivatives in Other Comprehensive Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>0000079 - Disclosure - Financial Instruments and Fair Value Measurements - Unrealized Gain (Loss) on Derivatives and Amounts Reclassified (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsUnrealizedGainLossonDerivativesandAmountsReclassifiedDetails</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Unrealized Gain (Loss) on Derivatives and Amounts Reclassified (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>0000080 - Disclosure - Financial Instruments and Fair Value Measurements - Foreign Currency and Derivative Gains (Losses), Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsForeignCurrencyandDerivativeGainsLossesNetDetails</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Foreign Currency and Derivative Gains (Losses), Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>0000081 - Disclosure - Financial Instruments and Fair Value Measurements - Summary of Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/FinancialInstrumentsandFairValueMeasurementsSummaryofDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Financial Instruments and Fair Value Measurements - Summary of Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>0000082 - Disclosure - Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/OperatingLeasesDetails</Role>
      <ShortName>Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.realtyincome.com/role/OperatingLeases</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>0000083 - 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>83</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>0000084 - 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>84</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>0000085 - 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>85</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>0000086 - 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>86</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>0000087 - Disclosure - Common Stock Incentive Plan - Summary (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommonStockIncentivePlanSummaryDetails</Role>
      <ShortName>Common Stock Incentive Plan - Summary (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>0000088 - Disclosure - Common Stock Incentive Plan - Restricted Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommonStockIncentivePlanRestrictedStockDetails</Role>
      <ShortName>Common Stock Incentive Plan - Restricted Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>0000089 - Disclosure - Common Stock Incentive Plan - Performance Shares and Restricted Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommonStockIncentivePlanPerformanceSharesandRestrictedStockUnitsDetails</Role>
      <ShortName>Common Stock Incentive Plan - Performance Shares and Restricted Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>0000090 - Disclosure - Common Stock Incentive Plan - Stock Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.realtyincome.com/role/CommonStockIncentivePlanStockOptionsDetails</Role>
      <ShortName>Common Stock Incentive Plan - Stock Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>0000091 - 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>91</Position>
    </Report>
    <Report instance="o-20220930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>0000092 - 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>92</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 1 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap:DerivativeAverageRemainingMaturity1 -  o-20220930.htm 4</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="o-20220930.htm">o-20220930.htm</File>
    <File>o-093022ex311.htm</File>
    <File>o-093022ex312.htm</File>
    <File>o-093022ex32.htm</File>
    <File>o-20220930.xsd</File>
    <File>o-20220930_cal.xml</File>
    <File>o-20220930_def.xml</File>
    <File>o-20220930_lab.xml</File>
    <File>o-20220930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>o-20220930_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1132">http://fasb.org/us-gaap/2022</BaseTaxonomy>
    <BaseTaxonomy items="44">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
