<?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"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="AsOf2026-09-02">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001195739</identifier>
        </entity>
        <period>
            <startDate>2026-09-02</startDate>
            <endDate>2026-09-02</endDate>
        </period>
    </context>
    <context id="From2026-09-022026-09-02_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001195739</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-02</startDate>
            <endDate>2026-09-02</endDate>
        </period>
    </context>
    <context id="From2026-09-022026-09-02_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001195739</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-02</startDate>
            <endDate>2026-09-02</endDate>
        </period>
    </context>
    <context id="From2026-09-022026-09-02_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001195739</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-02</startDate>
            <endDate>2026-09-02</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Ratio">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-09-02" id="Fact000003">0001195739</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="AsOf2026-09-02" id="xdx2ixbrl0009">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:SubmissnTp contextRef="AsOf2026-09-02" id="xdx2ixbrl0011">N-2ASR</ffd:SubmissnTp>
    <ffd:FeeRate
      contextRef="From2026-09-022026-09-02_1"
      id="xdx2ixbrl0017"
      unitRef="Ratio"
      xsi:nil="true"/>
    <ffd:FeeRate
      contextRef="From2026-09-022026-09-02_2"
      id="xdx2ixbrl0022"
      unitRef="Ratio"
      xsi:nil="true"/>
    <ffd:OfferingSctyTp contextRef="From2026-09-022026-09-02_3" id="xdx2ixbrl0025">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="From2026-09-022026-09-02_3" id="xdx2ixbrl0026">Unallocated (Universal) Shelf</ffd:OfferingSctyTitl>
    <ffd:FeeRate
      contextRef="From2026-09-022026-09-02_3"
      id="xdx2ixbrl0028"
      unitRef="Ratio"
      xsi:nil="true"/>
    <ffd:OfferingTableNa
      contextRef="AsOf2026-09-02"
      id="xdx2ixbrl0036"
      xsi:nil="true"/>
    <ffd:FormTp contextRef="AsOf2026-09-02" id="Fact000010">N-2</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="AsOf2026-09-02" id="Fact000012">Nuveen New York AMT-Free Quality Municipal Income Fund</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="From2026-09-022026-09-02_1" id="Fact000013">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="From2026-09-022026-09-02_1" id="Fact000014">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="From2026-09-022026-09-02_1" id="Fact000015">Common Shares, $0.01 par value per share, and Preferred Shares</ffd:OfferingSctyTitl>
    <ffd:Rule457rFlg contextRef="From2026-09-022026-09-02_1" id="Fact000016">true</ffd:Rule457rFlg>
    <ffd:PrevslyPdFlg contextRef="From2026-09-022026-09-02_2" id="Fact000018">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="From2026-09-022026-09-02_2" id="Fact000019">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="From2026-09-022026-09-02_2" id="Fact000020">Rights to purchase Common Shares</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="From2026-09-022026-09-02_2" id="Fact000021">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeAmt
      contextRef="From2026-09-022026-09-02_2"
      decimals="INF"
      id="Fact000023"
      unitRef="USD">0</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="From2026-09-022026-09-02_3" id="Fact000024">false</ffd:PrevslyPdFlg>
    <ffd:Rule457rFlg contextRef="From2026-09-022026-09-02_3" id="Fact000027">true</ffd:Rule457rFlg>
    <ffd:TtlOfferingAmt
      contextRef="AsOf2026-09-02"
      decimals="INF"
      id="Fact000029"
      unitRef="USD">0</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="AsOf2026-09-02"
      decimals="INF"
      id="Fact000030"
      unitRef="USD">0</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="AsOf2026-09-02"
      decimals="INF"
      id="Fact000031"
      unitRef="USD">0</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="AsOf2026-09-02"
      decimals="INF"
      id="Fact000032"
      unitRef="USD">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="AsOf2026-09-02"
      decimals="INF"
      id="Fact000033"
      unitRef="USD">0</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="From2026-09-022026-09-02_1" id="Fact000034">In accordance with Rule 456(b) and Rule 457(r) under the Securities Act of 1933, as amended, the Registrant is deferring payment of all of the registration fees and will pay any registration fees subsequently in advance or on a pay-as-you-go basis.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="From2026-09-022026-09-02_3" id="Fact000035">In accordance with Rule 456(b) and Rule 457(r) under the Securities Act of 1933, as amended, the Registrant is deferring payment of all of the registration fees and will pay any registration fees subsequently in advance or on a pay-as-you-go basis.</ffd:OfferingNote>
    <ffd:OffsetTableNa contextRef="AsOf2026-09-02" id="Fact000037">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="AsOf2026-09-02" id="Fact000038">N/A</ffd:CombinedProspectusTableNa>
    <ffd:OfferingNote contextRef="From2026-09-022026-09-02_2" id="Fact000039">&lt;span style="visibility: hidden"&gt;See Note 1.&lt;/span&gt;</ffd:OfferingNote>
</xbrl>
