<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>340</ContextCount>
  <ElementCount>624</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>98</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952152 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - Statement - CONSOLIDATED STATEMENTS OF INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/CONSOLIDATEDSTATEMENTSOFINCOMELOSS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS??? EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS??? EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS??? EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952157 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - BASIS OF PRESENTATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/BASISOFPRESENTATIONANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>BASIS OF PRESENTATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - DISCONTINUED OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DISCONTINUEDOPERATIONS</Role>
      <ShortName>DISCONTINUED OPERATIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - INVESTMENT SECURITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INVESTMENTSECURITIES</Role>
      <ShortName>INVESTMENT SECURITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - LOANS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LOANS</Role>
      <ShortName>LOANS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - ALLOWANCE FOR CREDIT LOSSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSES</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - FAIR VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUE</Role>
      <ShortName>FAIR VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/GOVERNMENTGUARANTEEDLOANSERVICINGACTIVITIES</Role>
      <ShortName>GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - PREMISES AND EQUIPMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PREMISESANDEQUIPMENT</Role>
      <ShortName>PREMISES AND EQUIPMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - DEPOSITS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DEPOSITS</Role>
      <ShortName>DEPOSITS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - OTHER BORROWINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/OTHERBORROWINGS</Role>
      <ShortName>OTHER BORROWINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - STOCK-BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/STOCKBASEDCOMPENSATION</Role>
      <ShortName>STOCK-BASED COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - OTHER BENEFIT PLANS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/OTHERBENEFITPLANS</Role>
      <ShortName>OTHER BENEFIT PLANS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - REGULATORY MATTERS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/REGULATORYMATTERS</Role>
      <ShortName>REGULATORY MATTERS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/RELATEDPARTYTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - LOAN COMMITMENTS AND OTHER RELATED ACTIVITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LOANCOMMITMENTSANDOTHERRELATEDACTIVITIES</Role>
      <ShortName>LOAN COMMITMENTS AND OTHER RELATED ACTIVITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9952175 - Disclosure - EARNINGS PER COMMON SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/EARNINGSPERCOMMONSHARE</Role>
      <ShortName>EARNINGS PER COMMON SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9952176 - Disclosure - SEGMENT INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/SEGMENTINFORMATION</Role>
      <ShortName>SEGMENT INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9952177 - Disclosure - RESTRUCTURE CHARGES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/RESTRUCTURECHARGES</Role>
      <ShortName>RESTRUCTURE CHARGES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9952178 - Disclosure - PARENT COMPANY ONLY FINANCIAL INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PARENTCOMPANYONLYFINANCIALINFORMATION</Role>
      <ShortName>PARENT COMPANY ONLY FINANCIAL INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9952179 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/SUBSEQUENTEVENTS</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.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>32</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - BASIS OF PRESENTATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/BASISOFPRESENTATIONANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>BASIS OF PRESENTATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - DISCONTINUED OPERATIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DISCONTINUEDOPERATIONSTables</Role>
      <ShortName>DISCONTINUED OPERATIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/DISCONTINUEDOPERATIONS</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - INVESTMENT SECURITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INVESTMENTSECURITIESTables</Role>
      <ShortName>INVESTMENT SECURITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/INVESTMENTSECURITIES</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - LOANS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LOANSTables</Role>
      <ShortName>LOANS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/LOANS</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - ALLOWANCE FOR CREDIT LOSSES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSESTables</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSES</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - FAIR VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUETables</Role>
      <ShortName>FAIR VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/FAIRVALUE</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/GOVERNMENTGUARANTEEDLOANSERVICINGACTIVITIESTables</Role>
      <ShortName>GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/GOVERNMENTGUARANTEEDLOANSERVICINGACTIVITIES</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - PREMISES AND EQUIPMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PREMISESANDEQUIPMENTTables</Role>
      <ShortName>PREMISES AND EQUIPMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/PREMISESANDEQUIPMENT</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/LEASES</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - DEPOSITS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DEPOSITSTables</Role>
      <ShortName>DEPOSITS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/DEPOSITS</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - STOCK-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/STOCKBASEDCOMPENSATIONTables</Role>
      <ShortName>STOCK-BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/STOCKBASEDCOMPENSATION</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/INCOMETAXES</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - REGULATORY MATTERS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/REGULATORYMATTERSTables</Role>
      <ShortName>REGULATORY MATTERS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/REGULATORYMATTERS</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/RELATEDPARTYTRANSACTIONSTables</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/RELATEDPARTYTRANSACTIONS</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - LOAN COMMITMENTS AND OTHER RELATED ACTIVITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LOANCOMMITMENTSANDOTHERRELATEDACTIVITIESTables</Role>
      <ShortName>LOAN COMMITMENTS AND OTHER RELATED ACTIVITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/LOANCOMMITMENTSANDOTHERRELATEDACTIVITIES</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - EARNINGS PER COMMON SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/EARNINGSPERCOMMONSHARETables</Role>
      <ShortName>EARNINGS PER COMMON SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/EARNINGSPERCOMMONSHARE</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - PARENT COMPANY ONLY FINANCIAL INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PARENTCOMPANYONLYFINANCIALINFORMATIONTables</Role>
      <ShortName>PARENT COMPANY ONLY FINANCIAL INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/PARENTCOMPANYONLYFINANCIALINFORMATION</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - BASIS OF PRESENTATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/BASISOFPRESENTATIONANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails</Role>
      <ShortName>BASIS OF PRESENTATION AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/BASISOFPRESENTATIONANDSUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - DISCONTINUED OPERATIONS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DISCONTINUEDOPERATIONSNarrativeDetails</Role>
      <ShortName>DISCONTINUED OPERATIONS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - DISCONTINUED OPERATIONS - Schedule of Operating Results of the Discontinued Operations of the Sba 7(a) Lending and Residential Mortgage Lending Division (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DISCONTINUEDOPERATIONSScheduleofOperatingResultsoftheDiscontinuedOperationsoftheSba7aLendingandResidentialMortgageLendingDivisionDetails</Role>
      <ShortName>DISCONTINUED OPERATIONS - Schedule of Operating Results of the Discontinued Operations of the Sba 7(a) Lending and Residential Mortgage Lending Division (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - INVESTMENT SECURITIES - Schedule of Debt Securities Available for Sale and Held to Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INVESTMENTSECURITIESScheduleofDebtSecuritiesAvailableforSaleandHeldtoMaturityDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Schedule of Debt Securities Available for Sale and Held to Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - INVESTMENT SECURITIES - Schedule of Investments Classified by Contractual Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INVESTMENTSECURITIESScheduleofInvestmentsClassifiedbyContractualMaturityDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Schedule of Investments Classified by Contractual Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - INVESTMENT SECURITIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INVESTMENTSECURITIESNarrativeDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - INVESTMENT SECURITIES - Schedule of Allowance for Credit Losses for Investment Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INVESTMENTSECURITIESScheduleofAllowanceforCreditLossesforInvestmentSecuritiesDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Schedule of Allowance for Credit Losses for Investment Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - INVESTMENT SECURITIES - Schedule of Investment Securities With Unrealized Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INVESTMENTSECURITIESScheduleofInvestmentSecuritiesWithUnrealizedLossesDetails</Role>
      <ShortName>INVESTMENT SECURITIES - Schedule of Investment Securities With Unrealized Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - LOANS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LOANSDetails</Role>
      <ShortName>LOANS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/LOANSTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - ALLOWANCE FOR CREDIT LOSSES - Schedule of Allowance for Credit Losses by Loan Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSESScheduleofAllowanceforCreditLossesbyLoanSegmentDetails</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES - Schedule of Allowance for Credit Losses by Loan Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - ALLOWANCE FOR CREDIT LOSSES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSESNarrativeDetails</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - ALLOWANCE FOR CREDIT LOSSES - Schedule of Allowance for Credit Losses for Unfunded Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSESScheduleofAllowanceforCreditLossesforUnfundedCommitmentsDetails</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES - Schedule of Allowance for Credit Losses for Unfunded Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - ALLOWANCE FOR CREDIT LOSSES - Schedule of Recorded Investment in Nonaccrual and Loans Past Due over 89 Days Still on Accrual by Loan Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSESScheduleofRecordedInvestmentinNonaccrualandLoansPastDueover89DaysStillonAccrualbyLoanSegmentDetails</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES - Schedule of Recorded Investment in Nonaccrual and Loans Past Due over 89 Days Still on Accrual by Loan Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - ALLOWANCE FOR CREDIT LOSSES - Schedule of Amortized Cost Basis of Individually Analyzed Collateral Dependent Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSESScheduleofAmortizedCostBasisofIndividuallyAnalyzedCollateralDependentLoansDetails</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES - Schedule of Amortized Cost Basis of Individually Analyzed Collateral Dependent Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - ALLOWANCE FOR CREDIT LOSSES - Schedule of Aging of Recorded Investment in Past Due Gross Loans at Amortized Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSESScheduleofAgingofRecordedInvestmentinPastDueGrossLoansatAmortizedCostDetails</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES - Schedule of Aging of Recorded Investment in Past Due Gross Loans at Amortized Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - ALLOWANCE FOR CREDIT LOSSES - Schedule of Credit Exposure for the Loan Portfolio Disaggregated by Loan Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/ALLOWANCEFORCREDITLOSSESScheduleofCreditExposurefortheLoanPortfolioDisaggregatedbyLoanSegmentDetails</Role>
      <ShortName>ALLOWANCE FOR CREDIT LOSSES - Schedule of Credit Exposure for the Loan Portfolio Disaggregated by Loan Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - FAIR VALUE - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUEScheduleofAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - FAIR VALUE - Schedule of Fair Value Carrying Amount and the Unpaid Principal Outstanding of HFI Government Guaranteed Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUEScheduleofFairValueCarryingAmountandtheUnpaidPrincipalOutstandingofHFIGovernmentGuaranteedLoansDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Fair Value Carrying Amount and the Unpaid Principal Outstanding of HFI Government Guaranteed Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - FAIR VALUE - Schedule of Gains and Losses from Changes in Fair Value and Interest Income Included in Earnings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUEScheduleofGainsandLossesfromChangesinFairValueandInterestIncomeIncludedinEarningsDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Gains and Losses from Changes in Fair Value and Interest Income Included in Earnings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - FAIR VALUE - Schedule of Government Guaranteed Loans HFI, at Fair Value, Which Were Valued on a Recurring Basis and Used Significant Unobservable Inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUEScheduleofGovernmentGuaranteedLoansHFIatFairValueWhichWereValuedonaRecurringBasisandUsedSignificantUnobservableInputsDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Government Guaranteed Loans HFI, at Fair Value, Which Were Valued on a Recurring Basis and Used Significant Unobservable Inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - FAIR VALUE - Schedule of Valuation Technique and Unobservable Inputs Used in the Valuation of Government Guaranteed HFI, at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUEScheduleofValuationTechniqueandUnobservableInputsUsedintheValuationofGovernmentGuaranteedHFIatFairValueDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Valuation Technique and Unobservable Inputs Used in the Valuation of Government Guaranteed HFI, at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - FAIR VALUE - Schedule of Assets Measured at Fair Value on a Nonrecurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUEScheduleofAssetsMeasuredatFairValueonaNonrecurringBasisDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Assets Measured at Fair Value on a Nonrecurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - FAIR VALUE - Schedule of Assets and Liabilities Not Carried at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/FAIRVALUEScheduleofAssetsandLiabilitiesNotCarriedatFairValueDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Assets and Liabilities Not Carried at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/GOVERNMENTGUARANTEEDLOANSERVICINGACTIVITIESNarrativeDetails</Role>
      <ShortName>GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES - Schedule of Activity for Government Guaranteed Loan Servicing Rights (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/GOVERNMENTGUARANTEEDLOANSERVICINGACTIVITIESScheduleofActivityforGovernmentGuaranteedLoanServicingRightsDetails</Role>
      <ShortName>GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES - Schedule of Activity for Government Guaranteed Loan Servicing Rights (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES - Schedule of Net Gain on Sale of Government Guaranteed Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/GOVERNMENTGUARANTEEDLOANSERVICINGACTIVITIESScheduleofNetGainonSaleofGovernmentGuaranteedLoansDetails</Role>
      <ShortName>GOVERNMENT GUARANTEED LOAN SERVICING ACTIVITIES - Schedule of Net Gain on Sale of Government Guaranteed Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - PREMISES AND EQUIPMENT - Schedule of Premises and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PREMISESANDEQUIPMENTScheduleofPremisesandEquipmentDetails</Role>
      <ShortName>PREMISES AND EQUIPMENT - Schedule of Premises and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - PREMISES AND EQUIPMENT - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PREMISESANDEQUIPMENTNarrativeDetails</Role>
      <ShortName>PREMISES AND EQUIPMENT - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - LEASES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LEASESNarrativeDetails</Role>
      <ShortName>LEASES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - LEASES - Schedule of Total Lease Cost and Supplemental Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LEASESScheduleofTotalLeaseCostandSupplementalInformationDetails</Role>
      <ShortName>LEASES - Schedule of Total Lease Cost and Supplemental Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - LEASES - Schedule of Future Minimum Lease Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LEASESScheduleofFutureMinimumLeasePaymentsDetails</Role>
      <ShortName>LEASES - Schedule of Future Minimum Lease Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - DEPOSITS - Schedule of Deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DEPOSITSScheduleofDepositsDetails</Role>
      <ShortName>DEPOSITS - Schedule of Deposits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - DEPOSITS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DEPOSITSNarrativeDetails</Role>
      <ShortName>DEPOSITS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - DEPOSITS - Schedule of Maturities of Time Deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/DEPOSITSScheduleofMaturitiesofTimeDepositsDetails</Role>
      <ShortName>DEPOSITS - Schedule of Maturities of Time Deposits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - OTHER BORROWINGS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/OTHERBORROWINGSDetails</Role>
      <ShortName>OTHER BORROWINGS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/OTHERBORROWINGS</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - STOCK-BASED COMPENSATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/STOCKBASEDCOMPENSATIONNarrativeDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - STOCK-BASED COMPENSATION - Schedule of Nonvested Restricted Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/STOCKBASEDCOMPENSATIONScheduleofNonvestedRestrictedSharesDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Schedule of Nonvested Restricted Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - STOCK-BASED COMPENSATION - Schedule of Activity in the Equity Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/STOCKBASEDCOMPENSATIONScheduleofActivityintheEquityPlanDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION - Schedule of Activity in the Equity Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - OTHER BENEFIT PLANS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/OTHERBENEFITPLANSDetails</Role>
      <ShortName>OTHER BENEFIT PLANS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/OTHERBENEFITPLANS</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - INCOME TAXES - Schedule of Income Tax Expense (Benefit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INCOMETAXESScheduleofIncomeTaxExpenseBenefitDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Income Tax Expense (Benefit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - INCOME TAXES - Schedule of Reconciliation of Expected Income Tax Expense (Benefit) using the Federal Statutory Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INCOMETAXESScheduleofReconciliationofExpectedIncomeTaxExpenseBenefitusingtheFederalStatutoryRateDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Reconciliation of Expected Income Tax Expense (Benefit) using the Federal Statutory Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - INCOME TAXES - Schedule of Cash Taxes Paid (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INCOMETAXESScheduleofCashTaxesPaidDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Cash Taxes Paid (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - INCOME TAXES - Schedule of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - INCOME TAXES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/INCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - REGULATORY MATTERS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/REGULATORYMATTERSDetails</Role>
      <ShortName>REGULATORY MATTERS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/REGULATORYMATTERSTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - RELATED PARTY TRANSACTIONS - Schedule of Loans to Principal Officers, Directors and their Affiliates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/RELATEDPARTYTRANSACTIONSScheduleofLoanstoPrincipalOfficersDirectorsandtheirAffiliatesDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - Schedule of Loans to Principal Officers, Directors and their Affiliates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - RELATED PARTY TRANSACTIONS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955575 - Disclosure - LOAN COMMITMENTS AND OTHER RELATED ACTIVITIES - Schedule of Financial Instruments With Off-Balance Sheet Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LOANCOMMITMENTSANDOTHERRELATEDACTIVITIESScheduleofFinancialInstrumentsWithOffBalanceSheetRiskDetails</Role>
      <ShortName>LOAN COMMITMENTS AND OTHER RELATED ACTIVITIES - Schedule of Financial Instruments With Off-Balance Sheet Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955576 - Disclosure - LOAN COMMITMENTS AND OTHER RELATED ACTIVITIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/LOANCOMMITMENTSANDOTHERRELATEDACTIVITIESNarrativeDetails</Role>
      <ShortName>LOAN COMMITMENTS AND OTHER RELATED ACTIVITIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9955577 - Disclosure - EARNINGS PER COMMON SHARE - Schedule of Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/EARNINGSPERCOMMONSHAREScheduleofBasicandDilutedEarningsPerShareDetails</Role>
      <ShortName>EARNINGS PER COMMON SHARE - Schedule of Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9955578 - Disclosure - EARNINGS PER COMMON SHARE - Schedule of Antidilutive Securities Excluded from Calculation of Weighted Average Shares Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/EARNINGSPERCOMMONSHAREScheduleofAntidilutiveSecuritiesExcludedfromCalculationofWeightedAverageSharesOutstandingDetails</Role>
      <ShortName>EARNINGS PER COMMON SHARE - Schedule of Antidilutive Securities Excluded from Calculation of Weighted Average Shares Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>9955579 - Disclosure - SEGMENT INFORMATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/SEGMENTINFORMATIONDetails</Role>
      <ShortName>SEGMENT INFORMATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/SEGMENTINFORMATION</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>9955580 - Disclosure - RESTRUCTURE CHARGES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/RESTRUCTURECHARGESDetails</Role>
      <ShortName>RESTRUCTURE CHARGES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bayfirstfinancial.com/role/RESTRUCTURECHARGES</ParentRole>
      <Position>104</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>9955581 - Disclosure - PARENT COMPANY ONLY FINANCIAL INFORMATION - Schedule of Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PARENTCOMPANYONLYFINANCIALINFORMATIONScheduleofBalanceSheetDetails</Role>
      <ShortName>PARENT COMPANY ONLY FINANCIAL INFORMATION - Schedule of Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>9955582 - Disclosure - PARENT COMPANY ONLY FINANCIAL INFORMATION - Schedule of Income Statement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PARENTCOMPANYONLYFINANCIALINFORMATIONScheduleofIncomeStatementDetails</Role>
      <ShortName>PARENT COMPANY ONLY FINANCIAL INFORMATION - Schedule of Income Statement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="bafn-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>9955583 - Disclosure - PARENT COMPANY ONLY FINANCIAL INFORMATION - Schedule of Cash Flow Statement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bayfirstfinancial.com/role/PARENTCOMPANYONLYFINANCIALINFORMATIONScheduleofCashFlowStatementDetails</Role>
      <ShortName>PARENT COMPANY ONLY FINANCIAL INFORMATION - Schedule of Cash Flow Statement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</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-K" isDefinitelyFs="true" isUsgaap="true" original="bafn-20251231.htm">bafn-20251231.htm</File>
    <File>bafn-20251231.xsd</File>
    <File>bafn-20251231_cal.xml</File>
    <File>bafn-20251231_def.xml</File>
    <File>bafn-20251231_lab.xml</File>
    <File>bafn-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="3">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1972">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
