<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>7</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_8">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>8</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_9">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>9</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <context id="offrl_10">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001119774</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>10</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-18</startDate>
            <endDate>2026-05-18</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-468">F-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-469">F-3</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-470">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-471">0001119774</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-472">COMPUGEN LTD</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-476"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-477"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-478"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="7"
      id="ixv-479"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_5"
      decimals="7"
      id="ixv-480"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FormTp contextRef="rc" id="ixv-586">F-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-587">COMPUGEN LTD</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-588">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-589">Ordinary Shares, par value NIS 0.01 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_1" id="ixv-590">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-591">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-592">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_2" id="ixv-593">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-594">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-595"> Warrants </ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_3" id="ixv-596">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-597">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-598"> Rights</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_4" id="ixv-599">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-600">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-601">Units</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_5" id="ixv-602">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_6" id="ixv-603">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-604">Unallocated (Universal) Shelf</ffd:OfferingSctyTp>
    <ffd:Rule457oFlg contextRef="offrl_6" id="ixv-605">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_6"
      decimals="2"
      id="ixv-606"
      unitRef="USD">100000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_6"
      decimals="7"
      id="ixv-607"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_6"
      decimals="2"
      id="ixv-608"
      unitRef="USD">13810.00</ffd:FeeAmt>
    <ffd:OfferingSctyTp contextRef="offrl_7" id="ixv-609">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_7" id="ixv-610">Ordinary Shares, par value NIS 0.01 per share</ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_7" id="ixv-611">true</ffd:Rule415a6Flg>
    <ffd:CfwdFormTp contextRef="offrl_7" id="ixv-612">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_7" id="ixv-613">333-270985</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_7" id="ixv-614">2023-06-27</ffd:CfwdPrrFctvDt>
    <ffd:OfferingSctyTp contextRef="offrl_8" id="ixv-615">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_8" id="ixv-616"> Debt Securities </ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_8" id="ixv-617">true</ffd:Rule415a6Flg>
    <ffd:CfwdFormTp contextRef="offrl_8" id="ixv-618">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_8" id="ixv-619">333-270985</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_8" id="ixv-620">2023-06-27</ffd:CfwdPrrFctvDt>
    <ffd:OfferingSctyTp contextRef="offrl_9" id="ixv-621">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_9" id="ixv-622"> Warrants </ffd:OfferingSctyTitl>
    <ffd:Rule415a6Flg contextRef="offrl_9" id="ixv-623">true</ffd:Rule415a6Flg>
    <ffd:CfwdFormTp contextRef="offrl_9" id="ixv-624">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_9" id="ixv-625">333-270985</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_9" id="ixv-626">2023-06-27</ffd:CfwdPrrFctvDt>
    <ffd:OfferingSctyTp contextRef="offrl_10" id="ixv-627">Unallocated (Universal) Shelf</ffd:OfferingSctyTp>
    <ffd:Rule415a6Flg contextRef="offrl_10" id="ixv-628">true</ffd:Rule415a6Flg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_10"
      decimals="2"
      id="ixv-629"
      unitRef="USD">300000000.00</ffd:MaxAggtOfferingPric>
    <ffd:CfwdFormTp contextRef="offrl_10" id="ixv-630">F-3</ffd:CfwdFormTp>
    <ffd:CfwdPrrFileNb contextRef="offrl_10" id="ixv-631">333-270985</ffd:CfwdPrrFileNb>
    <ffd:CfwdPrrFctvDt contextRef="offrl_10" id="ixv-632">2023-06-27</ffd:CfwdPrrFctvDt>
    <ffd:CfwdPrevslyPdFee
      contextRef="offrl_10"
      decimals="2"
      id="ixv-633"
      unitRef="USD">33060.00</ffd:CfwdPrevslyPdFee>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-634" unitRef="USD">400000000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-635" unitRef="USD">13810.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-636" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-637" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-638" unitRef="USD">13810.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_6" id="ixv-639">The registrant is registering under this registration statement such indeterminate number of ordinary shares, such indeterminate principal amount of debt securities, such indeterminate number of warrants to purchase ordinary shares and/or debt securities, such indeterminate number of rights, and such indeterminate number of units as may be sold by the Registrant from time to time at unspecified prices, which shall have an aggregate initial offering price not to exceed $400,000,000.00. If any debt securities are issued at an original issue discount, then the principal amount of such debt securities shall be in such greater amount as shall result in an aggregate initial offering price not to exceed $400,000,000.00, less the aggregate dollar amount of all securities previously issued hereunder. The securities registered for sale also include such indeterminate number of shares of ordinary shares as may be issued upon conversion of debt securities and such indeterminate number of ordinary shares and warrants and principal amount of debt securities that may be issued upon exercise of warrants or rights. In addition, pursuant to Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), the shares being registered hereunder include such indeterminate number of ordinary shares as may be issuable with respect to the shares being registered hereunder as a result of share splits, share dividends or similar transactions. The proposed maximum offering price per share will be determined, from time to time, by the registrant in connection with the issuance by the registrant of the securities registered hereunder and is not specified as to each class of security pursuant to Instruction 2.A.iii.b. to the Calculation of Filing Fee Tables and Related Disclosure on Item 16(b) of Form F-3 under the Securities Act. Separate consideration may or may not be received for securities that are issuable upon the conversion or exercise of, or in exchange for, other securities offered hereby.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_10" id="ixv-640">Pursuant to Rule 415(a)(6) under the Securities Act, the securities registered pursuant to this registration statement include $300,000,000.00 of unsold securities (the "Unsold Securities") previously registered pursuant to the Registration Statement on Form F-3 (File No. 333-270985), which was declared effective on June 27, 2023 (the "Prior Registration Statement"). In connection with the filing of the Prior Registration Statement, the Registrant paid a filing fee of $33,060.00 associated with the offering of the Unsold Securities (based on the filing fee rate in effect at the time of the filing of the Prior Registration Statement). The filing fee associated with the offering of the Unsold Securities is hereby carried forward to be applied to the Unsold Securities registered hereunder, and no additional filing fee is due with respect to the Unsold Securities in connection with the filing of this Registration Statement. The Registrant is also registering new securities on this registration statement with an aggregate offering price of $100,000,000.00 (the "New Securities"), which aggregate offering price is not specified as to each class of securities. A filing fee of $13,810.00 with respect to the New Securities is being paid in connection with the filing of this registration statement. To the extent that, after the filing date hereof and prior to the effectiveness of this registration statement, the Registrant sells any Unsold Securities pursuant to the Prior Registration Statement, the Registrant will identify in a pre-effective amendment to this registration statement the updated number of Unsold Securities from the Prior Registration Statement to be included in this registration statement pursuant to Rule 415(a)(6) and the updated amount of new securities to be registered on this registration statement. Pursuant to Rule 415(a)(6), the offering of securities under the Prior Registration Statement will be deemed terminated as of the date of effectiveness of this registration statement.</ffd:OfferingNote>
</xbrl>
