Performance Management |
Jul. 29, 2026 |
|||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| KraneShares 90% KWEB Defined Outcome January 2027 ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calendar Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -14.95%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | (14.95%) | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 12.10% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (5.12%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Dec. 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares 100% KWEB Defined Outcome January 2027 ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calendar Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -5.69%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | (5.69%) | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 8.60% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (1.33%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Dec. 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Asia Pacific High Income USD Bond ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. In addition, prior to August 1, 2021, CCB Securities Ltd. was responsible for day-to-day portfolio management of the Fund and the Fund previously sought to track the performance of the Solactive USD China Corporate High Yield Bond Index, before fees and expenses. Its performance prior to that date would have been different if the current goal and principal investment strategies had been in effect.
|
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calendar Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 2.77%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 2.77% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 8.71% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Dec. 31, 2022 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (9.59%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Dec. 31, 2021 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Bosera MSCI China A 50 Connect Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. In addition, the Fund previously changed the indexes whose performance it sought to track, before fees and expenses, as detailed in the footnote to the Average Annual Total Returns table. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calendar Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 11.37%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 11.37% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 29.70% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Mar. 31, 2019 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (20.28%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares California Carbon Allowance Strategy ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. In addition, prior to November 3, 2025, the Fund previously sought to track the performance of the S&P Carbon Credit CCA Total Return Index, before fees and expenses. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 1.31%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 1.31% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 12.22% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2023 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (14.53%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares China Alpha Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 4.27%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 4.27% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 24.19% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | 0.41% | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares China Technology & Semiconductor STAR 50 Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calendar Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 71.70%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 71.70% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 44.91% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (22.99%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares CSI China Internet ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. In addition, prior to December 1, 2015, a sub-adviser was responsible for day-to-day portfolio management of the Fund’s assets. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calendar Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -28.96%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 28.96% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 37.44% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Jun. 30, 2020 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (32.36%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2021 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Dragon Capital Growth of Vietnam Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information will be available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Electric Vehicles and Future Mobility Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. In addition, prior to June 16, 2021, the Fund previously sought to track the performance of the Solactive Electric Vehicles and Future Mobility Index, before fees and expenses. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calendar Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 2.89%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 2.89% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 39.17% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (19.61%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2020 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Global Carbon Strategy ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Prior to December 3, 2021, the Fund was actively managed and sought to outperform the Index through investments in debt instruments. Prior to November 3, 2025, the Fund previously sought to track the performance of the S&P Global Carbon Credit Total Return Index, before fees and expenses. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -5.88%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 5.88% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 28.78% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Jun. 30, 2021 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (24.70%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Global Humanoid Robotics and Physical AI Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information will be available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Hang Seng TECH Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -22.88%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 22.88% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 34.12% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2024 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (29.75%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Hedgeye Hedged Equity Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 6.48%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 6.48% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 6.43% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (0.74%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares High-Bandwidth Memory ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information will be available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares InspereX Nasdaq Dynamic Buffered High Income Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information will be available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com. | |||||||||||||||||||||||||||
| KraneShares KWEB Covered Call Strategy ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calendar Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -14.14%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 14.14% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 10.21% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (3.13%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Dec. 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Man Buyout Beta Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 21.22%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 21.22% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 10.35% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Jun. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (9.53%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Mount Lucas Managed Futures Index Strategy ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Prior to April 1, 2022, the Fund was actively managed and sought to outperform the Index through investments in debt instruments. Updated performance information is available at no cost by visiting www.kraneshares.com.
|
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 5.62%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 5.62% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 18.95% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Mar. 31, 2022 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (11.32%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Dec. 31, 2023 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares MSCI All China Health Care Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -8.80%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | (8.80%) | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 33.43% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Jun. 30, 2020 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (23.35%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares MSCI China Clean Technology Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -13.22%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | (13.22%) | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 43.63% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Sep. 30, 2020 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (31.48%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares MSCI Emerging Markets ex China Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | ||||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 37.75%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 37.75% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 27.71% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Dec. 31, 2020 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (30.11%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2020 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares MSCI One Belt One Road Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com.
|
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -1.80%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | (1.80%) | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 26.74% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Dec. 31, 2020 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (26.85%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2020 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Public-Private AI & Technology ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 28.85%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 28.85% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 28.01% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Jun. 30, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (13.29%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Public-Private Emerging Markets Internet and Technology ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 3.59%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 3.59% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 32.94% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Jun. 30, 2020 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (24.11%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Mar. 31, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Sustainable Ultra Short Duration Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 1.70%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 1.70% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 1.14% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Mar. 31, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | 1.06% | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Dec. 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance Table Uses Highest Federal Rate | After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. | |||||||||||||||||||||||||||
| Performance Table Not Relevant to Tax Deferred | Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Table Closing [Text Block] | Average annual total returns are shown on a before- and after-tax basis for the Fund. After-tax returns for the Fund are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. After-tax returns shown are not relevant to investors who hold shares through tax-deferred arrangements, such as 401(k) plans or individual retirement plans. |
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares Value Line(R) Dynamic Dividend Equity Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.kraneshares.com. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance and an additional index with characteristics relevant to the Fund. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 11.41%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 11.41% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 12.93% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Dec. 31, 2022 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (7.91%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com. | |||||||||||||||||||||||||||
| KraneShares Wahed Alternative Income Index ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information will be available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| Quadratic Interest Rate Volatility and Inflation Hedge ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.ivoletf.com.
|
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was -7.86%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | (7.86%) | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 6.02% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Mar. 31, 2025 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (11.51%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Sep. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.ivoletf.com | |||||||||||||||||||||||||||
| Quadratic Deflation ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance. All returns include the reinvestment of dividends and distributions. As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. Updated performance information is available at no cost by visiting www.bnddetf.com.
|
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | As always, please note that the Fund’s past performance (before and after taxes) is not necessarily an indication of how it will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | The following bar chart and table illustrate the variability of the Fund’s returns and indicate the risks of investing in the Fund by showing how the Fund’s average annual total returns compare with those of a broad measure of market performance. | |||||||||||||||||||||||||||
| Bar Chart [Heading] | Total Annual Returns For Calender Years Ended December 31 | |||||||||||||||||||||||||||
| Bar Chart [Table] |
|
|||||||||||||||||||||||||||
| Bar Chart Closing [Text Block] | As of June 30, 2026, the Fund’s calendar year-to-date total return was 5.90%.
Best and Worst Quarter Returns (for the period reflected in the bar chart above)
|
|||||||||||||||||||||||||||
| Year to Date Return, Label [Optional Text] | year-to-date total return | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return | 5.90% | |||||||||||||||||||||||||||
| Bar Chart, Year to Date Return, Date | Jun. 30, 2026 | |||||||||||||||||||||||||||
| Highest Quarterly Return, Label [Optional Text] | Highest Return | |||||||||||||||||||||||||||
| Highest Quarterly Return | 6.46% | |||||||||||||||||||||||||||
| Highest Quarterly Return, Date | Dec. 31, 2023 | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Label [Optional Text] | Lowest Return | |||||||||||||||||||||||||||
| Lowest Quarterly Return | (11.56%) | |||||||||||||||||||||||||||
| Lowest Quarterly Return, Date | Jun. 30, 2022 | |||||||||||||||||||||||||||
| Performance Table Heading | Average Annual Total Returns for the periods ended December 31, 2025 | |||||||||||||||||||||||||||
| Performance [Table] |
|
|||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.bnddetf.com | |||||||||||||||||||||||||||
| KraneShares 2x Long BABA Daily ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information is available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares 2x Long BIDU Daily ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information will be available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future.
Management
Investment Adviser Krane Funds Advisors, LLC (“Krane” or “Adviser”) serves as the investment adviser to the Fund.
Portfolio Managers James Maund, Head of Capital Markets at the Adviser, has served as the lead portfolio manager of the Fund since the Fund’s inception. Jonathan Shelon, Chief Operating Officer of the Adviser, supports Mr. Maund and Krane’s investment team for the Fund and has been a portfolio manager of the Fund since the Fund’s inception.
Purchase and Sale of Fund Shares Shares may be purchased and redeemed from the Fund only in a large specified number of Shares each called a “Creation Unit,” or multiples thereof. As a practical matter, only institutions and large investors, such as market makers or other large broker-dealers, purchase or redeem Creation Units. Most investors will buy and sell shares of the Fund on the Exchange. Individual shares can be bought and sold throughout the trading day like other publicly traded securities through a broker-dealer on the Exchange. These transactions do not involve the Fund. The price of an individual Fund share is based on market prices, which may be different from its NAV. As a result, the Fund’s shares may trade at a price greater than the NAV (at a premium) or less than the NAV (at a discount). An investor may incur costs attributable to the difference between the highest price a buyer is willing to pay to purchase shares of the Fund (bid) and the lowest price a seller is willing to accept for shares of the Fund (ask) when buying or selling shares in the secondary market (the “bid-ask spread”). Most investors will incur customary brokerage commissions and charges when buying or selling shares of the Fund through a broker-dealer.
Recent information regarding the Fund, including its NAV, market price, premiums and discounts, and bid ask spreads, are available on the Fund’s website at www.kraneshares.com.
Tax Information Fund distributions are generally taxable as ordinary income, qualified dividend income or capital gains (or a combination), unless your investment is in an IRA or other tax-advantaged retirement account, which may be taxable upon withdrawal.
Payments to Broker-Dealers and Other Financial Intermediaries If you purchase Fund shares through a broker-dealer or other financial intermediary (such as a bank), the Fund and its related companies may pay the intermediary for the sale of Fund shares and related services. These payments may create a conflict of interest by influencing the broker-dealer or other intermediary and your sales person to recommend the Fund over another investment. Ask your sales person or visit your financial intermediary’s website for more information.
|
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares 2x Long JD Daily ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information will be available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares 2x Long MELI Daily ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information will be available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com | |||||||||||||||||||||||||||
| KraneShares 2x Long PDD Daily ETF | ||||||||||||||||||||||||||||
| Prospectus [Line Items] | ||||||||||||||||||||||||||||
| Bar Chart and Performance Table [Heading] | Performance Information | |||||||||||||||||||||||||||
| Performance Narrative [Text Block] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. Once available, the Fund’s current performance information is available at www.kraneshares.com. Past performance does not necessarily indicate how the Fund will perform in the future. |
|||||||||||||||||||||||||||
| Performance Past Does Not Indicate Future [Text] | Past performance does not necessarily indicate how the Fund will perform in the future. | |||||||||||||||||||||||||||
| Performance Information Illustrates Variability of Returns [Text] | Once the Fund has completed a full calendar year of operations, a bar chart and table will be included in this Prospectus that will provide some indication of the risks of investing in the Fund by showing the variability of the Fund’s return based on net assets and comparing the variability of the Fund’s return to a broad measure of market performance. | |||||||||||||||||||||||||||
| Performance Availability Website Address [Text] | www.kraneshares.com |