<?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="ft13164-20260727.xsd" xlink:type="simple"/>
    <context id="AsOf2026-07-27">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002136504</identifier>
        </entity>
        <period>
            <startDate>2026-07-27</startDate>
            <endDate>2026-07-27</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-07-27" id="Fact000003">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-07-27" id="Fact000004">0002136504</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="AsOf2026-07-27" id="Fact000010">S-6</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="AsOf2026-07-27" id="Fact000011">FT 13164</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate contextRef="AsOf2026-07-27" id="Fact000012">2026-07-27</dei:DocumentPeriodEndDate>
    <fnd:NmRule35d1TermDfnTextBlock contextRef="AsOf2026-07-27" id="Fact000013">

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

&lt;p style="font: 10pt/10pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;The
Trust seeks above-average capital appreciation. &lt;/span&gt;The Trust is concentrated &lt;span style="letter-spacing: -0.05pt"&gt;(i.e., invests
25% or more of Trust assets) &lt;/span&gt;in common stocks of companies within each of the industrials and utilities sectors.&lt;/p&gt;

</fnd:NmRule35d1TermDfnTextBlock>
    <fnd:NmRule35d1TermSlctnCritTextBlock contextRef="AsOf2026-07-27" 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/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;Under
normal circumstances, the Trust will invest at least 80% of its net assets in Power and Resources Companies (as defined herein) selected
by the Sponsor from a list of companies identified by analysts of UBS Financial Services Inc.&#x2019;s (&#x201c;UBS&#x201d;) Chief Investment
Office Global Wealth Management (&#x201c;CIO&#x201d;) (the &#x201c;Analysts&#x201d;). The Analysts define Power and Resources Companies as
those companies that participate in or support the electrification value chain. The electrification value chain refers to the series of
processes and activities involved in producing, generating, transmitting, distributing, and utilizing electrical energy. &lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;The
initial universe of the list begins with common stocks listed on a U.S. stock exchange that have a market capitalization greater than
$5 billion and an average monthly trading volume of more than $20 million. In order to be eligible for inclusion in its list of Power
and Resources Companies, the Analysts must determine that a company is materially involved in one or more of the following processes that
support the electrification value chain:&lt;/span&gt;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Raw Materials: &lt;/b&gt;Extraction of raw materials used for the production of electricity, including fossil fuels and industrial metals such as copper or aluminum. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Generation&lt;/b&gt;: Initial production of electricity, which is generated from various sources, including fossil fuels (coal, natural gas), nuclear power, and renewable energy sources (solar, wind, hydroelectric).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Transmission&lt;/b&gt;: Transmission of electricity via high-voltage lines to reach distribution centers.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Distribution:&lt;/b&gt; Distribution of electricity to end-users through substations (facilities that house transformers and other equipment to facilitate distribution of electricity), transformers (devices that change the voltage of electricity), and distribution lines (which carry electricity from substations to end-users).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Utilization&lt;/b&gt;: Utilization of electricity by end-users for applications, such as lighting, heating, cooling, and powering devices. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;A
company is considered to have material involvement in one or more of the above processes that support the electrification value chain
if it demonstrates substantial, direct, and ongoing business exposure to such process. &lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;From
the universe of identified Power and Resources Companies, the Analysts also consider the following factors when selecting companies for
inclusion in the final list: &lt;/span&gt;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Attractive free cash flow:&lt;/b&gt; Companies are evaluated based on free cash flow metrics, with a preference for those expected to demonstrate improving free cash flow per share.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Growth potential:&lt;/b&gt; Preference is given to companies with strong earnings growth prospects. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Valuation comparisons with peers. &lt;/b&gt;Companies trading at discounts to peers are considered attractive investment opportunities.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Infrastructure and electrification benefits:&lt;/b&gt; Companies positioned to benefit from increased investment in grid infrastructure and electrification are favored.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Positive Enterprise Value to Earnings Before Interest, Taxes, and Amortization (EBITA) multiples. &lt;/b&gt;Companies with favorable enterprise value (the measure of a company&#x2019;s total value) to EBITA (the measure of a company&#x2019;s profitability) ratios are favored. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" style="font: 10pt/11pt Times New Roman, Times, Serif; margin-top: 0; margin-bottom: 2pt; width: 100%"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 0"&gt;&#160;&lt;/td&gt;
    &lt;td style="width: 10pt"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&#x2022;&lt;/span&gt;&lt;/td&gt;
    &lt;td&gt;&lt;span style="letter-spacing: -0.05pt"&gt;&lt;b&gt;Favorable outlook on revenue growth. &lt;/b&gt;Companies are assessed for positive revenue growth prospects in the short, medium, or long term. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;The
Analysts reviewed the above factors in combination with each other and ultimately selected common stocks for the final list of Power and
Resources Companies that demonstrated the best investment prospects going forward in the electrification value chain over a 12-month investment
horizon. The Analysts evaluate each company&#x2019;s forecasted stock return, which combines expected price appreciation and dividend yield,
alongside factors including earnings growth, capital expenditure plans, thematic relevance, and risk to determine which Power and Resources
Companies demonstrate the best investment prospects. All factors are considered holistically over a 12-month investment horizon.&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;The
final portfolio is selected by the Sponsor from the Analysts&#x2019; list of Power and Resources Companies and the common stocks are approximately
equally weighted. To ensure adequate liquidity, the Sponsor only selects those common stocks from the Analysts&#x2019; list of Power and
Resources Companies that have enough daily liquidity to adequately support the buying and selling of the anticipated number of shares
on any given day to meet the Trust&#x2019;s purchases and/or redemption requirements. &lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;The
Trust is not sponsored or endorsed by UBS and UBS makes no representation or warranty, express or implied, to the Unit holders of the
Trust or any member of the public regarding the advisability of investing in Units of the Trust. UBS has no obligation or liability in
connection with the investment decisions made by the Sponsor or Trust or in connection with administration of the Trust. All common stocks
on the list provided by the Analysts to the Sponsor that meet the liquidity screen described above will be selected for the final portfolio.
&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt/11pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;UBS
Financial Services Inc. or its affiliates, will receive compensation in the form of brokerage commissions for sales of commission based
Units of the Trust, which may create an incentive for UBS Financial Services Inc. or its affiliates, to sell Units of the Trust. &lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 10pt/10pt Times New Roman, Times, Serif; margin: 0 0 2pt; text-indent: 0.25in"&gt;&lt;span style="letter-spacing: -0.05pt"&gt;While
not a part of the Trust&#x2019;s portfolio selection process, the Trust also invests in dividend-paying securities, foreign securities,
depositary receipts, companies headquartered or incorporated in Europe and companies with various market capitalizations. &lt;/span&gt;&lt;/p&gt;

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

</fnd:NmRule35d1TermSlctnCritTextBlock>
</xbrl>
