<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cdix-20260611.xsd" xlink:type="simple"/>
    <context id="AsOf2026-06-11">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000811222</identifier>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-06-11" id="Fact000003">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-06-11" id="Fact000004">0000811222</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="AsOf2026-06-11" id="Fact000009">S-1</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="AsOf2026-06-11" id="Fact000010">Cardiff Lexington Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="AsOf2026-06-11" id="Fact000011">NV</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="AsOf2026-06-11" id="Fact000012">84-1044583</dei:EntityTaxIdentificationNumber>
    <dei:EntityFilerCategory contextRef="AsOf2026-06-11" id="Fact000013">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="AsOf2026-06-11" id="Fact000014">true</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="AsOf2026-06-11" id="Fact000015">false</dei:EntityEmergingGrowthCompany>
</xbrl>
