<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ocfc-20260601.xsd" xlink:type="simple"/>
    <context id="duration_2026-06-01_to_2026-06-01">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001004702</identifier>
        </entity>
        <period>
            <startDate>2026-06-01</startDate>
            <endDate>2026-06-01</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2026-06-01_to_2026-06-01"
      id="Hidden_dei_EntityRegistrantName">OCEANFIRST FINANCIAL CORP</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-551">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2026-06-01_to_2026-06-01"
      id="Hidden_dei_EntityCentralIndexKey">0001004702</dei:EntityCentralIndexKey>
    <dei:CurrentFiscalYearEndDate
      contextRef="duration_2026-06-01_to_2026-06-01"
      id="Hidden_dei_CurrentFiscalYearEndDate_duration_2026-06-01_to_2026-06-01">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentType contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-563">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-564">2026-06-01</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-565">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-566">001-11713</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-567">22-3412577</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-568">110 West Front Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-569">Red Bank</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-570">NJ</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-571">07701</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-572">732</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-573">240-4500</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-574">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-575">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-576">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-577">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-578">Common stock, $0.01 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-579">OCFC</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-580">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2026-06-01_to_2026-06-01" id="ixv-581">false</dei:EntityEmergingGrowthCompany>
</xbrl>
