<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>462</ContextCount>
  <ElementCount>504</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>85</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/CONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/CONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/CONSOLIDATEDSTATEMENTSOFINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS’ EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS’ EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS’ EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS’ EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BasisofPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Business Combinations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BusinessCombinations</Role>
      <ShortName>Business Combinations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Earnings/(Loss) per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/EarningsLossperShare</Role>
      <ShortName>Earnings/(Loss) per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/Securities</Role>
      <ShortName>Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Loans Receivable, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNet</Role>
      <ShortName>Loans Receivable, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Deposits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/Deposits</Role>
      <ShortName>Deposits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Borrowed Funds</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BorrowedFunds</Role>
      <ShortName>Borrowed Funds</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Derivatives and Hedging Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DerivativesandHedgingActivities</Role>
      <ShortName>Derivatives and Hedging Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Basis of Presentation (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BasisofPresentationPolicies</Role>
      <ShortName>Basis of Presentation (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Business Combinations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BusinessCombinationsTables</Role>
      <ShortName>Business Combinations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/BusinessCombinations</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Earnings/(Loss) per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/EarningsLossperShareTables</Role>
      <ShortName>Earnings/(Loss) per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/EarningsLossperShare</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/SecuritiesTables</Role>
      <ShortName>Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/Securities</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Loans Receivable, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetTables</Role>
      <ShortName>Loans Receivable, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/LoansReceivableNet</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Deposits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DepositsTables</Role>
      <ShortName>Deposits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/Deposits</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Borrowed Funds (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BorrowedFundsTables</Role>
      <ShortName>Borrowed Funds (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/BorrowedFunds</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/FairValueMeasurements</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Derivatives and Hedging Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DerivativesandHedgingActivitiesTables</Role>
      <ShortName>Derivatives and Hedging Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/DerivativesandHedgingActivities</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/Leases</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Basis of Presentation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BasisofPresentationDetails</Role>
      <ShortName>Basis of Presentation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.oceanfirstonline.com/role/BasisofPresentationPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Business Combinations - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BusinessCombinationsNarrativeDetails</Role>
      <ShortName>Business Combinations - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Business Combinations- Schedule of Estimated Fair Values of Assets Acquired and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BusinessCombinationsScheduleofEstimatedFairValuesofAssetsAcquiredandLiabilitiesDetails</Role>
      <ShortName>Business Combinations- Schedule of Estimated Fair Values of Assets Acquired and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Business Combinations - Schedule of Activity of Purchased Credit Deteriorated and Purchased Seasoned Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BusinessCombinationsScheduleofActivityofPurchasedCreditDeterioratedandPurchasedSeasonedLoansDetails</Role>
      <ShortName>Business Combinations - Schedule of Activity of Purchased Credit Deteriorated and Purchased Seasoned Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Business Combinations - Schedule of Supplemental Pro Forma Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BusinessCombinationsScheduleofSupplementalProFormaFinancialInformationDetails</Role>
      <ShortName>Business Combinations - Schedule of Supplemental Pro Forma Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Earnings/(Loss) per Share - Schedule of Reconciliation of Shares Outstanding for Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/EarningsLossperShareScheduleofReconciliationofSharesOutstandingforBasicandDilutedEarningsPerShareDetails</Role>
      <ShortName>Earnings/(Loss) per Share - Schedule of Reconciliation of Shares Outstanding for Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Earnings/(Loss) per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/EarningsLossperShareScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsPerShareDetails</Role>
      <ShortName>Earnings/(Loss) per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Securities - Schedule of Debt Securities, AFS and HTM (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/SecuritiesScheduleofDebtSecuritiesAFSandHTMDetails</Role>
      <ShortName>Securities - Schedule of Debt Securities, AFS and HTM (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Securities - Schedule of Allowance for Credit Losses for Debt Securities HTM (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/SecuritiesScheduleofAllowanceforCreditLossesforDebtSecuritiesHTMDetails</Role>
      <ShortName>Securities - Schedule of Allowance for Credit Losses for Debt Securities HTM (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Securities - Schedule of Amortized Cost of Debt Securities HTM, Aggregated by Credit Quality Indicator (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/SecuritiesScheduleofAmortizedCostofDebtSecuritiesHTMAggregatedbyCreditQualityIndicatorDetails</Role>
      <ShortName>Securities - Schedule of Amortized Cost of Debt Securities HTM, Aggregated by Credit Quality Indicator (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Securities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/SecuritiesNarrativeDetails</Role>
      <ShortName>Securities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Securities - Schedule of Amortized Cost and Estimated Fair Value of Debt Securities by Contractual Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/SecuritiesScheduleofAmortizedCostandEstimatedFairValueofDebtSecuritiesbyContractualMaturityDetails</Role>
      <ShortName>Securities - Schedule of Amortized Cost and Estimated Fair Value of Debt Securities by Contractual Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Securities - Schedule of Estimated Fair Value and Unrealized Losses for Debt Securities AFS and HTM (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/SecuritiesScheduleofEstimatedFairValueandUnrealizedLossesforDebtSecuritiesAFSandHTMDetails</Role>
      <ShortName>Securities - Schedule of Estimated Fair Value and Unrealized Losses for Debt Securities AFS and HTM (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Securities - Schedule of Realized and Unrealized Gains or Losses on Equity Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/SecuritiesScheduleofRealizedandUnrealizedGainsorLossesonEquitySecuritiesDetails</Role>
      <ShortName>Securities - Schedule of Realized and Unrealized Gains or Losses on Equity Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Loans Receivable, Net - Schedule of Loans Receivable, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetScheduleofLoansReceivableNetDetails</Role>
      <ShortName>Loans Receivable, Net - Schedule of Loans Receivable, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Loans Receivable, Net - Schedule of Total Loans by Year of Origination, Internally Assigned Credit Grades, Risk Characteristics and Gross Charge-Offs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetScheduleofTotalLoansbyYearofOriginationInternallyAssignedCreditGradesRiskCharacteristicsandGrossChargeOffsDetails</Role>
      <ShortName>Loans Receivable, Net - Schedule of Total Loans by Year of Origination, Internally Assigned Credit Grades, Risk Characteristics and Gross Charge-Offs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Loans Receivable, Net - Schedule of Analysis of Allowance for Credit Losses on Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetScheduleofAnalysisofAllowanceforCreditLossesonLoansDetails</Role>
      <ShortName>Loans Receivable, Net - Schedule of Analysis of Allowance for Credit Losses on Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Loans Receivable, Net - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetNarrativeDetails</Role>
      <ShortName>Loans Receivable, Net - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Loans Receivable, Net - Schedule of Recorded Investment in Non-Accrual Loans, by Loan Portfolio Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetScheduleofRecordedInvestmentinNonAccrualLoansbyLoanPortfolioSegmentDetails</Role>
      <ShortName>Loans Receivable, Net - Schedule of Recorded Investment in Non-Accrual Loans, by Loan Portfolio Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Loans Receivable, Net - Schedule of Aging of Recorded Investment in Past Due Loans by Loan Portfolio Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetScheduleofAgingofRecordedInvestmentinPastDueLoansbyLoanPortfolioSegmentDetails</Role>
      <ShortName>Loans Receivable, Net - Schedule of Aging of Recorded Investment in Past Due Loans by Loan Portfolio Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Loans Receivable, Net - Schedule of Loans Modifications made to Borrowers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetScheduleofLoansModificationsmadetoBorrowersDetails</Role>
      <ShortName>Loans Receivable, Net - Schedule of Loans Modifications made to Borrowers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Loans Receivable, Net - Schedule of Troubled Debt Restructuring Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LoansReceivableNetScheduleofTroubledDebtRestructuringLoansDetails</Role>
      <ShortName>Loans Receivable, Net - Schedule of Troubled Debt Restructuring Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Deposits - Schedule of Major Types of Deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DepositsScheduleofMajorTypesofDepositsDetails</Role>
      <ShortName>Deposits - Schedule of Major Types of Deposits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Deposits - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DepositsNarrativeDetails</Role>
      <ShortName>Deposits - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Borrowed Funds - Schedule of Borrowed Funds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BorrowedFundsScheduleofBorrowedFundsDetails</Role>
      <ShortName>Borrowed Funds - Schedule of Borrowed Funds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Borrowed Funds - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BorrowedFundsNarrativeDetails</Role>
      <ShortName>Borrowed Funds - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Borrowed Funds - Schedule of Pledged Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/BorrowedFundsScheduleofPledgedAssetsDetails</Role>
      <ShortName>Borrowed Funds - Schedule of Pledged Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Fair Value Measurements - Schedule of Financial Assets and Financial Liabilities Measured at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/FairValueMeasurementsScheduleofFinancialAssetsandFinancialLiabilitiesMeasuredatFairValueDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Financial Assets and Financial Liabilities Measured at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Fair Value Measurements - Schedule of Book Value and Estimated Fair Value of Significant Financial Instruments Not Recorded at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/FairValueMeasurementsScheduleofBookValueandEstimatedFairValueofSignificantFinancialInstrumentsNotRecordedatFairValueDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Book Value and Estimated Fair Value of Significant Financial Instruments Not Recorded at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Derivatives and Hedging Activities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DerivativesandHedgingActivitiesNarrativeDetails</Role>
      <ShortName>Derivatives and Hedging Activities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Derivatives and Hedging Activities - Cumulative Basis Adjustments on Hedged Items Designated as Fair Value Hedges and the Related Amortized Cost of the Hedged Items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DerivativesandHedgingActivitiesCumulativeBasisAdjustmentsonHedgedItemsDesignatedasFairValueHedgesandtheRelatedAmortizedCostoftheHedgedItemsDetails</Role>
      <ShortName>Derivatives and Hedging Activities - Cumulative Basis Adjustments on Hedged Items Designated as Fair Value Hedges and the Related Amortized Cost of the Hedged Items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Derivatives and Hedging Activities - Effects of Fair Value Hedges on Net Interest Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DerivativesandHedgingActivitiesEffectsofFairValueHedgesonNetInterestIncomeDetails</Role>
      <ShortName>Derivatives and Hedging Activities - Effects of Fair Value Hedges on Net Interest Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Derivatives and Hedging Activities - Schedule of Accumulated Other Comprehensive Income/Loss Attributable to Cash Flow Hedge Derivative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DerivativesandHedgingActivitiesScheduleofAccumulatedOtherComprehensiveIncomeLossAttributabletoCashFlowHedgeDerivativeDetails</Role>
      <ShortName>Derivatives and Hedging Activities - Schedule of Accumulated Other Comprehensive Income/Loss Attributable to Cash Flow Hedge Derivative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Derivatives and Hedging Activities - Schedule of Notional Amount and Fair Value of Derivatives Designated and Not Designated as Hedging Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/DerivativesandHedgingActivitiesScheduleofNotionalAmountandFairValueofDerivativesDesignatedandNotDesignatedasHedgingInstrumentsDetails</Role>
      <ShortName>Derivatives and Hedging Activities - Schedule of Notional Amount and Fair Value of Derivatives Designated and Not Designated as Hedging Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Leases - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LeasesNarrativeDetails</Role>
      <ShortName>Leases - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Leases - Schedule of Right-of-Use Assets and Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LeasesScheduleofRightofUseAssetsandLeaseLiabilitiesDetails</Role>
      <ShortName>Leases - Schedule of Right-of-Use Assets and Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Leases - Schedule of Weighted-Average Remaining Lease Term and Discount Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LeasesScheduleofWeightedAverageRemainingLeaseTermandDiscountRateDetails</Role>
      <ShortName>Leases - Schedule of Weighted-Average Remaining Lease Term and Discount Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Leases - Schedule of Lease Expenses and Other Lease Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LeasesScheduleofLeaseExpensesandOtherLeaseInformationDetails</Role>
      <ShortName>Leases - Schedule of Lease Expenses and Other Lease Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="ocfc-20260630.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Leases - Schedule of Future Minimum Payments for Financing and Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.oceanfirstonline.com/role/LeasesScheduleofFutureMinimumPaymentsforFinancingandOperatingLeasesDetails</Role>
      <ShortName>Leases - Schedule of Future Minimum Payments for Financing and Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" isDefinitelyFs="true" isUsgaap="true" original="ocfc-20260630.htm">ocfc-20260630.htm</File>
    <File>ocfc-20260630.xsd</File>
    <File>ocfc-20260630_cal.xml</File>
    <File>ocfc-20260630_def.xml</File>
    <File>ocfc-20260630_lab.xml</File>
    <File>ocfc-20260630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="2141">http://fasb.org/us-gaap/2026</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
