<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:HYLS="http://ftportfolios.com/20251031"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="hyls-20251031.xsd" xlink:type="simple"/>
    <context id="AsOf2025-10-31">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001517936</identifier>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="From2025-10-312025-10-31_custom_S000039493Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001517936</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">HYLS:S000039493Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2025-10-31" id="Fact000003">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="AsOf2025-10-31" id="Fact000004">2026-11-03</dei:DocumentCreationDate>
    <dei:DocumentEffectiveDate contextRef="AsOf2025-10-31" id="Fact000005">2026-11-03</dei:DocumentEffectiveDate>
    <dei:EntityInvCompanyType contextRef="AsOf2025-10-31" id="Fact000006">N-1A</dei:EntityInvCompanyType>
    <dei:EntityCentralIndexKey contextRef="AsOf2025-10-31" id="Fact000007">0001517936</dei:EntityCentralIndexKey>
    <dei:DocumentPeriodEndDate contextRef="AsOf2025-10-31" id="Fact000013">2025-10-31</dei:DocumentPeriodEndDate>
    <dei:DocumentType contextRef="AsOf2025-10-31" id="Fact000014">497</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="AsOf2025-10-31" id="Fact000015">First Trust Exchange-Traded Fund IV</dei:EntityRegistrantName>
    <oef:SupplementToProspectusTextBlock
      contextRef="From2025-10-312025-10-31_custom_S000039493Member"
      id="Fact000016">

&lt;p style="font: 10pt/12pt Arial, Helvetica, Sans-Serif; margin: 10pt 0 -0.15in; text-transform: uppercase; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt/12pt Arial, Helvetica, Sans-Serif; margin: 0pt 0 -0.25in; text-transform: uppercase; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt/12pt Arial, Helvetica, Sans-Serif; margin-right: 0; margin-bottom: 0; margin-left: 0; text-align: justify"&gt;Notwithstanding anything to the contrary
in the Fund&#x2019;s Prospectus, the &#x201c;Fees and Expenses of the Fund&#x201d; section in the Fund&#x2019;s prospectus is replaced in
its entirety with the following:&lt;/p&gt;

&lt;p style="font: 10pt/13.05pt Arial, Helvetica, Sans-Serif; margin: 6pt 0 0; text-align: left"&gt;&lt;b&gt;Fees and Expenses of the Fund&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 12pt/3.2pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt/12pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: justify"&gt;The following table describes the fees and expenses
you may pay if you buy, hold and sell shares of the Fund. &lt;b&gt;Investors may pay other fees, such as brokerage commissions and other fees
to financial intermediaries, which are not reflected in the table and example below.&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 10pt/10.8pt Arial, Helvetica, Sans-Serif; margin: 6pt 0 0; text-align: left"&gt;&lt;b&gt;Shareholder &lt;span style="font-size: 9pt"&gt;Fees&lt;br/&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 9pt"&gt;(&lt;/span&gt;fees paid directly from your investment&lt;span style="font-size: 9pt"&gt;)&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 12pt/2.2pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="width: 100%; border-collapse: collapse"&gt;
  &lt;tr&gt;
    &lt;td style="border-top: black 1pt solid; vertical-align: top; width: 91%; border-bottom: black 1pt solid; font: 10pt/10pt Arial, Helvetica, Sans-Serif; padding-top: 2pt; padding-bottom: 4pt; text-align: left"&gt;Maximum Sales Charge (Load) Imposed on Purchases (as a percentage of offering price)&lt;/td&gt;
    &lt;td style="border-top: black 1pt solid; width: 9%; border-bottom: black 1pt solid; font: 10pt/10pt Arial, Helvetica, Sans-Serif; padding-top: 2pt; padding-bottom: 2pt; text-align: center"&gt;None&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 10pt/3.5pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt/9pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt/10.8pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&lt;b&gt;Annual Fund Operating Expenses&lt;span style="font-size: 9pt"&gt;&lt;br/&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 9pt"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;&lt;/p&gt;

&lt;p style="font: 12pt/1.7pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Arial, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="width: 91%; padding-top: 2pt; padding-bottom: 2pt; padding-left: 15.1pt; text-align: left; line-height: 10pt"&gt;Management Fees&lt;/td&gt;
    &lt;td style="width: 9%; padding-top: 2pt; padding-bottom: 2pt; text-align: center; line-height: 10pt"&gt;0.69%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="padding-top: 2pt; padding-bottom: 2pt; padding-left: 15.1pt; text-align: left; line-height: 10pt"&gt;Distribution and Service (12b-1) Fees&lt;/td&gt;
    &lt;td style="padding-top: 2pt; padding-bottom: 2pt; text-align: center; line-height: 10pt"&gt;0.00%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-top: 2pt; padding-bottom: 4pt; padding-left: 15.1pt; text-align: left; line-height: 10pt"&gt;Other Expenses&lt;sup&gt;(1)&lt;/sup&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 1pt solid; padding-top: 2pt; padding-bottom: 4pt; text-align: center; line-height: 10pt"&gt;0.09%&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="border-bottom: black 2.25pt solid; padding-top: 2pt; padding-left: 15.1pt; text-align: left; line-height: 10pt"&gt;Total Annual Fund Operating Expenses&lt;sup&gt;(2)&lt;/sup&gt;&lt;/td&gt;
    &lt;td style="border-bottom: black 2.25pt solid; padding-top: 2pt; padding-left: 2pt; text-align: center; line-height: 10pt"&gt;0.78%&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt/9pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Arial, Helvetica, Sans-Serif; text-align: left; margin-top: 0pt; margin-bottom: 0pt"&gt;&lt;span style="font-size: 9pt"&gt;&lt;i&gt;(1)&#x2002;Other
Expenses include margin interest.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p style="font: 12pt/3.5pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt Arial, Helvetica, Sans-Serif; text-align: left; margin-top: 0pt; margin-bottom: 0pt"&gt;&lt;span style="font-size: 9pt"&gt;&lt;i&gt;(2)&#x2002;Expenses
have been restated to reflect the current fiscal year.&lt;/i&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p style="font: 12pt/9pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt/10.8pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&lt;b&gt;&lt;i&gt;Example&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p style="font: 12pt/3.2pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 10pt/12pt Arial, Helvetica, Sans-Serif; margin: 6pt 0 0; text-align: justify"&gt;The example below is intended to help you
compare the cost of investing in the Fund with the cost of investing in other funds.&lt;/p&gt;

&lt;p style="font: 10pt/12pt Arial, Helvetica, Sans-Serif; margin: 6pt 0 0; text-align: justify"&gt;The example assumes that you invest $10,000
in the Fund for the time periods indicated and then hold or sell all of your shares at the end of those periods. The example also assumes
that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain at current levels. Although your actual
costs may be higher or lower, based on these assumptions your costs would be:&lt;/p&gt;

&lt;p style="font: 12pt/8.2pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;p style="font: 12pt/3.75pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

&lt;table cellpadding="0" cellspacing="0" style="font: 10pt Arial, Helvetica, Sans-Serif; width: 100%; border-collapse: collapse"&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="border-bottom: Black 1pt solid; width: 25%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1pt solid; width: 25%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;3 Years&lt;/b&gt;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1pt solid; width: 25%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;5 Years&lt;/b&gt;&lt;/td&gt;
    &lt;td style="border-bottom: Black 1pt solid; width: 25%; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;&lt;b&gt;10 Years&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr style="vertical-align: top"&gt;
    &lt;td style="border-bottom: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;$80&lt;/td&gt;
    &lt;td style="border-bottom: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;$249&lt;/td&gt;
    &lt;td style="border-bottom: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;$433&lt;/td&gt;
    &lt;td style="border-bottom: Black 1pt solid; padding-right: 5.4pt; padding-left: 5.4pt; text-align: center"&gt;$966&lt;/td&gt;&lt;/tr&gt;
  &lt;/table&gt;
&lt;p style="font: 12pt/9pt Arial, Helvetica, Sans-Serif; margin: 0; text-align: left"&gt;&#160;&lt;/p&gt;

</oef:SupplementToProspectusTextBlock>
</xbrl>
