<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:fnd="http://xbrl.sec.gov/fnd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ft12998-20260611.xsd" xlink:type="simple"/>
    <context id="AsOf2026-06-11">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002119998</identifier>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-06-11" id="Fact000003">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-06-11" id="Fact000004">0002119998</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="AsOf2026-06-11" id="Fact000010">S-6</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="AsOf2026-06-11" id="Fact000011">FT 12998</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate contextRef="AsOf2026-06-11" id="Fact000012">2026-06-11</dei:DocumentPeriodEndDate>
    <fnd:NmRule35d1TermDfnTextBlock contextRef="AsOf2026-06-11" id="Fact000013">

&lt;p style="font: bold 11pt/12pt Times New Roman, Times, Serif; margin: 4pt 0 1pt"&gt;Objectives.&lt;/p&gt;

&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;The Trust seeks current monthly income,
with capital appreciation as a secondary objective, by investing in a diversified portfolio of income-generating ETFs.&lt;/p&gt;

</fnd:NmRule35d1TermDfnTextBlock>
    <fnd:NmRule35d1TermSlctnCritTextBlock contextRef="AsOf2026-06-11" id="Fact000014">

&lt;p style="font: bold 11pt/12pt Times New Roman, Times, Serif; margin: 4pt 0 1pt"&gt;Portfolio Selection Process.&lt;/p&gt;

&lt;p style="font: 10pt/10pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;The portfolio consists of First Trust ETFs
advised by First Trust Advisors L.P., an affiliate of the Trust&#x2019;s Sponsor. The Funds held by the Trust invest in dividend-paying
common stocks across all market capitalizations. In addition, all of the Funds held by the Trust will write call options on individual
stocks and/or on stock indices in order to generate premium income.&lt;/p&gt;

&lt;p style="font: 10pt/10pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;The ETFs in the portfolio were selected
based on a number of factors including, but not limited to, the size and liquidity of the ETFs (requiring a minimum market capitalization
of $50,000,000), the current dividend yield of the ETFs (prioritizing ETFs with the highest dividend yields), a minimum of six months
of trading history, and the quality and character of the securities held by the ETF (considering the consistency and reliability of dividends
from the common stocks and premium income from the call options). All other factors being equal, the Sponsor will select ETFs with lower
expense ratios, while attempting to limit the overlap of the securities held by the ETFs. The Trust&#x2019;s portfolio will include both
actively managed ETFs and ETFs that track an index. The Trust&#x2019;s final portfolio is comprised of six approximately equally weighted
ETFs. The six ETFs included in the Trust&#x2019;s portfolio were selected based on the criteria described above.&lt;/p&gt;

&lt;p style="font: 10pt/10pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;In connection with the Trust&#x2019;s investments
in ETFs advised by First Trust Advisors L.P., an affiliate of the Trust&#x2019;s Sponsor, First Trust Advisors L.P. will receive advisory
fees from the underlying ETFs which it would not otherwise receive if the Trust invested solely in ETFs advised by unaffiliated third-parties.
This may provide an incentive for the Sponsor to select ETFs advised by First Trust Advisors L.P. over ETFs advised by unaffiliated third-parties.
The Sponsor may invest in an affiliated ETF even in circumstances where an unaffiliated ETF may have lower fees or better performance
over certain time periods. However, the Sponsor selected what it considered to be the best suited ETFs to achieve the Trust&#x2019;s investment
objectives even though there may be other ETFs, including those advised by unaffiliated third-parties, that provide similar results.&lt;/p&gt;

&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;As with any similar investments, there
can be no guarantee that the objectives of the Trust will be achieved. See &#x201c;Risk Factors&#x201d; for a discussion of the risks of
investing in the Trust.&lt;/p&gt;

</fnd:NmRule35d1TermSlctnCritTextBlock>
</xbrl>
