<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>263</ContextCount>
  <ElementCount>494</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>109</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="afcg-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://afcgamma.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS??? EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF SHAREHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS??? EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF SHAREHOLDERS??? EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="afcg-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://afcgamma.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - ORGANIZATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/ORGANIZATION</Role>
      <ShortName>ORGANIZATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - LOANS HELD FOR INVESTMENT AT FAIR VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATFAIRVALUE</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT FAIR VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - LOANS HELD FOR INVESTMENT AT CARRYING VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATCARRYINGVALUE</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT CARRYING VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - LOAN RECEIVABLE HELD AT CARRYING VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANRECEIVABLEHELDATCARRYINGVALUE</Role>
      <ShortName>LOAN RECEIVABLE HELD AT CARRYING VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - CURRENT EXPECTED CREDIT LOSSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CURRENTEXPECTEDCREDITLOSSES</Role>
      <ShortName>CURRENT EXPECTED CREDIT LOSSES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - INTEREST RECEIVABLE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INTERESTRECEIVABLE</Role>
      <ShortName>INTEREST RECEIVABLE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DEBT</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/COMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITY</Role>
      <ShortName>SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/EARNINGSPERSHARE</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - INCOME TAX</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INCOMETAX</Role>
      <ShortName>INCOME TAX</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - FAIR VALUE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/FAIRVALUE</Role>
      <ShortName>FAIR VALUE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/RELATEDPARTYTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - DIVIDENDS AND DISTRIBUTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DIVIDENDSANDDISTRIBUTIONS</Role>
      <ShortName>DIVIDENDS AND DISTRIBUTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - DISCONTINUED OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DISCONTINUEDOPERATIONS</Role>
      <ShortName>DISCONTINUED OPERATIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - REPORTABLE SEGMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/REPORTABLESEGMENTS</Role>
      <ShortName>REPORTABLE SEGMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9952175 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SUBSEQUENTEVENTS</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.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>28</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.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>29</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.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>30</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - LOANS HELD FOR INVESTMENT AT FAIR VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATFAIRVALUETables</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT FAIR VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATFAIRVALUE</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - LOANS HELD FOR INVESTMENT AT CARRYING VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATCARRYINGVALUETables</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT CARRYING VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATCARRYINGVALUE</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - LOAN RECEIVABLE HELD AT CARRYING VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANRECEIVABLEHELDATCARRYINGVALUETables</Role>
      <ShortName>LOAN RECEIVABLE HELD AT CARRYING VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/LOANRECEIVABLEHELDATCARRYINGVALUE</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - CURRENT EXPECTED CREDIT LOSSES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CURRENTEXPECTEDCREDITLOSSESTables</Role>
      <ShortName>CURRENT EXPECTED CREDIT LOSSES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/CURRENTEXPECTEDCREDITLOSSES</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - INTEREST RECEIVABLE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INTERESTRECEIVABLETables</Role>
      <ShortName>INTEREST RECEIVABLE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/INTERESTRECEIVABLE</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DEBTTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/DEBT</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/COMMITMENTSANDCONTINGENCIESTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/COMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - SHAREHOLDERS' EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITYTables</Role>
      <ShortName>SHAREHOLDERS' EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/SHAREHOLDERSEQUITY</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/EARNINGSPERSHARETables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/EARNINGSPERSHARE</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - INCOME TAX (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INCOMETAXTables</Role>
      <ShortName>INCOME TAX (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/INCOMETAX</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - FAIR VALUE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/FAIRVALUETables</Role>
      <ShortName>FAIR VALUE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/FAIRVALUE</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - RELATED PARTY TRANSACTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/RELATEDPARTYTRANSACTIONSTables</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/RELATEDPARTYTRANSACTIONS</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - DIVIDENDS AND DISTRIBUTIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DIVIDENDSANDDISTRIBUTIONSTables</Role>
      <ShortName>DIVIDENDS AND DISTRIBUTIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/DIVIDENDSANDDISTRIBUTIONS</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - DISCONTINUED OPERATIONS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DISCONTINUEDOPERATIONSTables</Role>
      <ShortName>DISCONTINUED OPERATIONS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://afcgamma.com/role/DISCONTINUEDOPERATIONS</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - ORGANIZATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/ORGANIZATIONDetails</Role>
      <ShortName>ORGANIZATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://afcgamma.com/role/ORGANIZATION</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - LOANS HELD FOR INVESTMENT AT FAIR VALUE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATFAIRVALUENarrativeDetails</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT FAIR VALUE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - LOANS HELD FOR INVESTMENT AT FAIR VALUE - Schedule of Loans Held at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATFAIRVALUEScheduleofLoansHeldatFairValueDetails</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT FAIR VALUE - Schedule of Loans Held at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - LOANS HELD FOR INVESTMENT AT FAIR VALUE - Schedule of Changes in Loans Held at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATFAIRVALUEScheduleofChangesinLoansHeldatFairValueDetails</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT FAIR VALUE - Schedule of Changes in Loans Held at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - LOANS HELD FOR INVESTMENT AT FAIR VALUE - Schedule of Loans Held at Fair Value Portfolio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATFAIRVALUEScheduleofLoansHeldatFairValuePortfolioDetails</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT FAIR VALUE - Schedule of Loans Held at Fair Value Portfolio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - LOANS HELD FOR INVESTMENT AT CARRYING VALUE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATCARRYINGVALUENarrativeDetails</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT CARRYING VALUE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - LOANS HELD FOR INVESTMENT AT CARRYING VALUE - Schedule of Loans Held at Carrying Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATCARRYINGVALUEScheduleofLoansHeldatCarryingValueDetails</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT CARRYING VALUE - Schedule of Loans Held at Carrying Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - LOANS HELD FOR INVESTMENT AT CARRYING VALUE - Schedule of Changes in Loans Held at Carrying Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATCARRYINGVALUEScheduleofChangesinLoansHeldatCarryingValueDetails</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT CARRYING VALUE - Schedule of Changes in Loans Held at Carrying Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - LOANS HELD FOR INVESTMENT AT CARRYING VALUE - Schedule of Loans Held at Carrying Value Portfolio (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANSHELDFORINVESTMENTATCARRYINGVALUEScheduleofLoansHeldatCarryingValuePortfolioDetails</Role>
      <ShortName>LOANS HELD FOR INVESTMENT AT CARRYING VALUE - Schedule of Loans Held at Carrying Value Portfolio (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - LOAN RECEIVABLE HELD AT CARRYING VALUE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANRECEIVABLEHELDATCARRYINGVALUENarrativeDetails</Role>
      <ShortName>LOAN RECEIVABLE HELD AT CARRYING VALUE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - LOAN RECEIVABLE HELD AT CARRYING VALUE - Schedule of Changes in Loans Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/LOANRECEIVABLEHELDATCARRYINGVALUEScheduleofChangesinLoansReceivableDetails</Role>
      <ShortName>LOAN RECEIVABLE HELD AT CARRYING VALUE - Schedule of Changes in Loans Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - CURRENT EXPECTED CREDIT LOSSES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CURRENTEXPECTEDCREDITLOSSESNarrativeDetails</Role>
      <ShortName>CURRENT EXPECTED CREDIT LOSSES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - CURRENT EXPECTED CREDIT LOSSES - Schedule of Financing Receivable, Allowance for Credit Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CURRENTEXPECTEDCREDITLOSSESScheduleofFinancingReceivableAllowanceforCreditLossDetails</Role>
      <ShortName>CURRENT EXPECTED CREDIT LOSSES - Schedule of Financing Receivable, Allowance for Credit Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - CURRENT EXPECTED CREDIT LOSSES - Schedule of Financing Receivable Credit Quality Indicators (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/CURRENTEXPECTEDCREDITLOSSESScheduleofFinancingReceivableCreditQualityIndicatorsDetails</Role>
      <ShortName>CURRENT EXPECTED CREDIT LOSSES - Schedule of Financing Receivable Credit Quality Indicators (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - INTEREST RECEIVABLE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INTERESTRECEIVABLEDetails</Role>
      <ShortName>INTEREST RECEIVABLE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://afcgamma.com/role/INTERESTRECEIVABLETables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - DEBT - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DEBTNarrativeDetails</Role>
      <ShortName>DEBT - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - DEBT - Schedule of Principal Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DEBTScheduleofPrincipalPaymentsDetails</Role>
      <ShortName>DEBT - Schedule of Principal Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - DEBT - Schedule of Interest Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DEBTScheduleofInterestExpenseDetails</Role>
      <ShortName>DEBT - Schedule of Interest Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/COMMITMENTSANDCONTINGENCIESDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://afcgamma.com/role/COMMITMENTSANDCONTINGENCIESTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - SHAREHOLDERS' EQUITY - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITYNarrativeDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Assumption Used in The Option Pricing Model of Options Granted (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITYScheduleofAssumptionUsedinTheOptionPricingModelofOptionsGrantedDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Schedule of Assumption Used in The Option Pricing Model of Options Granted (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Stock-Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITYScheduleofStockBasedCompensationExpenseDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Schedule of Stock-Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Share-based Payment Arrangement, Option, Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITYScheduleofSharebasedPaymentArrangementOptionActivityDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Schedule of Share-based Payment Arrangement, Option, Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITYScheduleofStockOptionActivityDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Schedule of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Nonvested Share Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITYScheduleofNonvestedShareActivityDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Schedule of Nonvested Share Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Restricted Stock Awards Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SHAREHOLDERSEQUITYScheduleofRestrictedStockAwardsActivityDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Schedule of Restricted Stock Awards Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - EARNINGS PER SHARE - Schedule of Basic and Diluted Earnings Per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/EARNINGSPERSHAREScheduleofBasicandDilutedEarningsPerCommonShareDetails</Role>
      <ShortName>EARNINGS PER SHARE - Schedule of Basic and Diluted Earnings Per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - EARNINGS PER SHARE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/EARNINGSPERSHARENarrativeDetails</Role>
      <ShortName>EARNINGS PER SHARE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - INCOME TAX - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INCOMETAXNarrativeDetails</Role>
      <ShortName>INCOME TAX - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - INCOME TAXES - Schedule of Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INCOMETAXESScheduleofIncomeTaxesDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - INCOME TAX - Schedule of Reconciliation of the Income Tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INCOMETAXScheduleofReconciliationoftheIncomeTaxDetails</Role>
      <ShortName>INCOME TAX - Schedule of Reconciliation of the Income Tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - INCOME TAX - Schedule of Income Tax Paid (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/INCOMETAXScheduleofIncomeTaxPaidDetails</Role>
      <ShortName>INCOME TAX - Schedule of Income Tax Paid (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - FAIR VALUE - Schedule of Fair Value Measurements of Loans Held at Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/FAIRVALUEScheduleofFairValueMeasurementsofLoansHeldatFairValueDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Fair Value Measurements of Loans Held at Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - FAIR VALUE - Schedule of Fair Value Measurements of Changes in Loans using Level 3 inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/FAIRVALUEScheduleofFairValueMeasurementsofChangesinLoansusingLevel3inputsDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Fair Value Measurements of Changes in Loans using Level 3 inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - FAIR VALUE - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/FAIRVALUENarrativeDetails</Role>
      <ShortName>FAIR VALUE - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - FAIR VALUE - Schedule of Fair Value measurement Inputs and Valuation Techniques (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/FAIRVALUEScheduleofFairValuemeasurementInputsandValuationTechniquesDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Fair Value measurement Inputs and Valuation Techniques (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - FAIR VALUE - Schedule of Carrying Value and Fair Value of the Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/FAIRVALUEScheduleofCarryingValueandFairValueoftheFinancialInstrumentsDetails</Role>
      <ShortName>FAIR VALUE - Schedule of Carrying Value and Fair Value of the Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - RELATED PARTY TRANSACTIONS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/RELATEDPARTYTRANSACTIONSNarrativeDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - RELATED PARTY TRANSACTIONS - Schedule of Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/RELATEDPARTYTRANSACTIONSScheduleofRelatedPartyTransactionsDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - Schedule of Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - DIVIDENDS AND DISTRIBUTIONS - Summary of Company's Dividend Distribution (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DIVIDENDSANDDISTRIBUTIONSSummaryofCompanysDividendDistributionDetails</Role>
      <ShortName>DIVIDENDS AND DISTRIBUTIONS - Summary of Company's Dividend Distribution (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - DIVIDENDS AND DISTRIBUTIONS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DIVIDENDSANDDISTRIBUTIONSNarrativeDetails</Role>
      <ShortName>DIVIDENDS AND DISTRIBUTIONS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - DISCONTINUED OPERATIONS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DISCONTINUEDOPERATIONSNarrativeDetails</Role>
      <ShortName>DISCONTINUED OPERATIONS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - DISCONTINUED OPERATIONS - Schedule of Discontinued Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/DISCONTINUEDOPERATIONSScheduleofDiscontinuedOperationsDetails</Role>
      <ShortName>DISCONTINUED OPERATIONS - Schedule of Discontinued Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - REPORTABLE SEGMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/REPORTABLESEGMENTSDetails</Role>
      <ShortName>REPORTABLE SEGMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://afcgamma.com/role/REPORTABLESEGMENTS</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="afcg-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - SUBSEQUENT EVENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://afcgamma.com/role/SUBSEQUENTEVENTSDetails</Role>
      <ShortName>SUBSEQUENT EVENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://afcgamma.com/role/SUBSEQUENTEVENTS</ParentRole>
      <Position>90</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="afcg-20251231.htm">afcg-20251231.htm</File>
    <File>afcg-20251231.xsd</File>
    <File>afcg-20251231_cal.xml</File>
    <File>afcg-20251231_def.xml</File>
    <File>afcg-20251231_lab.xml</File>
    <File>afcg-20251231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>afcg-20251231_g1.jpg</File>
    <File>afcg-20251231_g2.jpg</File>
    <File>afcg-20251231_g3.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="900">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="42">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>
