<?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-20260720.xsd" xlink:type="simple"/>
    <context id="d20268K">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001499422</identifier>
        </entity>
        <period>
            <startDate>2026-07-20</startDate>
            <endDate>2026-07-20</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="d20268K" id="ixv-331">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="d20268K" id="ixv-332">0001499422</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="d20268K" id="ixv-22">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="d20268K" id="ixv-342">2026-07-20</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="d20268K" id="ixv-40">RBB BANCORP</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="d20268K" id="ixv-52">CA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="d20268K" id="ixv-56">001-38149</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="d20268K" id="ixv-60">27-2776416</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="d20268K" id="ixv-85">1055 Wilshire Blvd.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="d20268K" id="ixv-88">12th floor</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="d20268K" id="ixv-96">Los Angeles</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="d20268K" id="ixv-99">CA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="d20268K" id="ixv-106">90017</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="d20268K" id="ixv-120">213</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="d20268K" id="ixv-123">627-9888</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="d20268K" id="ixv-343">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="d20268K" id="ixv-344">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="d20268K" id="ixv-345">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="d20268K" id="ixv-346">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="d20268K" id="ixv-347">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="d20268K" id="ixv-348">RBB</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="d20268K" id="ixv-349">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="d20268K" id="ixv-350">false</dei:EntityEmergingGrowthCompany>
</xbrl>
