<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  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">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000023197</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-23</startDate>
            <endDate>2026-03-23</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000023197</identifier>
        </entity>
        <period>
            <startDate>2026-03-23</startDate>
            <endDate>2026-03-23</endDate>
        </period>
    </context>
    <context id="c-3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000023197</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-23</startDate>
            <endDate>2026-03-23</endDate>
        </period>
    </context>
    <context id="c-4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000023197</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-03-23</startDate>
            <endDate>2026-03-23</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="c-2" id="f-35">0000023197</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="c-2" id="f-36">COMTECH TELECOMMUNICATIONS CORP /DE/</dei:EntityRegistrantName>
    <ffd:FormTp contextRef="c-2" id="f-37">S-8</ffd:FormTp>
    <ffd:SubmissnTp contextRef="c-2" id="f-38">S-8</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c-2" id="f-39">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OfferingSctyTp contextRef="c-1" id="f-1">Equity</ffd:OfferingSctyTp>
    <ffd:PrevslyPdFlg contextRef="c-1" id="f-2">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTitl contextRef="c-1" id="f-3">Common Stock, $0.10 par value per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c-1" id="f-4">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd contextRef="c-1" decimals="0" id="f-5" unitRef="shares">2800000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty contextRef="c-1" decimals="2" id="f-6" unitRef="usd">3.59</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c-1" decimals="0" id="f-7" unitRef="usd">10052000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c-1" decimals="8" id="f-8" unitRef="number">0.00013810</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c-1" decimals="2" id="f-9" unitRef="usd">1388.18</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c-2" decimals="0" id="f-10" unitRef="usd">10052000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c-2" decimals="2" id="f-11" unitRef="usd">1388.18</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c-2" decimals="2" id="f-12" unitRef="usd">1388.18</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c-2" decimals="2" id="f-13" unitRef="usd">0</ffd:NetFeeAmt>
    <ffd:OffsetClmdInd contextRef="c-3" id="f-14">true</ffd:OffsetClmdInd>
    <ffd:OffsetPrrFilerNm contextRef="c-3" id="f-15">Comtech Telecommunications Corp.</ffd:OffsetPrrFilerNm>
    <ffd:Rule457pOffsetFlg contextRef="c-3" id="f-16">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFormTp contextRef="c-3" id="f-17">S-4</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="c-3" id="f-18">333-236840</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="c-3" id="f-19">2020-03-02</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt contextRef="c-3" decimals="2" id="f-20" unitRef="usd">1388.18</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="c-3" id="f-21">Equity</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrSctyTitl contextRef="c-3" id="f-22">Common Stock, $0.10 par value per share</ffd:OffsetPrrSctyTitl>
    <ffd:OffsetPrrNbOfUnsoldScties contextRef="c-3" decimals="0" id="f-23" unitRef="shares">4854979</ffd:OffsetPrrNbOfUnsoldScties>
    <ffd:OffsetPrrUnsoldOfferingAmt contextRef="c-3" decimals="2" id="f-24" unitRef="usd">141759620.52</ffd:OffsetPrrUnsoldOfferingAmt>
    <ffd:OffsetClmdInd contextRef="c-4" id="f-25">false</ffd:OffsetClmdInd>
    <ffd:OffsetPrrFilerNm contextRef="c-4" id="f-26">Comtech Telecommunications Corp.</ffd:OffsetPrrFilerNm>
    <ffd:Rule457pOffsetFlg contextRef="c-4" id="f-27">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFormTp contextRef="c-4" id="f-28">S-4</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="c-4" id="f-29">333-236840</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="c-4" id="f-30">2020-03-02</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt contextRef="c-4" decimals="0" id="f-31" unitRef="usd">18400</ffd:OffsetPrrFeeAmt>
    <ffd:OfferingNote contextRef="c-1" id="f-32">&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:100%"&gt;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), this Registration Statement shall also cover any additional shares of Common Stock that may become issuable as a result of stock splits, stock dividends, recapitalization or other similar transactions.&lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:100%"&gt;Amount of Registration Fee, estimated based on $3.59, the average of the high and low prices of the shares of the Registrant&#x2019;s Common Stock on The Nasdaq Global Select Market on March 17, 2026 (such date being within five business days of the date that this registration statement was first filed with the Securities and Exchange Commission, in accordance with Rule 457(c) and 457(h) of the Securities Act). &lt;/span&gt;&lt;span style="color:#000000;font-family:'Times New Roman',serif;font-size:8pt;font-weight:400;line-height:100%"&gt;Amount registered represents shares of the Registrant's Common Stock which shall become available for issuance under the Comtech Telecommunications Corp. 2023 Equity and Incentive Plan, as amended.&lt;/span&gt;</ffd:OfferingNote>
    <ffd:TermntnCmpltnWdrwl contextRef="c-3" id="f-34">A filing fee of $18,400 was previously paid in connection with the Registrant&#x2019;s March 2, 2020 filing of a registration statement on Form S-4 (File No. 333-236840) registering $141,759,620.52 in aggregate offering amount of the Registrant&#x2019;s Common Stock (as amended, the &#x201c;Prior Registration Statement&#x201d;). The Prior Registration Statement was subsequently withdrawn on October 15, 2020 and no securities were sold thereunder. Pursuant to Rule 457(p) under the Securities Act, the Registrant previously offset $4,104.35 of the total filing fee due under its Registration Statement on Form S-3 (File Number 333-253827), filed on March 3, 2021, $518.76 of the total filing fee due under its Registration Statement on Form S-3 (File Number 333-266120), filed on July 13, 2022, $3,208.63 of the total filing fee due under its Registration Statement on Form S-8 (File Number 333-269266), filed on January 17, 2023, $2,072.50 of the total filing fee due under its Registration Statement on Form S-8 (File Number 333-276126), filed on December 18, 2023, $678.20 of the total filing fee due under its Registration Statement on Form S-1 (File Number 333-280839), filed on July 16, 2024, and $870.38 of the total filing fee due under its Registration Statement on Form S-8 (File Number 333-284414), filed on January 22, 2025, leaving a remaining balance of $6,947.18 available for future fee offsets by the Registrant. Accordingly, in accordance with Rule 457(p) of the Securities Act, such previously paid filing fee will offset the filing fee of $1,388.18 currently due pursuant to this registration statement.</ffd:TermntnCmpltnWdrwl>
    <ffd:OffsetNote contextRef="c-3" id="f-33">A filing fee of $18,400 was previously paid in connection with the Registrant&#x2019;s March 2, 2020 filing of a registration statement on Form S-4 (File No. 333-236840) registering $141,759,620.52 in aggregate offering amount of the Registrant&#x2019;s Common Stock (as amended, the &#x201c;Prior Registration Statement&#x201d;). The Prior Registration Statement was subsequently withdrawn on October 15, 2020 and no securities were sold thereunder. Pursuant to Rule 457(p) under the Securities Act, the Registrant previously offset $4,104.35 of the total filing fee due under its Registration Statement on Form S-3 (File Number 333-253827), filed on March 3, 2021, $518.76 of the total filing fee due under its Registration Statement on Form S-3 (File Number 333-266120), filed on July 13, 2022, $3,208.63 of the total filing fee due under its Registration Statement on Form S-8 (File Number 333-269266), filed on January 17, 2023, $2,072.50 of the total filing fee due under its Registration Statement on Form S-8 (File Number 333-276126), filed on December 18, 2023, $678.20 of the total filing fee due under its Registration Statement on Form S-1 (File Number 333-280839), filed on July 16, 2024, and $870.38 of the total filing fee due under its Registration Statement on Form S-8 (File Number 333-284414), filed on January 22, 2025, leaving a remaining balance of $6,947.18 available for future fee offsets by the Registrant. Accordingly, in accordance with Rule 457(p) of the Securities Act, such previously paid filing fee will offset the filing fee of $1,388.18 currently due pursuant to this registration statement.</ffd:OffsetNote>
</xbrl>
