<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2026"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dbxetf-20260717.xsd" xlink:type="simple"/>
    <context id="D_17Jul2026_17Jul2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001503123</identifier>
        </entity>
        <period>
            <startDate>2026-07-17</startDate>
            <endDate>2026-07-17</endDate>
        </period>
    </context>
    <dei:DocumentPeriodEndDate contextRef="D_17Jul2026_17Jul2026" id="apid_1">2026-07-17</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="D_17Jul2026_17Jul2026" id="apid_2">DBX ETF Trust</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="D_17Jul2026_17Jul2026" id="apid_3">0001503123</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_17Jul2026_17Jul2026" id="apid_4">false</dei:AmendmentFlag>
    <oef:ProspectusDate contextRef="D_17Jul2026_17Jul2026" id="apid_5">2025-10-01</oef:ProspectusDate>
    <dei:EntityInvCompanyType contextRef="D_17Jul2026_17Jul2026" id="apid_6">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="D_17Jul2026_17Jul2026" id="apid_7">497</dei:DocumentType>
    <oef:SupplementToProspectusTextBlock
      contextRef="D_17Jul2026_17Jul2026"
      id="x_26482e8a-776f-47ea-a76a-81c65c32f217">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;text-transform:uppercase;"&gt;SUPPLEMENT TO THE CURRENTLY EFFECTIVE SUMMARY PROSPECTUS, STATUTORY PROSPECTUS AND&lt;/span&gt;
&lt;br/&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;text-transform:uppercase;"&gt;STATEMENT OF ADDITIONAL INFORMATION&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:12pt;"&gt;Xtrackers Artificial Intelligence and Big Data ETF (XAIX)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;Effective July 20, 2026 (the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;&#x201c;Effective Date&#x201d;), the methodology of the fund&#x2019;s underlying index, the Nasdaq Global Artificial Intelligence and Big Data&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:6.5pt;position:relative;top:-4.25pt;"&gt;TM&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt; Index (the &#x201c;Underlying Index&#x201d;), will change in the following material respects:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The Underlying Index&#x2019;s data computing and processing investable universe will be expanded to include a quantum computing sub-theme.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The parent index from which the Underlying Index is derived will change from the Nasdaq Global Disruptive Technology Benchmark&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:6.5pt;position:relative;top:-4.25pt;"&gt;TM&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt; Index to the Nasdaq Global Disruptive Technology Benchmark2&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:6.5pt;position:relative;top:-4.25pt;"&gt;TM&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt; Index.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The patent data used to determine the extent to which a company has intellectual property and invests in research and development in an Underlying Index theme will be evaluated on a rolling 2-year basis rather than a 1-year basis.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;To be eligible for inclusion a security issuer must be identified by Nasdaq as involved in at least one of the sub-themes listed in the Underlying Index methodology.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The small arms and military contracting ESG screen will be eliminated.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The nuclear weapons and depleted uranium ESG screen will be narrowed to prohibit only involvement in the core weapon system or components/services of the core weapon system that are considered tailor-made and essential for the lethal use of the weapon.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;If Sustainalytics data is not available for a given security issuer, the issuer will still be eligible for inclusion in the Underlying Index except in cases of Global Compact Non-Compliance or controversial weapons, which result in ineligibility.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The Underlying Index&#x2019;s list of Primary Industrial Classification Benchmarks (ICBs) will be modified to eliminate Media Agencies, Consumer Services: Misc., Electronic Equipment: Gauges and Meters and to add Electronic Components and Production Technology Equipment.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Initial public offerings (IPOs) having a float-adjusted company market capitalization of at least $25 billion (USD) that meet certain other criteria may be included in the Underlying Index outside of the index&#x2019;s normal semiannual reconstitution and rebalancing schedule.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;In addition, China A-Shares tradable through the Stock Connect Service will be eligible for inclusion in the Underlying Index.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;Accordingly, as of such date, the fund&#x2019;s summary prospectus, prospectus and Statement of Additional Information are modified&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt; as set forth below.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;font-style:italic;"&gt;The following disclosure replaces the existing similar disclosure contained under the &#x201c;PRINCIPAL INVESTMENT STRATEGIES&#x201d;  section of the fund&#x2019;s summary prospectus and under the &#x201c;PRINCIPAL INVESTMENT STRATEGIES&#x201d; section of the summary section and in the &#x201c;FUND DETAILS&#x201d; section of the fund&#x2019;s prospectus.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Theme: Data Computing &amp;amp; Processing&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Sub-themes:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Big data: companies involved in big data develop technologies designed to collect, process and analyze large amounts of data in real-time&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Cloud computing: companies involved in cloud computing deliver on-demand, scalable computing services, including servers, storage, networking, applications and analytics over the internet (the &#x201c;cloud&#x201d;)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Cybersecurity: companies involved in cybersecurity develop, sell and support applications designed to safeguard organizations and their computer networks, data and users from cyberattacks&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Quantum computing: companies engaged in quantum computing are organizations that develop, manufacture, or commercialize quantum computing technologies, including quantum hardware, software, algorithms, and related infrastructure that leverage the principles of quantum mechanics to perform advanced computational tasks&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;Nasdaq identifies a proprietary theme and sub-theme classification used for determining exposure to innovative technologies by analyzing millions of approved patents filed across global patent offices on a rolling two-year basis. This patent data is used to determine the extent to which a company has intellectual property and invests in research and development in &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;each of the sub-themes. The themes and sub-themes represented in the Underlying Index are part of a broader set of themes and sub-themes developed by Nasdaq to classify companies engaged in so-called &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;&#x201c;disruptive technologies,&#x201d; or those technologies&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt; with the potential to change the way consumers, businesses or entire industries operate, as represented in the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Nasdaq Global Disruptive Technology Benchmark2&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:6.5pt;position:relative;top:-4.25pt;"&gt;TM&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt; Index (&#x201c;Parent Index&#x201d;).&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Underlying Index Construction Methodology&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;margin-left:0%;"&gt;Underlying Index &#x2013; Security Eligibility Criteria.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt; In order to be considered for inclusion in the Underlying Index, a security &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;must first meet the following eligibility criteria: (i) the security must be included in the Parent Index; (ii) the security must be listed on one of a number of global exchanges as identified by Nasdaq; (iii) the security&#x2019;s issuer must be identified by Nasdaq as involved in at least one of the Nasdaq sub-themes; (iv) the security must have a float-adjusted market capitalization of at &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;least $500 million; and (iv) the security must have a six-month average daily traded value of at least $2 million.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;From this initial universe, a security will be ineligible for inclusion if its issuer is identified by Sustainalytics, a global leader in sustainability research and analysis, as exhibiting any of the following Environmental, Social and Governance (&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;&#x201c;ESG&#x201d;) characteristics:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;An ESG Risk Rating of 40 or higher.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Non-compliance with the United Nations Global Compact (&#x201c;UNGC&#x201d;) principles and related international norms and standards, such as the Organization for Economic Cooperation and Development Guidelines and the United Nations Guiding Principles. The UNGC is a set of ten principles designed to measure whether a company operates in a manner that, at minimum, meets fundamental responsibilities in the areas of human rights, labor, environment and anti-corruption.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Involvement (subject to ownership and/or revenue thresholds) in tobacco products, thermal coal, oil sands, controversial weapons, civilian firearms, nuclear weapons, depleted uranium, adult entertainment or gambling.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;If Sustainalytics data is not available for a given security's issuer, the issuer remains eligible for index inclusion, except in &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;cases of Global Compact Non-Compliance or controversial weapons, which result in ineligibility.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;margin-left:0%;"&gt;Underlying Index &#x2013; Constituent Selection and Weighting.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt; Securities meeting all applicable Security Eligibility Criteria are considered for inclusion in the Index. Index constituents are then selected according to the following steps.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;First, the Index Provider calculates two scores for all eligible securities, each based on its analysis of approved patents.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The first score is based on the number of patents a company has filed for a particular sub-theme relative to all the other sub-themes for which it has also filed patents (the &#x201c;Pure Score&#x201d;); and&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The second score is measured by the number of patents the company has filed for a particular sub-theme relative to the total number of patents filed by all companies for the sub-theme (the &#x201c;Contribution Score&#x201d;).&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;Once the Pure and Contribution Scores are assigned, securities are divided into comparison groups based on a cross-section of market cap segments (large, mid and small) and sub-theme. Securities which are scored below specified thresholds, as &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;well as securities with foreign ownership limits of less than 20%, will be excluded from consideration.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;A third score is then calculated based on the number of sub-themes for which its issuing company has passed all of the eligibility criteria described above (the &#x201c;Intensity Score&#x201d;), with the score being higher for companies that have qualified in more sub-themes.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;Securities remaining for potential inclusion are then divided into two security pools, Primary Subsector securities and High Relevance securities. All securities belonging to the following Primary Industry Classification Benchmark (&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;&#x201c;ICB&#x201d;) (a product &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;of FTSE International Limited that is used under license by Nasdaq) Subsectors are identified as Primary Subsector securities: (i) Computer Services, (ii) Software, (iii) Consumer Digital Services, (iv) Semiconductors, (v) Electronic Components, (vi) Production Technology Equipment, (vii) Computer Hardware, (viii) Telecommunications Equipment, and (ix) Telecommunications Services. All other securities are identified as High Relevance securities. From these pools up to 100 securities are selected for inclusion in the Underlying Index, with High Relevance securities being limited to no more than five percent &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;(rounded down to the nearest integer) of the number of securities in the Primary Subsector security pool.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;An initial public offering (&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;&#x201c;IPO&#x201d;) may be added to the Index outside of the semiannual Reconstitution and Rebalancing &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;Schedule. To be considered, an IPO must meet the Security Eligibility Criteria as of the last trading day of February or August, &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;as applicable, subject to the following modifications:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;for the Security Universe criterion, the IPO must be included in the Nasdaq Global Disruptive Technology Benchmark2&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:6.5pt;position:relative;top:-4.25pt;"&gt;TM  &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Index effective at market open on the first trading day following the third Friday of April or October, as applicable; and&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;position:relative;top:0.6pt;"&gt;&#x25a0;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;for the Market Capitalization criterion, the IPO must have a float-adjusted company market capitalization of at least $25 billion (USD)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;If selected, the IPO is added to the Index effective at market open on the first trading day following the third Friday of April or October, as applicable. Upon addition, the IPO's weight is determined based on its float-adjusted company market capitalization as of the last trading day of March or September, as applicable, subject to a maximum weight of 4.5%. Existing &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;constituent weights are adjusted pro-rata to accommodate the newly added security.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;From time to time, and depending on factors such as the market demand for technologies related to a particular sub-theme and corresponding changes in the number of patents relating to that sub-theme, the representation of the respective sub-themes in the Underlying Index will vary, and there is no assurance that all listed sub-themes will be represented at any given time. In addition, because inclusion in the Underlying Index is dependent primarily on a company&#x2019;s Intensity Score (i.e., a measure of how many sub-themes a company has qualified for), it is possible that companies with larger market capitalizations (and therefore more capital to invest in research and development, including patent filings, across a broader product line) may be over-represented in the Underlying Index relative to those companies with smaller market capitalizations (and less capital &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;to invest in research and development, and narrower product lines).&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:0%;"&gt;The Underlying Index is a modified float-adjusted company market capitalization-weighted index. This means that an index security&#x2019;s weight is determined first by dividing its float-adjusted market capitalization (i.e., the security&#x2019;s share price multiplied by the number of shares available for trading by the general public) by the total float-adjusted market capitalization of all index securities to arrive at an initial weight. Initial weights are then adjusted (modified), as necessary, so that no index &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;security weight exceeds 4.5% at each semi-annual rebalancing.&lt;/span&gt;</oef:SupplementToProspectusTextBlock>
</xbrl>
