<?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">0002087035</identifier>
        </entity>
        <period>
            <startDate>2026-07-08</startDate>
            <endDate>2026-07-08</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002087035</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-08</startDate>
            <endDate>2026-07-08</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002087035</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-08</startDate>
            <endDate>2026-07-08</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002087035</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-08</startDate>
            <endDate>2026-07-08</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002087035</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-08</startDate>
            <endDate>2026-07-08</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002087035</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-08</startDate>
            <endDate>2026-07-08</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002087035</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-08</startDate>
            <endDate>2026-07-08</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-443">S-1</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-444">S-1/A</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-445">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:RegnFileNb contextRef="rc" id="ixv-446">333-292005</ffd:RegnFileNb>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-447">0002087035</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-448">AfterNext Acquisition I Corp.</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:FormTp contextRef="rc" id="ixv-521">S-1</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-522">AfterNext Acquisition I Corp.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-523">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-524">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-525">Class A Ordinary Shares underlying the Rights included as part of the Units </ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-526">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="0"
      id="ixv-527"
      unitRef="Shares">575000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-528"
      unitRef="USD">10.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-529"
      unitRef="USD">5750000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-530"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-531"
      unitRef="USD">794.07</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-532">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-533">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-534">Redeemable Warrants included as part of the Units</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_2" id="ixv-535">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="0"
      id="ixv-536"
      unitRef="Shares">11500000</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-537"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-538"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-539"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-540">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-541">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-542">Units, each consisting of one Class A Ordinary Share, $0.0001 par value, and one right to receive one-fourth of one Class A Ordinary Share and one warrant</ffd:OfferingSctyTitl>
    <ffd:Rule457aFlg contextRef="offrl_3" id="ixv-543">true</ffd:Rule457aFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_3"
      decimals="0"
      id="ixv-544"
      unitRef="Shares">11500000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_3"
      decimals="2"
      id="ixv-545"
      unitRef="USD">10.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-546"
      unitRef="USD">115000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-547"
      unitRef="USD">15881.50</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-548">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-549">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-550">Class A Ordinary Shares, $0.0001 par value included as part of the Units </ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_4" id="ixv-551">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_4"
      decimals="0"
      id="ixv-552"
      unitRef="Shares">11500000</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_4"
      decimals="2"
      id="ixv-553"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="offrl_4"
      decimals="2"
      id="ixv-554"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_5" id="ixv-555">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-556">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-557">Rights included as part of the Units </ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_5" id="ixv-558">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_5"
      decimals="0"
      id="ixv-559"
      unitRef="Shares">11500000</ffd:AmtSctiesRegd>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_5"
      decimals="2"
      id="ixv-560"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="offrl_5"
      decimals="2"
      id="ixv-561"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_6" id="ixv-562">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-563">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_6" id="ixv-564">Class A Ordinary Shares underlying the Rights included as part of the Units </ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_6" id="ixv-565">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_6"
      decimals="0"
      id="ixv-566"
      unitRef="Shares">2300000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_6"
      decimals="2"
      id="ixv-567"
      unitRef="USD">10.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_6"
      decimals="2"
      id="ixv-568"
      unitRef="USD">23000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="offrl_6"
      decimals="2"
      id="ixv-569"
      unitRef="USD">3176.30</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-570" unitRef="USD">143750000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-571" unitRef="USD">19851.87</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-572" unitRef="USD">19057.80</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-573" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-574" unitRef="USD">794.07</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-575">Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act of 1933, as amended (the "Securities Act"). </ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-576">(1) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act of 1933, as amended (the "Securities Act"). (3) Pursuant to Rule 416, there are also being registered an indeterminable number of additional securities as may be issued to prevent dilution resulting from stock splits, stock dividends or similar transactions. (4) No fee pursuant to Rule 457(g).

</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-577">(1) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act of 1933, as amended (the "Securities Act"). (2) Represents 11,500,000 units, including 10,000,000 units to be issued in the offering and up to 1,500,000 units which may be issued upon exercise of a 45-day option granted to the underwriters to cover over-allotments, if any, each consisting of one Class A Ordinary Share and one right entitling the holder to receive one-fourth of one Class A Ordinary Share. </ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_4" id="ixv-578">(1) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act of 1933, as amended (the "Securities Act"). (3) Pursuant to Rule 416, there are also being registered an indeterminable number of additional securities as may be issued to prevent dilution resulting from stock splits, stock dividends or similar transactions. (4) No fee pursuant to Rule 457(g). </ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_5" id="ixv-579">(1) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act of 1933, as amended (the "Securities Act"). (3) Pursuant to Rule 416, there are also being registered an indeterminable number of additional securities as may be issued to prevent dilution resulting from stock splits, stock dividends or similar transactions. (4) No fee pursuant to Rule 457(g). </ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_6" id="ixv-580">(1) Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act of 1933, as amended (the "Securities Act"). </ffd:OfferingNote>
</xbrl>
