<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="rbb-20260612.xsd" xlink:type="simple"/>
    <context id="d20268K">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001499422</identifier>
        </entity>
        <period>
            <startDate>2026-06-12</startDate>
            <endDate>2026-06-12</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="d20268K" id="ixv-334">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="d20268K" id="ixv-335">0001499422</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="d20268K" id="ixv-22">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="d20268K" id="ixv-37">2026-06-12</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="d20268K" id="ixv-56">RBB BANCORP</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="d20268K" id="ixv-68">CA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="d20268K" id="ixv-72">001-38149</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="d20268K" id="ixv-76">27-2776416</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="d20268K" id="ixv-101">1055 Wilshire Blvd.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="d20268K" id="ixv-104">12th floor</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="d20268K" id="ixv-112">Los Angeles</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="d20268K" id="ixv-116">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="d20268K" id="ixv-124">90017</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="d20268K" id="ixv-138">213</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="d20268K" id="ixv-142">627-9888</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="d20268K" id="ixv-345">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="d20268K" id="ixv-346">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="d20268K" id="ixv-347">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="d20268K" id="ixv-348">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="d20268K" id="ixv-349">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="d20268K" id="ixv-350">RBB</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="d20268K" id="ixv-351">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="d20268K" id="ixv-352">false</dei:EntityEmergingGrowthCompany>
</xbrl>
