<?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="codx-20261009.xsd" xlink:type="simple"/>
    <context id="AsOf2026-10-09">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001692415</identifier>
        </entity>
        <period>
            <startDate>2026-10-09</startDate>
            <endDate>2026-10-09</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-10-09" id="Fact000003">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-10-09" id="Fact000004">0001692415</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="AsOf2026-10-09" id="Fact000009">8-K/A</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="AsOf2026-10-09" id="Fact000010">2026-10-09</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="AsOf2026-10-09" id="Fact000011">Co-Diagnostics, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="AsOf2026-10-09" id="Fact000012">UT</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="AsOf2026-10-09" id="Fact000013">001-38148</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="AsOf2026-10-09" id="Fact000014">46-2609363</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="AsOf2026-10-09" id="Fact000015">2401     S. Foothill Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="AsOf2026-10-09" id="Fact000016">Suite D</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="AsOf2026-10-09" id="Fact000017">Salt Lake City</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="AsOf2026-10-09" id="Fact000018">UT</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="AsOf2026-10-09" id="Fact000019">84109</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="AsOf2026-10-09" id="Fact000020">(801)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="AsOf2026-10-09" id="Fact000021">438-1036</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="AsOf2026-10-09" id="Fact000022">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="AsOf2026-10-09" id="Fact000023">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="AsOf2026-10-09" id="Fact000024">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="AsOf2026-10-09" id="Fact000025">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="AsOf2026-10-09" id="Fact000026">Common     Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="AsOf2026-10-09" id="Fact000027">CODX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="AsOf2026-10-09" id="Fact000028">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="AsOf2026-10-09" id="Fact000029">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="AsOf2026-10-09" id="Fact000030">This
Amendment No. 1 on Form 8-K/A amends the Current Report on Form 8-K filed by Co-Diagnostics, Inc. (the &#x201c;Company&#x201d;) on October
13, 2026 (the &#x201c;Original Form 8-K&#x201d;). This Amendment is being filed to (i) file a revised version of the ATM Waterfall Distribution
Agreement as Exhibit 10.4, which reflects the removal of Maxim Group LLC (&#x201c;Maxim&#x201d;) as a party thereto, (ii) file as Exhibit
10.7 the ATM Payment Direction Letter between the Company and Maxim, pursuant to which Maxim agreed to remit net proceeds from sales
under the Company&#x2019;s at-the-market offering program to the deposit account specified therein, and (iii) amend and restate Item
1.01 to reflect such exhibits. Except as expressly set forth herein, this Amendment does not amend, update or restate any other information
in the Original Form 8-K.</dei:AmendmentDescription>
</xbrl>
