<?xml version="1.0" encoding="utf-8"?>
<xbrl
  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="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000357301</identifier>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000357301</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-22</startDate>
            <endDate>2026-05-22</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usdPershares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c0" id="ixv-215">S-8</ffd:SubmissnTp>
    <ffd:FormTp contextRef="c0" id="ixv-216">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-24">TRUSTCO BANK CORP N Y</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="c1" id="ixv-217">Equity</ffd:OfferingSctyTp>
    <ffd:PrevslyPdFlg contextRef="c1" id="ixv-218">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTitl contextRef="c1" id="ixv-219">Common stock, par value $1.00 per share</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c1" id="ixv-220">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c1"
      decimals="INF"
      id="ixv-221"
      unitRef="shares">500000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c1"
      decimals="INF"
      id="ixv-222"
      unitRef="usdPershares">50.05</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c1" decimals="INF" id="ixv-223" unitRef="usd">25025000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c1" decimals="INF" id="ixv-224" unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c1" decimals="2" id="ixv-225" unitRef="usd">3455.95</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c0" decimals="INF" id="ixv-226" unitRef="usd">25025000</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c0" decimals="2" id="ixv-227" unitRef="usd">3455.95</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c0" decimals="2" id="ixv-228" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c0" decimals="2" id="ixv-229" unitRef="usd">3455.95</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c1" id="ixv-105">&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt; &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt; &lt;td style="padding: 0px 0pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;(1)&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;td style="padding: 0px 5.4pt; text-align: left; font-size: 10pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; TrustCo Bank Corp NY, a New York Corporation (the "Registrant") is filing this Registration Statement on Form S-8 (this "Registration Statement") to register the issuance of an additional 500,000 shares of common stock, par value $1.00 per share (the "Shares"), of the Registrant, which are issuable pursuant to the TrustCo Bank Corp NY Amended and Restated 2019 Equity Incentive Plan (as amended to date, the "Plan").&lt;br/&gt;&lt;br/&gt;Pursuant to Rule 416(a) under the Securities Act of 1933, as amended (the "Securities Act"), this Registration Statement shall also cover any additional Shares of the Registrant that become issuable under the Plan by reason of any stock split, stock dividend or other similar transaction effected without receipt of consideration that increases the number of outstanding Shares of the Registrant.&lt;br/&gt;&lt;br/&gt;The Proposed Maximum Offering Price Per Unit and Maximum Aggregate Offering Price presented herein are estimated solely for the purpose of calculating the registration fee pursuant to Rules 457(c) and 457(h) under the Securities Act. The price per share and aggregate offering price are based upon the average of the high and low prices of the Shares as of a date (May 21, 2026) within five business days prior to the filing of this Registration Statement, as reported on the NASDAQ Global Select Market.&lt;br/&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;</ffd:OfferingNote>
    <ffd:OffsetTableNa contextRef="c0" id="hidden-fact-0">N/A</ffd:OffsetTableNa>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-233">0000357301</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c0" id="ixv-234">EX-FILING FEES</ffd:FeeExhibitTp>
</xbrl>
