| Label | Element | Value | ||||
|---|---|---|---|---|---|---|
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Registrant Name | dei_EntityRegistrantName | JOHN HANCOCK FUNDS II | ||||
| Prospectus Date | rr_ProspectusDate | Jan. 01, 2025 | ||||
| Class NAV | New Opportunities Fund | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk/Return [Heading] | rr_RiskReturnHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:24pt;">John Hancock New Opportunities Fund</span> | ||||
| Objective [Heading] | rr_ObjectiveHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Investment objective</span> | ||||
| Objective, Primary [Text Block] | rr_ObjectivePrimaryTextBlock | The fund seeks long-term capital appreciation. | ||||
| Expense [Heading] | rr_ExpenseHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Fees and expenses</span> | ||||
| Expense Narrative [Text Block] | rr_ExpenseNarrativeTextBlock | This table describes the fees and expenses you may pay if you buy, hold, and sell shares of the fund. You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the tables and examples below. | ||||
| Shareholder Fees Caption [Text] | rr_ShareholderFeesCaption | <span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Shareholder fees (%) </span><span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;">(fees paid directly from your investment)</span> | ||||
| Operating Expenses Caption [Text] | rr_OperatingExpensesCaption | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Annual fund operating expenses (%) </span><span style="font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;">(expenses that you pay each year as a percentage of the value of your investment)</span> | ||||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | <span style="font-family:Arial Narrow;font-size:8pt;">July 31, 2026</span> | ||||
| Portfolio Turnover [Heading] | rr_PortfolioTurnoverHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Portfolio turnover</span> | ||||
| Portfolio Turnover [Text Block] | rr_PortfolioTurnoverTextBlock | The fund pays transaction costs, such as commissions, when it buys and sells securities (or “turns over” its portfolio). A higher portfolio turnover rate may indicate higher transaction costs and may result in higher taxes when fund shares are held in a taxable account. These costs, which are not reflected in annual fund operating expenses or in the example, affect the fund’s performance. During its most recent fiscal year, the fund’s portfolio turnover rate was 15% of the average value of its portfolio. | ||||
| Portfolio Turnover, Rate | rr_PortfolioTurnoverRate | 15.00% | ||||
| Expense Example [Heading] | rr_ExpenseExampleHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Expense example</span> | ||||
| Expense Example Narrative [Text Block] | rr_ExpenseExampleNarrativeTextBlock | This example is intended to help you compare the cost of investing in the fund with the cost of investing in other mutual funds. Please see below a hypothetical example showing the expenses of a $10,000 investment for the time periods indicated and then assuming you sell all of your shares at the end of those periods. The example assumes a 5% average annual return and that fund expenses will not change over the periods. Although your actual costs may be higher or lower, based on these assumptions, your costs would be: | ||||
| Strategy [Heading] | rr_StrategyHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Principal investment strategies</span> | ||||
| Strategy Narrative [Text Block] | rr_StrategyNarrativeTextBlock | Under normal circumstances, the fund invests at least 80% of its assets in equity securities of small-capitalization U.S. companies. The fund primarily invests in common stock and preferred stock of U.S. small-capitalization companies. Small-capitalization companies are those with a market capitalization at the time of purchase of less than $5 billion or otherwise within the range of capitalizations of companies in the Russell 2000 Index, the S&P SmallCap 600 Index, or the Dow Jones U.S. Small-Cap Total Stock Market Index. Capitalization ranges will change over time. The fund may invest in any economic sector, and at times may emphasize one or more particular sectors. The fund also may invest in: (a) securities of foreign issuers, including foreign issuers located in emerging markets, either directly through investments in foreign currency-denominated securities traded outside of the U.S. or indirectly through depositary receipts; (b) real estate investment trusts (REITs); (c) initial public offerings (IPOs); and (d) master limited partnerships (MLPs). The manager utilizes fundamental research and bottom-up stock selection to identify undervalued small cap companies with sustainable earnings growth, and whose management is focused on enhancing value for shareholders. The manager seeks to hold securities for the long term. The manager focuses on quality small-cap companies with sound management and long-term sustainable growth, regardless of style. In selecting companies, the manager looks for firms with the following key attributes: ●Experienced, tenured, high-quality management ●Business models that deliver consistent long-term growth ●Leading companies in attractive and defensible niche markets ●Strong financial characteristics; and ●Appropriate valuation. Various factors may lead the manager to consider selling a particular security, such as a significant change in the relevant company’s senior management or its products, deterioration in its fundamental characteristics, if the company has corporate governance issues, or if the manager believes that the security has become overvalued. | ||||
| Risk [Heading] | rr_RiskHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Principal risks</span> | ||||
| Bar Chart and Performance Table [Heading] | rr_BarChartAndPerformanceTableHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;">Past performance</span> | ||||
| Performance Narrative [Text Block] | rr_PerformanceNarrativeTextBlock | The following information illustrates the variability of the fund’s returns and provides some indication of the risks of investing in the fund by showing changes in the fund’s performance from year to year and by showing how the fund’s average annual returns compared with a broad-based securities market index. Past performance (before and after taxes) does not indicate future results. The Russell 2000 Growth Index shows how the fund’s performance compares against the returns of similar investments. All figures assume dividend reinvestment. Performance information is updated daily, monthly, and quarterly and may be obtained by calling 800-344-1029 between 8:00 a.m. and 7:00 p.m., Eastern time, on most business days.A note on performancePrior to September 27, 2014, the fund was managed by subadvisors other than the fund’s current subadvisor, GW&K Investment Management, LLC (GW&K) pursuant to a different investment strategy. From September 27, 2014 to September 6, 2019, the fund was managed by Brandywine Global Investment Management, LLC, Dimensional Fund Advisors LP, and GW&K pursuant to a multi-manager investment strategy. Effective on September 6, 2019, GW&K became the fund’s sole subadvisor. The performance information presented for periods prior to September 6, 2019, reflects management of the fund consistent with investment strategies in effect during those periods and might have been different if the fund’s investments had been managed under its current investment strategies solely by GW&K.Class NAV shares ceased operations on March 13, 2019. Returns shown after that date are those of Class C shares, except that they do not include Class C sales charges and would be lower if they did. Returns for Class NAV shares would have been substantially similar to returns of Class C shares because each share class is invested in the same portfolio of securities and returns would differ only to the extent that expenses of the classes are different. To the extent expenses of a class would have been higher than expenses of Class C shares for the periods shown, performance would have been lower.Please note that after-tax returns reflect the highest individual federal marginal income-tax rate in effect as of the date provided and do not reflect any state or local taxes. Your actual after-tax returns may be different. After-tax returns are not relevant to shares held in an IRA, 401(k), or other tax-advantaged investment plan. | ||||
| Performance Information Illustrates Variability of Returns [Text] | rr_PerformanceInformationIllustratesVariabilityOfReturns | <span style="font-family:Arial Narrow;font-size:9pt;">The following information illustrates the variability of the fund’s returns and provides some indication of the risks of investing in the fund by showing changes in the fund’s performance from year to year and by showing how the fund’s average annual returns compared with a broad-based securities market index. </span> | ||||
| Performance Availability Phone [Text] | rr_PerformanceAvailabilityPhone | <span style="font-family:Arial Narrow;font-size:9pt;">800-344-1029 between 8:00 </span><span style="font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">a.m.</span><span style="font-family:Arial Narrow;font-size:9pt;"> and 7:00</span><span style="font-family:Arial Narrow;font-size:9pt;line-height:12pt;"> </span><span style="font-family:Arial Narrow;font-size:9pt;font-variant:small-caps;">p.m.</span><span style="font-family:Arial Narrow;font-size:9pt;">, Eastern time, on most business days.</span> | ||||
| Performance Past Does Not Indicate Future [Text] | rr_PerformancePastDoesNotIndicateFuture | <span style="font-family:Arial Narrow;font-size:9pt;">Past performance (before and after taxes) does not indicate future results. </span> | ||||
| Bar Chart [Heading] | rr_BarChartHeading | <span style="font-family:Arial Narrow;font-size:9pt;font-weight:bold;">Calendar year total returns (%)—Class NAV</span> | ||||
| Bar Chart Closing [Text Block] | rr_BarChartClosingTextBlock | Year-to-date total return through:Q3 20246.71%Best quarter:Q2 202029.28%Worst quarter:Q1 2020-25.96% | ||||
| Performance Table Heading | rr_PerformanceTableHeading | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Average annual total returns (%)—as of 12/31/2023</span> | ||||
| Performance Table Market Index Changed | rr_PerformanceTableMarketIndexChanged | <span style="font-family:Arial Narrow;font-size:8pt;">The fund has designated the Russell 3000 Index as its new broad-based securities market index in accordance with the revised definition for such an index.</span> | ||||
| Performance Table Uses Highest Federal Rate | rr_PerformanceTableUsesHighestFederalRate | <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">Please note that after-tax returns reflect the highest individual federal marginal income-tax rate in effect as of the date provided and do not reflect any state or local taxes.</span> | ||||
| Performance Table Not Relevant to Tax Deferred | rr_PerformanceTableNotRelevantToTaxDeferred | <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"> Your actual after-tax returns may be different. After-tax returns are not relevant to shares held in an IRA, 401(k), or other </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">tax-advantaged investment plan.</span> | ||||
| Class NAV | New Opportunities Fund | Risk Lose Money [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Many factors affect performance, and fund shares will fluctuate in price, meaning you could lose money. | ||||
| Class NAV | New Opportunities Fund | Risk Not Insured Depository Institution [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | An investment in the fund is not a bank deposit and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency. | ||||
| Class NAV | New Opportunities Fund | Economic And Market Events Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Economic and market events risk. Events in the U.S. and global financial markets, including actions taken by the U.S. Federal Reserve or foreign central banks to stimulate or stabilize economic growth, may at times result in unusually high market volatility, which could negatively impact performance. Reduced liquidity in credit and fixed-income markets could adversely affect issuers worldwide. Banks and financial services companies could suffer losses if interest rates rise or economic conditions deteriorate. | ||||
| Class NAV | New Opportunities Fund | Equity Securities Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Equity securities risk. The price of equity securities may decline due to changes in a company’s financial condition or overall market conditions. Growth company securities may fluctuate more in price than other securities because of the greater emphasis on earnings expectations. Securities the manager believes are undervalued may never realize their full potential value, and in certain markets value stocks may underperform the market as a whole. | ||||
| Class NAV | New Opportunities Fund | Foreign Securities Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Foreign securities risk. Less information may be publicly available regarding foreign issuers, including foreign government issuers. Foreign securities may be subject to foreign taxes and may be more volatile than U.S. securities. Currency fluctuations and political and economic developments may adversely impact the value of foreign securities. The risks of investing in foreign securities are magnified in emerging markets. Depositary receipts are subject to most of the risks associated with investing in foreign securities directly because the value of a depositary receipt is dependent upon the market price of the underlying foreign equity security. Depositary receipts are also subject to liquidity risk. | ||||
| Class NAV | New Opportunities Fund | Healthcare sector risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Healthcare sector risk. Health sciences companies may be significantly affected by product obsolescence, thin capitalization, limited product lines and markets, civil liability claims, and legislative or regulatory activities, among other factors. | ||||
| Class NAV | New Opportunities Fund | Initial Public Offerings Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Initial public offerings (IPOs) risk. IPO share prices are frequently volatile and may significantly impact fund performance. | ||||
| Class NAV | New Opportunities Fund | Liquidity Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Liquidity risk. The extent (if at all) to which a security may be sold without negatively impacting its market value may be impaired by reduced market activity or participation, legal restrictions, or other economic and market impediments. | ||||
| Class NAV | New Opportunities Fund | Master Limited Partnership Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Master limited partnership (MLP) risk. MLPs generally reflect the risks associated with their underlying assets and with pooled investment vehicles. MLPs with credit-related holdings are subject to interest-rate risk and risk of default. | ||||
| Class NAV | New Opportunities Fund | Operational And Cybersecurity Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Operational and cybersecurity risk. Cybersecurity breaches may allow an unauthorized party to gain access to fund assets, customer data, or proprietary information, or cause a fund or its service providers to suffer data corruption or lose operational functionality. Similar incidents affecting issuers of a fund’s securities may negatively impact performance. Operational risk may arise from human error, error by third parties, communication errors, or technology failures, among other causes. | ||||
| Class NAV | New Opportunities Fund | Preferred And Convertible Securities Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Preferred and convertible securities risk. Preferred stock dividends are payable only if declared by the issuer’s board. Preferred stock may be subject to redemption provisions. The market values of convertible securities tend to fall as interest rates rise and rise as interest rates fall. Convertible preferred stock’s value can depend heavily upon the underlying common stock’s value. | ||||
| Class NAV | New Opportunities Fund | Real Estate Investment Trust Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Real estate investment trust (REIT) risk. REITs, pooled investment vehicles that typically invest in real estate directly or in loans collateralized by real estate, carry risks associated with owning real estate, including the potential for a decline in value due to economic or market conditions. | ||||
| Class NAV | New Opportunities Fund | Real Estate Securities Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Real estate securities risk. Securities of companies in the real estate industry carry risks associated with owning real estate, including the potential for a decline in value due to economic or market conditions. | ||||
| Class NAV | New Opportunities Fund | Sector Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Sector risk. When a fund focuses its investments in certain sectors of the economy, its performance may be driven largely by sector performance and could fluctuate more widely than if the fund were invested more evenly across sectors. | ||||
| Class NAV | New Opportunities Fund | Small And Mid Sized Company Risk [Member] | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Risk [Text Block] | rr_RiskTextBlock | Small and mid-sized company risk. Small and mid-sized companies are generally less established and may be more volatile than larger companies. Small and/or mid-capitalization securities may underperform the market as a whole. | ||||
| Class NAV | New Opportunities Fund | Class NAV | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| Maximum front-end sales charge (load) | rr_MaximumCumulativeSalesChargeOverOther | none | ||||
| Maximum deferred sales charge (load) | rr_MaximumDeferredSalesChargeOverOther | none | ||||
| Management fee | rr_ManagementFeesOverAssets | 0.73% | ||||
| Other expenses | rr_OtherExpensesOverAssets | 0.12% | ||||
| Total annual fund operating expenses | rr_ExpensesOverAssets | 0.85% | ||||
| Contractual expense reimbursement | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [1] | |||
| Total annual fund operating expenses after expense reimbursements | rr_NetExpensesOverAssets | 0.84% | ||||
| 1 year | rr_ExpenseExampleYear01 | $ 86 | ||||
| 3 years | rr_ExpenseExampleYear03 | 270 | ||||
| 5 years | rr_ExpenseExampleYear05 | 470 | ||||
| 10 years | rr_ExpenseExampleYear10 | $ 1,048 | ||||
| 2014 | rr_AnnualReturn2014 | 2.36% | ||||
| 2015 | rr_AnnualReturn2015 | (6.19%) | ||||
| 2016 | rr_AnnualReturn2016 | 20.58% | ||||
| 2017 | rr_AnnualReturn2017 | 14.30% | ||||
| 2018 | rr_AnnualReturn2018 | (14.07%) | ||||
| 2019 | rr_AnnualReturn2019 | 21.01% | ||||
| 2020 | rr_AnnualReturn2020 | 27.89% | ||||
| 2021 | rr_AnnualReturn2021 | 13.46% | ||||
| 2022 | rr_AnnualReturn2022 | (21.21%) | ||||
| 2023 | rr_AnnualReturn2023 | 13.62% | ||||
| Year to Date Return, Label | rr_YearToDateReturnLabel | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Year-to-date total return through:</span> | ||||
| Bar Chart, Year to Date Return, Date | rr_BarChartYearToDateReturnDate | Sep. 30, 2024 | ||||
| Bar Chart, Year to Date Return | rr_BarChartYearToDateReturn | 6.71% | ||||
| Highest Quarterly Return, Label | rr_HighestQuarterlyReturnLabel | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Best quarter:</span> | ||||
| Highest Quarterly Return, Date | rr_BarChartHighestQuarterlyReturnDate | Jun. 30, 2020 | ||||
| Highest Quarterly Return | rr_BarChartHighestQuarterlyReturn | 29.28% | ||||
| Lowest Quarterly Return, Label | rr_LowestQuarterlyReturnLabel | <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;">Worst quarter:</span> | ||||
| Lowest Quarterly Return, Date | rr_BarChartLowestQuarterlyReturnDate | Mar. 31, 2020 | ||||
| Lowest Quarterly Return | rr_BarChartLowestQuarterlyReturn | (25.96%) | ||||
| 1 year | rr_AverageAnnualReturnYear01 | 13.62% | ||||
| 5 year | rr_AverageAnnualReturnYear05 | 9.47% | ||||
| 10 year | rr_AverageAnnualReturnYear10 | 5.98% | ||||
| Class NAV | New Opportunities Fund | Return After Taxes on Distributions | Class NAV | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| 1 year | rr_AverageAnnualReturnYear01 | 12.25% | ||||
| 5 year | rr_AverageAnnualReturnYear05 | 7.90% | ||||
| 10 year | rr_AverageAnnualReturnYear10 | 3.72% | ||||
| Class NAV | New Opportunities Fund | Return After Taxes on Distributions and Sale of Shares | Class NAV | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| 1 year | rr_AverageAnnualReturnYear01 | 9.04% | ||||
| 5 year | rr_AverageAnnualReturnYear05 | 7.42% | ||||
| 10 year | rr_AverageAnnualReturnYear10 | 4.15% | ||||
| Class NAV | New Opportunities Fund | Russell 3000 Index (reflects no deduction for fees, expenses, or taxes) | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| 1 year | rr_AverageAnnualReturnYear01 | 25.96% | [2] | |||
| 5 year | rr_AverageAnnualReturnYear05 | 15.16% | [2] | |||
| 10 year | rr_AverageAnnualReturnYear10 | 11.48% | [2] | |||
| Class NAV | New Opportunities Fund | Russell 2000 Growth Index (reflects no deduction for fees, expenses, or taxes) | ||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||
| 1 year | rr_AverageAnnualReturnYear01 | 18.66% | ||||
| 5 year | rr_AverageAnnualReturnYear05 | 9.22% | ||||
| 10 year | rr_AverageAnnualReturnYear10 | 7.16% | ||||
| ||||||