<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>991</ContextCount>
  <ElementCount>816</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>247</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000005 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000010 - Statement - Consolidated Statements of Financial Condition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ConsolidatedStatementsOfFinancialCondition</Role>
      <ShortName>Consolidated Statements of Financial Condition</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000011 - Statement - Consolidated Statements of Financial Condition (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ConsolidatedStatementsOfFinancialConditionParenthetical</Role>
      <ShortName>Consolidated Statements of Financial Condition (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000020 - Statement - Consolidated Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>000030 - Statement - Consolidated Statements of Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>000040 - Statement - Consolidated Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ConsolidatedStatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>000050 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100010 - Disclosure - Organization, Consolidation and Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OrganizationConsolidationAndBasisOfPresentation</Role>
      <ShortName>Organization, Consolidation and Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100020 - Disclosure - Significant Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/SignificantEvent</Role>
      <ShortName>Significant Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100030 - Disclosure - Resticted Cash</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RestictedCash</Role>
      <ShortName>Resticted Cash</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100040 - Disclosure - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/InvestmentSecurities</Role>
      <ShortName>Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100050 - Disclosure - Pledge Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/PledgeAssets</Role>
      <ShortName>Pledge Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100060 - Disclosure - Loans Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivable</Role>
      <ShortName>Loans Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Allowance for Loan and Lease Losses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AllowanceForLoanAndLeaseLosses</Role>
      <ShortName>Allowance for Loan and Lease Losses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100080 - Disclosure - FDIC Indemnification Asset and True-up Payment Obligation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FDICIndemnificationAssetAndTrueupPaymentObligation</Role>
      <ShortName>FDIC Indemnification Asset and True-up Payment Obligation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Foreclosed Real Estate</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ForeclosedRealEstate</Role>
      <ShortName>Foreclosed Real Estate</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Premises and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/PremisesAndEquipment</Role>
      <ShortName>Premises and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Servicing Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ServicingAssets</Role>
      <ShortName>Servicing Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Derivative Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DerivativeActivities</Role>
      <ShortName>Derivative Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Accrued Interest Receivable and Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccruedInterestReceivableAndOtherAssets</Role>
      <ShortName>Accrued Interest Receivable and Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Deposits and Related Interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DepositsAndRelatedInterest</Role>
      <ShortName>Deposits and Related Interest</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/Borrowings</Role>
      <ShortName>Borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Offset of Assets/Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OffsetOfAssetsLiabilities</Role>
      <ShortName>Offset of Assets/Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Regulatory Capital Requirements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RegulatoryCapitalRequirements</Role>
      <ShortName>Regulatory Capital Requirements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Equity-Based Compensation Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EquityBasedCompensationPlan</Role>
      <ShortName>Equity-Based Compensation Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Accumulated Other Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncome</Role>
      <ShortName>Accumulated Other Comprehensive Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Earnings Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EarningsPerCommonShare</Role>
      <ShortName>Earnings Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Guarantees</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/Guarantees</Role>
      <ShortName>Guarantees</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FairValue</Role>
      <ShortName>Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Business Segment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BusinessSegment</Role>
      <ShortName>Business Segment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Holding Company Financial Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/HoldingCompanyFinancialInformation</Role>
      <ShortName>Holding Company Financial Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>200100 - Disclosure - Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccountingPoliciesPolicies</Role>
      <ShortName>Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>300020 - Disclosure - Restricted Cash (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DisclosureRestrictedCashTables</Role>
      <ShortName>Restricted Cash (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>300030 - Disclosure - Investments Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/InvestmentsSecuritiesTables</Role>
      <ShortName>Investments Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>300040 - Disclosure - Pledge Assets (Table)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/PledgeAssetsTable</Role>
      <ShortName>Pledge Assets (Table)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/PledgeAssets</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>300050 - Disclosure - Loans Receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableTables</Role>
      <ShortName>Loans Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivable</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>300060 - Disclosure - Allowance for Loan and Lease Losses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesTables</Role>
      <ShortName>Allowance for Loan and Lease Losses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AllowanceForLoanAndLeaseLosses</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>300070 - Disclosure - FDIC Indemnification and True-up Payment Obligation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FDICIndemnificationAndTrueupPaymentObligationTables</Role>
      <ShortName>FDIC Indemnification and True-up Payment Obligation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>300080 - Statement - Foreclosed Real Estate (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ForeclosedRealEstateTables</Role>
      <ShortName>Foreclosed Real Estate (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/ForeclosedRealEstate</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>300090 - Disclosure - Premises and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/PremisesAndEquipmentTables</Role>
      <ShortName>Premises and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/PremisesAndEquipment</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>300100 - Disclosure - Servicing Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ServicingAssetsTables</Role>
      <ShortName>Servicing Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/ServicingAssets</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>300120 - Disclosure - Derivative Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DerivativeActivitiesTables</Role>
      <ShortName>Derivative Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DerivativeActivities</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>300130 - Disclosure - Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OtherAssetsTables</Role>
      <ShortName>Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>300140 - Disclosure - Deposits and Related Interest (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DepositsAndRelatedInterestTables</Role>
      <ShortName>Deposits and Related Interest (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DepositsAndRelatedInterest</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>300150 - Disclosure - Borrowings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BorrowingsTables</Role>
      <ShortName>Borrowings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/Borrowings</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>300160 - Disclosure - Offset of Assets/Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OffsetOfAssetsLiabilitiesTables</Role>
      <ShortName>Offset of Assets/Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/OffsetOfAssetsLiabilities</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>300170 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/RelatedPartyTransactions</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>300180 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/IncomeTaxes</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>300190 - Disclosure - Regulatory Capital Requirements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RegulatoryCapitalRequirementsTables</Role>
      <ShortName>Regulatory Capital Requirements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/RegulatoryCapitalRequirements</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>300200 - Disclosure - Equity-Based Compensation Plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EquityBasedCompensationPlanTables</Role>
      <ShortName>Equity-Based Compensation Plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/EquityBasedCompensationPlan</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>300210 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/StockholdersEquity</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>300220 - Disclosure - Accumulated Other Comprehensive Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncome</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>300230 - Disclosure - Earning Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EarningPerCommonShareTables</Role>
      <ShortName>Earning Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>300240 - Disclosure - Guarantees (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/GuaranteesTables</Role>
      <ShortName>Guarantees (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/Guarantees</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>300250 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>300260 - Disclosure - Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FairValueTables</Role>
      <ShortName>Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/FairValue</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>300270 - Disclosure - Business Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BusinessSegmentsTables</Role>
      <ShortName>Business Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/BusinessSegment</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>300280 - Disclosure - Holding Company Financial Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/HoldingCompanyFinancialInformationTables</Role>
      <ShortName>Holding Company Financial Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://orientalfg.com/role/HoldingCompanyFinancialInformation</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>300290 - Statement - OFG BANCORP Holding Company Financial Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OFGBANCORPHoldingCompanyFinancialInformationTables</Role>
      <ShortName>OFG BANCORP Holding Company Financial Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>400100 - Disclosure - Significant Event (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/SignificantEventNarrativeDetails</Role>
      <ShortName>Significant Event (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/SignificantEvent</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>400200 - Disclosure - Restricted Cash (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RestrictedCashNarrativeDetails</Role>
      <ShortName>Restricted Cash (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DisclosureRestrictedCashTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>400201 - Disclosure - Restricted Cash (Composition) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RestrictedCashCompositionDetails</Role>
      <ShortName>Restricted Cash (Composition) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DisclosureRestrictedCashTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>400300 - Disclosure - Investment Securities (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/InvestmentSecuritiesNarrativeDetails</Role>
      <ShortName>Investment Securities (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/InvestmentSecurities</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>400301 - Disclosure - Investment Securities (Investment securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/InvestmentSecuritiesInvestmentSecuritiesDetails</Role>
      <ShortName>Investment Securities (Investment securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/InvestmentSecurities</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>400302 - Disclosure - Investment Securities (Investment securities by contractual maturity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/InvestmentSecuritiesInvestmentSecuritiesByContractualMaturityDetails</Role>
      <ShortName>Investment Securities (Investment securities by contractual maturity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/InvestmentSecurities</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>400303 - Disclosure - Investment Securities (Gross realize gains and losses by category) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/InvestmentSecuritiesGrossRealizeGainsAndLossesByCategoryDetails</Role>
      <ShortName>Investment Securities (Gross realize gains and losses by category) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/InvestmentSecurities</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>400304 - Disclosure - Investment Securities (Gains and losses by category) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/InvestmentSecuritiesGainsAndLossesByCategoryDetails</Role>
      <ShortName>Investment Securities (Gains and losses by category) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/InvestmentSecurities</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>400305 - Disclosure - Investment Securities (Other-than-temporarily Impaired Securities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/InvestmentSecuritiesOtherthantemporarilyImpairedSecuritiesDetails</Role>
      <ShortName>Investment Securities (Other-than-temporarily Impaired Securities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/InvestmentSecurities</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>400401 - Disclosure - Pledge Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DisclosurePledgeAssetsDetails</Role>
      <ShortName>Pledge Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/PledgeAssetsTable</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>400500 - Disclosure - Loans Receivable (Narratives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableNarrativesDetails</Role>
      <ShortName>Loans Receivable (Narratives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>400501 - Disclosure - Loans Receivable (Composition of loan portfolio) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableCompositionOfLoanPortfolioDetails</Role>
      <ShortName>Loans Receivable (Composition of loan portfolio) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>400502 - Disclosure - Loans Receivable (Aging of recorded investment in gross loans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableAgingOfRecordedInvestmentInGrossLoansDetails</Role>
      <ShortName>Loans Receivable (Aging of recorded investment in gross loans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>400503 - Disclosure - Loans Receivable (BBVAPR Acquired Loan 310-30 carrying amounts) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableBBVAPRAcquiredLoan31030CarryingAmountsDetails</Role>
      <ShortName>Loans Receivable (BBVAPR Acquired Loan 310-30 carrying amounts) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>400504 - Disclosure - Loans Receivable (Accretable yield and non-accretable discount activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableAccretableYieldAndNonaccretableDiscountActivityDetails</Role>
      <ShortName>Loans Receivable (Accretable yield and non-accretable discount activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>400505 - Disclosure - Loans Receivable (Eurobank Acquired Loan carrying amounts) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableEurobankAcquiredLoanCarryingAmountsDetails</Role>
      <ShortName>Loans Receivable (Eurobank Acquired Loan carrying amounts) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>400506 - Disclosure - Loans Receivable (Accretable yield and non-accretable discount activity of acquired Eurobank loans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableAccretableYieldAndNonaccretableDiscountActivityOfAcquiredEurobankLoansDetails</Role>
      <ShortName>Loans Receivable (Accretable yield and non-accretable discount activity of acquired Eurobank loans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>400507 - Disclosure - Loans Receivable (Investment in loans on non-accrual status) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableInvestmentInLoansOnNonaccrualStatusDetails</Role>
      <ShortName>Loans Receivable (Investment in loans on non-accrual status) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>400508 - Disclosure - Loans Receivable (Recorded Investment in loans individually evaluated for impairment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableRecordedInvestmentInLoansIndividuallyEvaluatedForImpairmentDetails</Role>
      <ShortName>Loans Receivable (Recorded Investment in loans individually evaluated for impairment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>400509 - Disclosure - Loans Receivable (Interest Income Recognized in loans individually evaluated for impairment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableInterestIncomeRecognizedInLoansIndividuallyEvaluatedForImpairmentDetails</Role>
      <ShortName>Loans Receivable (Interest Income Recognized in loans individually evaluated for impairment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>400510 - Disclosure - Loans Receivable (TDR Pre/Post Modifications) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableTDRPrePostModificationsDetails</Role>
      <ShortName>Loans Receivable (TDR Pre/Post Modifications) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>400511 - Disclosure - Loans Receivable (Troubled debt restructurings, Rolling Twelve Months) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableTroubledDebtRestructuringsRollingTwelveMonthsDetails</Role>
      <ShortName>Loans Receivable (Troubled debt restructurings, Rolling Twelve Months) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>400512 - Disclosure - Loans Receivable (Credit Quality Indicator of loans) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableCreditQualityIndicatorOfLoansDetails</Role>
      <ShortName>Loans Receivable (Credit Quality Indicator of loans) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>400513 - Disclosure - Loans Receivable (Risk category of gross loans not subject to risk rating ) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/LoansReceivableRiskCategoryOfGrossLoansNotSubjectToRiskRatingDetails</Role>
      <ShortName>Loans Receivable (Risk category of gross loans not subject to risk rating ) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/LoansReceivableTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>400600 - Disclosure - Allowance for Loan and Lease Losses (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesNarrativeDetails</Role>
      <ShortName>Allowance for Loan and Lease Losses (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>400601 - Disclosure - Allowance for Loan and Lease Losses (Composition of the Company's allowance for loan and lease losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesCompositionOfTheCompanysAllowanceForLoanAndLeaseLossesDetails</Role>
      <ShortName>Allowance for Loan and Lease Losses (Composition of the Company's allowance for loan and lease losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>400602 - Disclosure - Allowance for Loan and Lease Losses (Allowance for loan and lease losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesAllowanceForLoanAndLeaseLossesDetails</Role>
      <ShortName>Allowance for Loan and Lease Losses (Allowance for loan and lease losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>400603 - Disclosure - Allowance for Loan and Lease Losses (Gross Loan and Allowance for loan and lease losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesGrossLoanAndAllowanceForLoanAndLeaseLossesDetails</Role>
      <ShortName>Allowance for Loan and Lease Losses (Gross Loan and Allowance for loan and lease losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>400604 - Disclosure - Allowance for Loan and Lease Losses (Allowance for Acquired Eurobank Loan and Lease Losses) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesAllowanceForAcquiredEurobankLoanAndLeaseLossesDetails</Role>
      <ShortName>Allowance for Loan and Lease Losses (Allowance for Acquired Eurobank Loan and Lease Losses) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AllowanceForLoanAndLeaseLossesTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>400700 - Disclosure - FDIC Indemnification Indemnification Asset and True-up Payment Obligation (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FDICIndemnificationIndemnificationAssetAndTrueupPaymentObligationNarrativeDetails</Role>
      <ShortName>FDIC Indemnification Indemnification Asset and True-up Payment Obligation (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>400701 - Disclosure - FDIC Indemnification Asset and True-up Payment Obligation (FDIC Indemnification Asset Roll Forward) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FDICIndemnificationAssetAndTrueupPaymentObligationFDICIndemnificationAssetRollForwardDetails</Role>
      <ShortName>FDIC Indemnification Asset and True-up Payment Obligation (FDIC Indemnification Asset Roll Forward) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/FDICIndemnificationAssetAndTrueupPaymentObligation</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>400702 - Disclosure - FDIC Indemnification Asset and True-up Payment Obligation (Fair value and the undiscounted amount of the true-up payment obligation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FDICIndemnificationAssetAndTrueupPaymentObligationFairValueAndTheUndiscountedAmountOfTheTrueupPaymentObligationDetails</Role>
      <ShortName>FDIC Indemnification Asset and True-up Payment Obligation (Fair value and the undiscounted amount of the true-up payment obligation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/FDICIndemnificationAssetAndTrueupPaymentObligation</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>400703 - Disclosure - FDIC Indemnification Asset and True-up Payment Obligation (FDIC Indemnification Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FDICIndemnificationAssetAndTrueupPaymentObligationFDICIndemnificationExpenseDetails</Role>
      <ShortName>FDIC Indemnification Asset and True-up Payment Obligation (FDIC Indemnification Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/FDICIndemnificationAssetAndTrueupPaymentObligation</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>400801 - Disclosure - Foreclosed Real Estate (Rollforward) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ForeclosedRealEstateRollforwardDetails</Role>
      <ShortName>Foreclosed Real Estate (Rollforward) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/ForeclosedRealEstateTables</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>400900 - Disclosure - Premises and equipment (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/PremisesAndEquipmentNarrativeDetails</Role>
      <ShortName>Premises and equipment (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>400901 - Disclosure - Premises and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/PremisesAndEquipmentDetails</Role>
      <ShortName>Premises and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/PremisesAndEquipmentTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>401000 - Disclosure - Servicing Assets (Narratives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ServicingAssetsNarrativesDetails</Role>
      <ShortName>Servicing Assets (Narratives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/ServicingAssetsTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>401001 - Disclosure - Servicing Assets (Changes in serving rights at fair value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ServicingAssetsChangesInServingRightsAtFairValueDetails</Role>
      <ShortName>Servicing Assets (Changes in serving rights at fair value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/ServicingAssetsTables</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>401002 - Disclosure - Servicing Assets (Key Economic Assumptions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ServicingAssetsKeyEconomicAssumptionsDetails</Role>
      <ShortName>Servicing Assets (Key Economic Assumptions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/ServicingAssetsTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>401003 - Disclosure - Servicing Assets (Sensitivity of current fair value of servicing assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/ServicingAssetsSensitivityOfCurrentFairValueOfServicingAssetsDetails</Role>
      <ShortName>Servicing Assets (Sensitivity of current fair value of servicing assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/ServicingAssetsTables</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>401100 - Disclosure - Derivative Activities (Narratives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DerivativeActivitiesNarrativesDetails</Role>
      <ShortName>Derivative Activities (Narratives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DerivativeActivitiesTables</ParentRole>
      <Position>104</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>401101 - Disclosure - Derivative Activities (Derivative Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DerivativeActivitiesDerivativeAssetsAndLiabilitiesDetails</Role>
      <ShortName>Derivative Activities (Derivative Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DerivativeActivitiesTables</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>401102 - Disclosure - Derivative Activities (Interest rate swap and their term) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DerivativeActivitiesInterestRateSwapAndTheirTermDetails</Role>
      <ShortName>Derivative Activities (Interest rate swap and their term) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DerivativeActivitiesTables</ParentRole>
      <Position>106</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>401103 - Disclosure - Derivative Activities (Interest rate swap not designated as hedging instruments and their term) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DerivativeActivitiesInterestRateSwapNotDesignatedAsHedgingInstrumentsAndTheirTermDetails</Role>
      <ShortName>Derivative Activities (Interest rate swap not designated as hedging instruments and their term) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DerivativeActivitiesTables</ParentRole>
      <Position>107</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>401200 - Disclosure - Accrued Interest and Other Assets (Narratives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccruedInterestAndOtherAssetsNarrativesDetails</Role>
      <ShortName>Accrued Interest and Other Assets (Narratives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>401201 - Disclosure - Accrued Interest Receivable and Other Assets (Accrued Interest)(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccruedInterestReceivableAndOtherAssetsAccruedInterestDetails</Role>
      <ShortName>Accrued Interest Receivable and Other Assets (Accrued Interest)(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AccruedInterestReceivableAndOtherAssets</ParentRole>
      <Position>109</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>401202 - Disclosure - Accrued Interest and Other Assets (Other assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccruedInterestAndOtherAssetsOtherAssetsDetails</Role>
      <ShortName>Accrued Interest and Other Assets (Other assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>401300 - Disclosure - Deposits and Related Interest (Narratives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DepositsAndRelatedInterestNarrativesDetails</Role>
      <ShortName>Deposits and Related Interest (Narratives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DepositsAndRelatedInterestTables</ParentRole>
      <Position>111</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>401301 - Disclosure - Deposits and Related Interest (Deposits by Components) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DepositsAndRelatedInterestDepositsByComponentsDetails</Role>
      <ShortName>Deposits and Related Interest (Deposits by Components) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DepositsAndRelatedInterestTables</ParentRole>
      <Position>112</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>401302 - Disclosure - Deposits and Related Interest (Interest expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DepositsAndRelatedInterestInterestExpenseDetails</Role>
      <ShortName>Deposits and Related Interest (Interest expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DepositsAndRelatedInterestTables</ParentRole>
      <Position>113</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>401303 - Disclosure - Deposits and Related Interest (Maturities of Time Deposits) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/DepositsAndRelatedInterestMaturitiesOfTimeDepositsDetails</Role>
      <ShortName>Deposits and Related Interest (Maturities of Time Deposits) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/DepositsAndRelatedInterestTables</ParentRole>
      <Position>114</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>401400 - Disclosure - Borrowings (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BorrowingsNarrativeDetails</Role>
      <ShortName>Borrowings (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/BorrowingsTables</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>401401 - Disclosure - Borrowings (Securities Sold Under Agreement to Repurchase by Counterparties) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BorrowingsSecuritiesSoldUnderAgreementToRepurchaseByCounterpartiesDetails</Role>
      <ShortName>Borrowings (Securities Sold Under Agreement to Repurchase by Counterparties) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/BorrowingsTables</ParentRole>
      <Position>116</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>401402 - Disclosure - Borrowings (Repurchase Agreements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BorrowingsRepurchaseAgreementsDetails</Role>
      <ShortName>Borrowings (Repurchase Agreements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/BorrowingsTables</ParentRole>
      <Position>117</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>401403 - Disclosure - Borrowings (Repurchase Transaction Liability and Market Value of its Underlying Collateral) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BorrowingsRepurchaseTransactionLiabilityAndMarketValueOfItsUnderlyingCollateralDetails</Role>
      <ShortName>Borrowings (Repurchase Transaction Liability and Market Value of its Underlying Collateral) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/BorrowingsTables</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>401404 - Disclosure - Borrowings (Other Significant Details) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BorrowingsOtherSignificantDetailsDetails</Role>
      <ShortName>Borrowings (Other Significant Details) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/BorrowingsTables</ParentRole>
      <Position>119</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>401405 - Disclosure - Borrowings (Advances from the Federal Home Loan Bank) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BorrowingsAdvancesFromTheFederalHomeLoanBankDetails</Role>
      <ShortName>Borrowings (Advances from the Federal Home Loan Bank) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/BorrowingsTables</ParentRole>
      <Position>120</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>401501 - Disclosure - Offsetting Arrangements (Assets Offsetting) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OffsettingArrangementsAssetsOffsettingDetails</Role>
      <ShortName>Offsetting Arrangements (Assets Offsetting) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>401502 - Disclosure - Offsetting Arrangement (Liabilities Offsetting) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OffsettingArrangementLiabilitiesOffsettingDetails</Role>
      <ShortName>Offsetting Arrangement (Liabilities Offsetting) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>122</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>401600 - Disclosure - Employee Benefit Plan (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EmployeeBenefitPlanNarrativeDetails</Role>
      <ShortName>Employee Benefit Plan (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>401701 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/RelatedPartyTransactionsTables</ParentRole>
      <Position>124</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>401800 - Disclosure - Income Taxes (Narratives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/IncomeTaxesNarrativesDetails</Role>
      <ShortName>Income Taxes (Narratives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/IncomeTaxesTables</ParentRole>
      <Position>125</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>401801 - Disclosure - Income Taxes (Components of income tax expense (benefit)) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/IncomeTaxesComponentsOfIncomeTaxExpensebenefitDetails</Role>
      <ShortName>Income Taxes (Components of income tax expense (benefit)) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/IncomeTaxesTables</ParentRole>
      <Position>126</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R127.htm</HtmlFileName>
      <LongName>401802 - Disclosure - Income taxes (Effective Income Tax Rate Reconciliation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income taxes (Effective Income Tax Rate Reconciliation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>127</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R128.htm</HtmlFileName>
      <LongName>401803 - Disclosure - Income Tax (Reconciliation of unrecognized tax benefits) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/IncomeTaxReconciliationOfUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Tax (Reconciliation of unrecognized tax benefits) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/IncomeTaxesTables</ParentRole>
      <Position>128</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R129.htm</HtmlFileName>
      <LongName>401804 - Disclosure - Income Taxes (Components of Deferred Tax Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/IncomeTaxesComponentsOfDeferredTaxAssetsDetails</Role>
      <ShortName>Income Taxes (Components of Deferred Tax Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/IncomeTaxesTables</ParentRole>
      <Position>129</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R130.htm</HtmlFileName>
      <LongName>401901 - Disclosure - Regulatory Capital Requirements (Group's and the Bank's actual capital amounts and ratios) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/RegulatoryCapitalRequirementsGroupsAndTheBanksActualCapitalAmountsAndRatiosDetails</Role>
      <ShortName>Regulatory Capital Requirements (Group's and the Bank's actual capital amounts and ratios) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/RegulatoryCapitalRequirementsTables</ParentRole>
      <Position>130</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R131.htm</HtmlFileName>
      <LongName>402000 - Disclosure - Equity-based Compensation Plan (Narratives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EquitybasedCompensationPlanNarrativesDetails</Role>
      <ShortName>Equity-based Compensation Plan (Narratives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>131</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R132.htm</HtmlFileName>
      <LongName>402001 - Disclosure - Equity-based compensation Plan (Equity-Based Compensation Plan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EquitybasedCompensationPlanEquityBasedCompensationPlanDetails</Role>
      <ShortName>Equity-based compensation Plan (Equity-Based Compensation Plan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>132</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R133.htm</HtmlFileName>
      <LongName>402002 - Disclosure - Equity-Based Compensation (Summary of the range of exercise prices and the weighted average remaining contractual life of the options) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EquityBasedCompensationSummaryOfTheRangeOfExercisePricesAndTheWeightedAverageRemainingContractualLifeOfTheOptionsDetails</Role>
      <ShortName>Equity-Based Compensation (Summary of the range of exercise prices and the weighted average remaining contractual life of the options) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/EquityBasedCompensationPlanTables</ParentRole>
      <Position>133</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R134.htm</HtmlFileName>
      <LongName>402003 - Disclosure - Equity-based Compensation Plan (Assumptions used in estimating fair value of the options granted) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EquitybasedCompensationPlanAssumptionsUsedInEstimatingFairValueOfTheOptionsGrantedDetails</Role>
      <ShortName>Equity-based Compensation Plan (Assumptions used in estimating fair value of the options granted) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>134</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R135.htm</HtmlFileName>
      <LongName>402004 - Disclosure - Equity-based Compensation Plan (Summary of the restricted units' activity under the Omnibus Plan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EquitybasedCompensationPlanSummaryOfTheRestrictedUnitsActivityUnderTheOmnibusPlanDetails</Role>
      <ShortName>Equity-based Compensation Plan (Summary of the restricted units' activity under the Omnibus Plan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>135</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R136.htm</HtmlFileName>
      <LongName>402100 - Disclosure - Stockholders' Equity (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/StockholdersEquityNarrativeDetails</Role>
      <ShortName>Stockholders' Equity (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/StockholdersEquityTables</ParentRole>
      <Position>136</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R137.htm</HtmlFileName>
      <LongName>402101 - Disclosure - Stockholders' Equity (Shares repurchased under the stock repurchase program) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/StockholdersEquitySharesRepurchasedUnderTheStockRepurchaseProgramDetails</Role>
      <ShortName>Stockholders' Equity (Shares repurchased under the stock repurchase program) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/StockholdersEquityTables</ParentRole>
      <Position>137</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R138.htm</HtmlFileName>
      <LongName>402102 - Disclosure - Stockholders' Equity (Common shares held in treasury, activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/StockholdersEquityCommonSharesHeldInTreasuryActivityDetails</Role>
      <ShortName>Stockholders' Equity (Common shares held in treasury, activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/StockholdersEquityTables</ParentRole>
      <Position>138</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R139.htm</HtmlFileName>
      <LongName>402201 - Disclosure - Accumulated Other Comprehensive Income (Accumulated Comprehensive Income, net of income tax) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncomeAccumulatedComprehensiveIncomeNetOfIncomeTaxDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Accumulated Comprehensive Income, net of income tax) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncomeTables</ParentRole>
      <Position>139</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R140.htm</HtmlFileName>
      <LongName>402202 - Disclosure - Accumulated Other Comprehensive Income (Changes in Other Comprehensive Income by Components) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncomeChangesInOtherComprehensiveIncomeByComponentsDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Changes in Other Comprehensive Income by Components) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncomeTables</ParentRole>
      <Position>140</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R141.htm</HtmlFileName>
      <LongName>402203 - Disclosure - Accumulated Other Comprehensive Income (Reclassifications out of other comprehensive income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncomeReclassificationsOutOfOtherComprehensiveIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Reclassifications out of other comprehensive income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/AccumulatedOtherComprehensiveIncomeTables</ParentRole>
      <Position>141</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R142.htm</HtmlFileName>
      <LongName>402300 - Disclosure - Earnings Per Common Share (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EarningsPerCommonShareNarrativeDetails</Role>
      <ShortName>Earnings Per Common Share (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/EarningsPerCommonShare</ParentRole>
      <Position>142</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R143.htm</HtmlFileName>
      <LongName>402301 - Disclosure - Earnings Per Common Share (Earnings per common share) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/EarningsPerCommonShareEarningsPerCommonShareDetails</Role>
      <ShortName>Earnings Per Common Share (Earnings per common share) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/EarningsPerCommonShare</ParentRole>
      <Position>143</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R144.htm</HtmlFileName>
      <LongName>402400 - Disclosure - Guarantees (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/GuaranteesNarrativeDetails</Role>
      <ShortName>Guarantees (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/GuaranteesTables</ParentRole>
      <Position>144</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R145.htm</HtmlFileName>
      <LongName>402401 - Disclosure - Guarantees (Changes in liabilty of estimated loss from credit recourse agreement) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/GuaranteesChangesInLiabiltyOfEstimatedLossFromCreditRecourseAgreementDetails</Role>
      <ShortName>Guarantees (Changes in liabilty of estimated loss from credit recourse agreement) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/GuaranteesTables</ParentRole>
      <Position>145</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R146.htm</HtmlFileName>
      <LongName>402500 - Disclosure - Commitments (Narratives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/CommitmentsNarrativesDetails</Role>
      <ShortName>Commitments (Narratives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>146</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R147.htm</HtmlFileName>
      <LongName>402501 - Disclosure - Commitments (Summarized credit-related financial instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/CommitmentsSummarizedCreditrelatedFinancialInstrumentsDetails</Role>
      <ShortName>Commitments (Summarized credit-related financial instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>147</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R148.htm</HtmlFileName>
      <LongName>402502 - Disclosure - Commitments (Future rental commitments under leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/CommitmentsFutureRentalCommitmentsUnderLeasesDetails</Role>
      <ShortName>Commitments (Future rental commitments under leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>148</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R149.htm</HtmlFileName>
      <LongName>402601 - Disclosure - Fair Value (Assets and liabilities on recurring and non-recurring basis) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FairValueAssetsAndLiabilitiesOnRecurringAndNonrecurringBasisDetails</Role>
      <ShortName>Fair Value (Assets and liabilities on recurring and non-recurring basis) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/FairValueTables</ParentRole>
      <Position>149</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R150.htm</HtmlFileName>
      <LongName>402602 - Disclosure - Fair Value (Reconciliation of assets and liabilities using significant unobservable inputs (Level 3)) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FairValueReconciliationOfAssetsAndLiabilitiesUsingSignificantUnobservableInputsLevel3Details</Role>
      <ShortName>Fair Value (Reconciliation of assets and liabilities using significant unobservable inputs (Level 3)) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/FairValueTables</ParentRole>
      <Position>150</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R151.htm</HtmlFileName>
      <LongName>402603 - Disclosure - Fair Value (Qualitative information for assets and liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FairValueQualitativeInformationForAssetsAndLiabilitiesDetails</Role>
      <ShortName>Fair Value (Qualitative information for assets and liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/FairValueTables</ParentRole>
      <Position>151</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R152.htm</HtmlFileName>
      <LongName>402605 - Disclosure - Fair value (Estimated fair value and carrying value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/FairValueEstimatedFairValueAndCarryingValueDetails</Role>
      <ShortName>Fair value (Estimated fair value and carrying value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>152</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R153.htm</HtmlFileName>
      <LongName>402701 - Disclosure - Business Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/BusinessSegmentsDetails</Role>
      <ShortName>Business Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://orientalfg.com/role/BusinessSegmentsTables</ParentRole>
      <Position>153</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R154.htm</HtmlFileName>
      <LongName>402810 - Disclosure - OFG Bancorp Holding Company Only Financial Information (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OFGBancorpHoldingCompanyOnlyFinancialInformationNarrativeDetails</Role>
      <ShortName>OFG Bancorp Holding Company Only Financial Information (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>154</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R155.htm</HtmlFileName>
      <LongName>402820 - Statement - OFG Bancorp Holding Company Only Financial Information (Balance Sheet) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OFGBancorpHoldingCompanyOnlyFinancialInformationBalanceSheetDetails</Role>
      <ShortName>OFG Bancorp Holding Company Only Financial Information (Balance Sheet) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>155</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R156.htm</HtmlFileName>
      <LongName>402830 - Statement - OFG BANCORP Holding Company Only Financial Information (Statement of Operations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OFGBANCORPHoldingCompanyOnlyFinancialInformationStatementOfOperationsDetails</Role>
      <ShortName>OFG BANCORP Holding Company Only Financial Information (Statement of Operations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>156</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R157.htm</HtmlFileName>
      <LongName>402840 - Statement - OFG BANCORP Holding Company Only Financial Information (Statement of Comprehensive Income) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OFGBANCORPHoldingCompanyOnlyFinancialInformationStatementOfComprehensiveIncomeDetails</Role>
      <ShortName>OFG BANCORP Holding Company Only Financial Information (Statement of Comprehensive Income) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>157</Position>
    </Report>
    <Report instance="ofg-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R158.htm</HtmlFileName>
      <LongName>402850 - Statement - OFG BANCORP Holding Company Only Financial Information (Statement of Cash Flows) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://orientalfg.com/role/OFGBANCORPHoldingCompanyOnlyFinancialInformationStatementOfCashFlowsDetails</Role>
      <ShortName>OFG BANCORP Holding Company Only Financial Information (Statement of Cash Flows) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>158</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>ofg-20171231.xml</File>
    <File>ofg-20171231.xsd</File>
    <File>ofg-20171231_cal.xml</File>
    <File>ofg-20171231_def.xml</File>
    <File>ofg-20171231_lab.xml</File>
    <File>ofg-20171231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2016-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
