v3.24.4
Label Element Value
Risk Return Abstract rr_RiskReturnAbstract  
Registrant Name dei_EntityRegistrantName JOHN HANCOCK FUNDS II
Prospectus Date rr_ProspectusDate Jan. 01, 2025
Class A C I R6 | Small Cap Dynamic Growth Fund  
Risk Return Abstract rr_RiskReturnAbstract  
Risk/Return [Heading] rr_RiskReturnHeading <span style="color:#000000;font-family:Arial Narrow;font-size:24pt;">John Hancock Small Cap Dynamic Growth 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 To seek 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. You may qualify for sales charge discounts on Class A shares if you and your family invest, or agree to invest in the future, at least $50,000 in the John Hancock family of funds.Intermediaries may have different policies and procedures regarding the availability of front-end sales charge waivers or contingent deferred sales charge (CDSC) waivers (See Appendix 1 - Intermediary sales charge waivers, which includes information about specific sales charge waivers applicable to the intermediaries identified therein). More information about these and other discounts is available from your financial professional and beginning on page 18 of the prospectus under “Sales charge reductions and waivers” or page 144 of the fund’s Statement of Additional Information under “Sales Charges on Class A and Class C Shares.”
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 </span><span style="font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;">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 177% of the average value of its portfolio.
Portfolio Turnover, Rate rr_PortfolioTurnoverRate 177.00%
Expense Breakpoint Discounts [Text] rr_ExpenseBreakpointDiscounts <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">You may qualify for sales </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">charge discounts on Class A shares if you and your family invest, or agree to invest in the future, at least $</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">50,000</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"> in the John Hancock family of funds.</span>
Expense Breakpoint, Minimum Investment Required [Amount] rr_ExpenseBreakpointMinimumInvestmentRequiredAmount $ 50,000
Expenses Not Correlated to Ratio Due to Acquired Fund Fees [Text] rr_ExpensesNotCorrelatedToRatioDueToAcquiredFundFees <span style="font-family:Arial Narrow;font-size:8pt;">The “Total annual fund operating expenses” shown may not correlate to the fund’s ratios of expenses to average daily net assets shown in the “Financial highlights” section of the fund’s prospectus, which does not include “Acquired fund fees and expenses.”</span>
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, except as shown below, 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:
Expense Example by, Year, Caption [Text] rr_ExpenseExampleByYearCaption <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;">Shares Sold</span>
Expense Example, No Redemption, By Year, Caption [Text] rr_ExpenseExampleNoRedemptionByYearCaption <span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;">Shares</span><span style="font-family:Arial Narrow;font-size:8pt;font-weight:bold;">Not Sold</span>
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 seeks to achieve its investment objective by investing at least 80% of its net assets (plus any borrowings for investment purposes) in stocks of small-cap companies. The fund defines small-cap companies as those that, at the time of initial purchase, have a market capitalization equal to or less than the largest company in the Russell 2000 Growth Index (approximately $13.7 billion as of October 31, 2024). The fund invests mainly in common stocks, but it may also invest in exchange-traded funds (ETFs) to a limited extent, generally for purposes of gaining temporary market exposure. The manager’s growth philosophy and process is focused on fundamental, bottom-up stock selection and includes three key elements: (i) positive fundamental changes, (ii) sustainable earnings growth, and (iii) an attractive valuation. The manager’s investment process generally begins with the broad universe of securities included in U.S. small capitalization indices. The manager seeks to achieve the fund’s investment objective by investing in equity investments that the manager believes will provide higher returns than the Russell 2000 Growth Index. The manager then focuses its fundamental research by collecting, scoring and monitoring forward-looking operational data related to specific companies, industries, and sectors. It then seeks to identify quantifiable changes by consistently tracking these data points. Once the manager has identified a positive change, it holistically assesses the key company, industry, sector, macro and country stock drivers and compares them to consensus expectations. The fund may focus its investments in a particular sector or sectors of the economy. The manager then determines a risk/return rating for each company it has identified. This ranking is utilized by the portfolio management team to build a portfolio with consistent and balanced risk/return characteristics. The manager considers environmental, social, and/or governance (ESG) factors, alongside other relevant factors, as part of its investment process. ESG factors may include, but are not limited to, matters regarding board diversity, climate change policies, and supply chain and human rights policies. The ESG characteristics utilized in the fund’s investment process may change over time and one or more characteristics may not be relevant with respect to all issuers that are eligible fund investments. The operational metrics and investment thesis of the portfolio’s holdings are continuously monitored to ensure the ranking and weighting of each security in the portfolio is appropriate given the level of risk/return. The fund may trade securities actively as the investment thesis improves or deteriorates.
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 at our website, jhinvestments.com, or by calling 800-225-5291 (Class A and Class C), Monday to Thursday, 8:00 a.m.—7:00 p.m., and Friday, 8:00 a.m.—6:00 p.m., Eastern time, or 888-972-8696 (Class I and Class R6) between 8:30 a.m. and 5:00 p.m., Eastern time, on most business days.A note on performanceClass NAV, Class A, Class C, Class I, and Class R6 shares commenced operations on October 31, 2005, March 27, 2018,  March 27, 2018,  March 27, 2018, and March 27, 2018, respectively. Returns shown prior to a class’s commencement date are those of Class NAV shares, except that they include any sales charges. Returns for shares would have been substantially similar to returns of Class NAV 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 NAV shares for the periods shown, performance would have been lower.Prior to November 29, 2023, the fund was managed by a different subadvisor pursuant to different investment strategies, and thus, the performance presented prior to this date should not be attributed to the current subadvisor. The performance information presented for periods prior to November 29, 2023 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 by the current subadvisor.Please note that after-tax returns (shown for Class A shares only) 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. After-tax returns for other share classes would vary.
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-225-5291 (Class A and Class C), Monday to </span><span style="font-family:Arial Narrow;font-size:9pt;">Thursday, 8: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;">a.m.</span><span style="font-family:Arial Narrow;font-size:9pt;">—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;">, and Friday, 8: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;">a.m.</span><span style="font-family:Arial Narrow;font-size:9pt;">—6: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, or 888-972-8696 (Class I and Class R6) between 8:30</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;">a.m.</span><span style="font-family:Arial Narrow;font-size:9pt;"> and 5: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 Availability Website Address [Text] rr_PerformanceAvailabilityWebSiteAddress <span style="font-family:Arial Narrow;font-size:9pt;">jhinvestments.com</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 A </span><span style="font-family:Arial Narrow;font-size:9pt;">(</span><span style="font-family:Arial Narrow;font-size:9pt;">sales charges are not reflected in the bar chart and returns would have been lower if they were</span><span style="font-family:Arial Narrow;font-size:9pt;">)</span>
Bar Chart Does Not Reflect Sales Loads [Text] rr_BarChartDoesNotReflectSalesLoads <span style="font-family:Arial Narrow;font-size:9pt;">sales charges are not reflected in the bar chart and returns would have been lower if they were</span>
Bar Chart Closing [Text Block] rr_BarChartClosingTextBlock Year-to-date total return through:Q3 202429.91%Best quarter:Q2 202025.40%Worst quarter:Q2 2022-20.62%
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 (shown for Class A shares only)</span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"> reflect the highest individual federal marginal income-tax rate in effect as of the date </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">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 </span><span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">IRA, 401(k), or other tax-advantaged investment plan.</span>
Performance Table One Class of after Tax Shown [Text] rr_PerformanceTableOneClassOfAfterTaxShown <span style="color:#000000;font-family:Arial Narrow;font-size:9pt;">Please note that after-tax returns (shown for Class A shares only)</span>
Class A C I R6 | Small Cap Dynamic Growth 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 A C I R6 | Small Cap Dynamic Growth 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 A C I R6 | Small Cap Dynamic Growth 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 A C I R6 | Small Cap Dynamic Growth 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.
Class A C I R6 | Small Cap Dynamic Growth Fund | ESG Integration Risk [Member]  
Risk Return Abstract rr_RiskReturnAbstract  
Risk [Text Block] rr_RiskTextBlock ESG integration risk.  The manager considers ESG factors that it deems relevant or additive, along with other material factors and analysis, when managing the fund. ESG factors may include, but are not limited to, matters regarding board diversity, climate change policies, and supply chain and human rights policies. The manager may consider these ESG factors on all or a meaningful portion of the fund’s investments. Incorporating ESG criteria and making investment decisions based on certain ESG characteristics, as determined by the manager, carries the risk that the fund may perform differently, including underperforming, funds that do not utilize ESG criteria, or funds that utilize different ESG criteria.
Class A C I R6 | Small Cap Dynamic Growth Fund | Exchange Traded Funds Risk [Member]  
Risk Return Abstract rr_RiskReturnAbstract  
Risk [Text Block] rr_RiskTextBlock Exchange-traded funds (ETFs) risk.  The risks of owning shares of an ETF include the risks of owning the underlying securities the ETF holds. Lack of liquidity in an ETF could result in the ETF being more volatile than its underlying securities. An ETF’s shares could trade at a significant premium or discount to its net asset value (NAV). A fund bears ETF fees and expenses indirectly.
Class A C I R6 | Small Cap Dynamic Growth 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 A C I R6 | Small Cap Dynamic Growth Fund | High Portfolio Turnover Risk [Member]  
Risk Return Abstract rr_RiskReturnAbstract  
Risk [Text Block] rr_RiskTextBlock High portfolio turnover risk.  Trading securities actively and frequently can increase transaction costs (thus lowering performance) and taxable distributions.
Class A C I R6 | Small Cap Dynamic Growth Fund | Information Technology Companies Risk [Member]  
Risk Return Abstract rr_RiskReturnAbstract  
Risk [Text Block] rr_RiskTextBlock Information technology companies risk.  Information technology companies can be significantly affected by rapid obsolescence, short product cycles, competition from new market entrants, and heightened cybersecurity risk, among other factors.
Class A C I R6 | Small Cap Dynamic Growth 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 or a derivative position closed without negatively impacting its market value may be impaired by reduced market activity or participation, legal restrictions, or other economic and market impediments.
Class A C I R6 | Small Cap Dynamic Growth 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 A C I R6 | Small Cap Dynamic Growth Fund | Quantitative Modeling Risk [Member]  
Risk Return Abstract rr_RiskReturnAbstract  
Risk [Text Block] rr_RiskTextBlock Quantitative modeling risk.  Quantitative models may not accurately predict future market movements or characteristics, which may negatively impact performance. Models also may perform differently than expected due to implementation problems, technological malfunction, or programming or data inaccuracies, among other possible issues.
Class A C I R6 | Small Cap Dynamic Growth 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 A C I R6 | Small Cap Dynamic Growth Fund | Small Company Risk [Member]  
Risk Return Abstract rr_RiskReturnAbstract  
Risk [Text Block] rr_RiskTextBlock Small company risk.  Small companies are generally less established and may be more volatile than larger companies. Small-capitalization securities may underperform the market as a whole.
Class A C I R6 | Small Cap Dynamic Growth Fund | Class A  
Risk Return Abstract rr_RiskReturnAbstract  
Maximum front-end sales charge (load) on purchases, as a % of purchase price rr_MaximumCumulativeSalesChargeOverOfferingPrice 5.00%
Maximum deferred sales charge (load) as a % of purchase or sale price, whichever is less rr_MaximumDeferredSalesChargeOverOfferingPrice 1.00%
Small account fee (for fund account balances under $1,000) ($) rr_MaximumAccountFee $ 20
Management fee rr_ManagementFeesOverAssets 0.85%
Distribution and service (Rule 12b-1) fees rr_DistributionAndService12b1FeesOverAssets 0.25%
Other expenses rr_OtherExpensesOverAssets 0.21%
Acquired fund fees and expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [1]
Total annual fund operating expenses rr_ExpensesOverAssets 1.32% [2]
Contractual expense reimbursement rr_FeeWaiverOrReimbursementOverAssets (0.01%) [3]
Total annual fund operating expenses after expense reimbursements rr_NetExpensesOverAssets 1.31%
1 year rr_ExpenseExampleYear01 $ 627
3 years rr_ExpenseExampleYear03 896
5 years rr_ExpenseExampleYear05 1,186
10 years rr_ExpenseExampleYear10 $ 2,010
2014 rr_AnnualReturn2014 7.57%
2015 rr_AnnualReturn2015 (1.75%)
2016 rr_AnnualReturn2016 11.30%
2017 rr_AnnualReturn2017 25.13%
2018 rr_AnnualReturn2018 (12.79%)
2019 rr_AnnualReturn2019 16.12%
2020 rr_AnnualReturn2020 39.94%
2021 rr_AnnualReturn2021 22.97%
2022 rr_AnnualReturn2022 (37.04%)
2023 rr_AnnualReturn2023 5.78%
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 29.91%
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 25.40%
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 Jun. 30, 2022
Lowest Quarterly Return rr_BarChartLowestQuarterlyReturn (20.62%)
1 year rr_AverageAnnualReturnYear01 0.52%
5 year rr_AverageAnnualReturnYear05 4.80%
10 year rr_AverageAnnualReturnYear10 4.96%
Class A C I R6 | Small Cap Dynamic Growth Fund | Class C  
Risk Return Abstract rr_RiskReturnAbstract  
Maximum front-end sales charge (load) on purchases, as a % of purchase price rr_MaximumCumulativeSalesChargeOverOfferingPrice none
Maximum deferred sales charge (load) as a % of purchase or sale price, whichever is less rr_MaximumDeferredSalesChargeOverOfferingPrice 1.00%
Small account fee (for fund account balances under $1,000) ($) rr_MaximumAccountFee $ 20
Management fee rr_ManagementFeesOverAssets 0.85%
Distribution and service (Rule 12b-1) fees rr_DistributionAndService12b1FeesOverAssets 1.00%
Other expenses rr_OtherExpensesOverAssets 0.21%
Acquired fund fees and expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [1]
Total annual fund operating expenses rr_ExpensesOverAssets 2.07% [2]
Contractual expense reimbursement rr_FeeWaiverOrReimbursementOverAssets (0.01%) [3]
Total annual fund operating expenses after expense reimbursements rr_NetExpensesOverAssets 2.06%
1 year rr_ExpenseExampleYear01 $ 309
3 years rr_ExpenseExampleYear03 648
5 years rr_ExpenseExampleYear05 1,113
10 years rr_ExpenseExampleYear10 2,207
Expense Example, No Redemption, 1 Year rr_ExpenseExampleNoRedemptionYear01 209
Expense Example, No Redemption, 3 Years rr_ExpenseExampleNoRedemptionYear03 648
Expense Example, No Redemption, 5 Years rr_ExpenseExampleNoRedemptionYear05 1,113
Expense Example, No Redemption, 10 Years rr_ExpenseExampleNoRedemptionYear10 $ 2,207
1 year rr_AverageAnnualReturnYear01 4.00%
5 year rr_AverageAnnualReturnYear05 5.08%
10 year rr_AverageAnnualReturnYear10 5.04%
Class A C I R6 | Small Cap Dynamic Growth Fund | Class I  
Risk Return Abstract rr_RiskReturnAbstract  
Maximum front-end sales charge (load) on purchases, as a % of purchase price rr_MaximumCumulativeSalesChargeOverOfferingPrice none
Maximum deferred sales charge (load) as a % of purchase or sale price, whichever is less rr_MaximumDeferredSalesChargeOverOfferingPrice none
Small account fee (for fund account balances under $1,000) ($) rr_MaximumAccountFee none
Management fee rr_ManagementFeesOverAssets 0.85%
Distribution and service (Rule 12b-1) fees rr_DistributionAndService12b1FeesOverAssets none
Other expenses rr_OtherExpensesOverAssets 0.21%
Acquired fund fees and expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [1]
Total annual fund operating expenses rr_ExpensesOverAssets 1.07% [2]
Contractual expense reimbursement rr_FeeWaiverOrReimbursementOverAssets (0.01%) [3]
Total annual fund operating expenses after expense reimbursements rr_NetExpensesOverAssets 1.06%
1 year rr_ExpenseExampleYear01 $ 108
3 years rr_ExpenseExampleYear03 339
5 years rr_ExpenseExampleYear05 589
10 years rr_ExpenseExampleYear10 $ 1,305
1 year rr_AverageAnnualReturnYear01 6.09%
5 year rr_AverageAnnualReturnYear05 6.12%
10 year rr_AverageAnnualReturnYear10 5.64%
Class A C I R6 | Small Cap Dynamic Growth Fund | Class R6  
Risk Return Abstract rr_RiskReturnAbstract  
Maximum front-end sales charge (load) on purchases, as a % of purchase price rr_MaximumCumulativeSalesChargeOverOfferingPrice none
Maximum deferred sales charge (load) as a % of purchase or sale price, whichever is less rr_MaximumDeferredSalesChargeOverOfferingPrice none
Small account fee (for fund account balances under $1,000) ($) rr_MaximumAccountFee none
Management fee rr_ManagementFeesOverAssets 0.85%
Distribution and service (Rule 12b-1) fees rr_DistributionAndService12b1FeesOverAssets none
Other expenses rr_OtherExpensesOverAssets 0.10%
Acquired fund fees and expenses rr_AcquiredFundFeesAndExpensesOverAssets 0.01% [1]
Total annual fund operating expenses rr_ExpensesOverAssets 0.96% [2]
Contractual expense reimbursement rr_FeeWaiverOrReimbursementOverAssets (0.01%) [3]
Total annual fund operating expenses after expense reimbursements rr_NetExpensesOverAssets 0.95%
1 year rr_ExpenseExampleYear01 $ 97
3 years rr_ExpenseExampleYear03 305
5 years rr_ExpenseExampleYear05 530
10 years rr_ExpenseExampleYear10 $ 1,177
1 year rr_AverageAnnualReturnYear01 6.19%
5 year rr_AverageAnnualReturnYear05 6.25%
10 year rr_AverageAnnualReturnYear10 5.71%
Class A C I R6 | Small Cap Dynamic Growth Fund | Return After Taxes on Distributions | Class A  
Risk Return Abstract rr_RiskReturnAbstract  
1 year rr_AverageAnnualReturnYear01 0.52%
5 year rr_AverageAnnualReturnYear05 3.13%
10 year rr_AverageAnnualReturnYear10 2.63%
Class A C I R6 | Small Cap Dynamic Growth Fund | Return After Taxes on Distributions and Sale of Shares | Class A  
Risk Return Abstract rr_RiskReturnAbstract  
1 year rr_AverageAnnualReturnYear01 0.31%
5 year rr_AverageAnnualReturnYear05 4.08%
10 year rr_AverageAnnualReturnYear10 3.74%
Class A C I R6 | Small Cap Dynamic Growth Fund | Russell 3000 Index (reflects no deduction for fees, expenses, or taxes)  
Risk Return Abstract rr_RiskReturnAbstract  
1 year rr_AverageAnnualReturnYear01 25.96% [4]
5 year rr_AverageAnnualReturnYear05 15.16% [4]
10 year rr_AverageAnnualReturnYear10 11.48% [4]
Class A C I R6 | Small Cap Dynamic Growth 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%
[1] “Acquired fund fees and expenses” are based on indirect net expenses associated with the fund’s investments in underlying investment companies.
[2] The “Total annual fund operating expenses” shown may not correlate to the fund’s ratios of expenses to average daily net assets shown in the “Financial highlights” section of the fund’s prospectus, which does not include “Acquired fund fees and expenses.”
[3] The advisor contractually agrees to waive a portion of its management fee and/or reimburse expenses for the fund and certain other John Hancock funds according to an asset level breakpoint schedule that is based on the aggregate net assets of all the funds participating in the waiver or reimbursement, including the fund (the participating portfolios). This waiver equals, on an annualized basis, 0.0100% of that portion of the aggregate net assets of all the participating portfolios that exceeds $75 billion but is less than or equal to $125 billion; 0.0125% of that portion of the aggregate net assets of all the participating portfolios that exceeds $125 billion but is less than or equal to $150 billion; 0.0150% of that portion of the aggregate net assets of all the participating portfolios that exceeds $150 billion but is less than or equal to $175 billion; 0.0175% of that portion of the aggregate net assets of all the participating portfolios that exceeds $175 billion but is less than or equal to $200 billion; 0.0200% of that portion of the aggregate net assets of all the participating portfolios that exceeds $200 billion but is less than or equal to $225 billion; and 0.0225% of that portion of the aggregate net assets of all the participating portfolios that exceeds $225 billion. The amount of the reimbursement is calculated daily and allocated among all the participating portfolios in proportion to the daily net assets of each participating portfolio. During its most recent fiscal year, the fund’s reimbursement amounted to 0.01% of the fund’s average daily net assets. This agreement expires on July 31, 2026, unless renewed by mutual agreement of the fund and the advisor based upon a determination that this is appropriate under the circumstances at that time.
[4] 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.