| Label | Element | Value | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Registrant Name | dei_EntityRegistrantName | JOHN HANCOCK FUNDS II | ||||||||
| Prospectus Date | rr_ProspectusDate | Jan. 01, 2025 | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk/Return [Heading] | rr_RiskReturnHeading | <span style="color:#000000;font-family:Arial Narrow;font-size:24pt;">John Hancock Lifestyle Blend Growth Portfolio</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 growth of capital. Current income is also a consideration. | ||||||||
| 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> | ||||||||
| 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, which operates as a fund of funds and invests in underlying funds, does not pay transaction costs, such as commissions, when it buys and sells shares of underlying funds (or “turns over” its portfolio). An underlying fund does pay transaction costs when it turns over its portfolio, and a higher portfolio turnover rate may indicate higher transaction costs. A higher portfolio turnover rate 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 performance of the underlying funds and of the fund. During its most recent fiscal year, the fund’s portfolio turnover rate was 26% of the average value of its portfolio. | ||||||||
| Portfolio Turnover, Rate | rr_PortfolioTurnoverRate | 26.00% | ||||||||
| 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 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 | The fund operates as a fund of funds and, except as otherwise described below, normally invests approximately 20% of its assets in underlying funds that invest primarily in fixed-income securities and approximately 80% of its assets in underlying funds that invest primarily in equity securities. Underlying funds may be affiliated or unaffiliated and may include exchange-traded funds (ETFs). Variations in the target percentage allocation between underlying funds that invest primarily in equity securities and underlying funds that invest primarily in fixed-income securities are permitted up to 10%. Although variations beyond the 10% range are generally not permitted, the manager may determine, in light of market or economic conditions, that the normal percentage limitations should be exceeded to protect the fund or to achieve its goal. There is no limit on the range of maturities and credit quality of securities in which the fund and underlying funds may invest. Certain of the underlying funds focus their investment strategy on fixed-income securities, which may include investment-grade and below-investment-grade debt securities with maturities that range from short to longer term. The fixed-income underlying funds collectively hold various types of debt instruments, such as corporate bonds and mortgage-backed, government-issued, domestic, and international securities (including emerging-market securities). The portfolio managers may exceed the normal percentage limitations to protect the fund or seek to achieve its goal in light of market or economic conditions. The fund may invest in various passively managed underlying funds (commonly known as index funds) that, as a group, hold a wide range of equity-type securities. The fund may also invest in various actively managed underlying funds. The fund is not designed to track an index or group of indexes. Equity-type securities include small-, mid-, and large-capitalization stocks, domestic and foreign securities (including emerging-market securities), and sector holdings. Each of the underlying funds has its own investment strategy that, for example, may focus on growth stocks, value stocks, or a combination of growth and income stocks. Underlying funds may invest in derivatives such as options on securities and futures contracts. The fund may also invest in derivatives such as credit default swaps, options on equity index futures, interest-rate swaps, and foreign currency forward contracts, as well as in exchange-traded notes (ETNs). The fund may also purchase futures contracts for cash management purposes and to gain investment exposure pending investments. The fund is also authorized to use various other investment strategies such as investing directly in fixed-income and equity securities, including U.S. government securities, mortgage-backed and asset-backed securities, closed-end funds, and partnerships. The fund may also short-sell securities. The managers consider 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 investment performance of each fund will reflect both its managers’ allocation decisions with respect to the underlying funds and the investment decisions made by the underlying funds’ managers. | ||||||||
| 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 Morningstar U.S. Moderately Aggressive Target Allocation Index and the fund’s custom blended benchmark, the “John Hancock Lifestyle Growth Index”, show 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 888-972-8696 between 8:30 a.m. and 5:00 p.m., Eastern time, on most business days.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;">888-972-8696 between 8:30</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;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 R6</span> | ||||||||
| Bar Chart Closing [Text Block] | rr_BarChartClosingTextBlock | Year-to-date total return through:Q3 202414.04%Best quarter:Q2 202016.65%Worst quarter:Q1 2020-18.64% | ||||||||
| 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 S&P 500 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 R6 | Lifestyle Blend Growth Portfolio | Risk Nondiversified Status [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Non-diversified risk. Adverse events affecting a particular issuer or group of issuers may magnify losses for non-diversified funds, which may invest a large portion of assets in any one issuer or a small number of issuers. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | Commodity Risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Commodity risk. Commodity prices may be volatile due to fluctuating demand, supply disruption, speculation, and other factors. Certain commodity investments may have no active trading market at times.Commodity risk. Commodity prices may be volatile due to fluctuating demand, supply disruption, speculation, and other factors. Certain commodity investments may have no active trading market at times. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Credit And Counterparty Risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Credit and counterparty risk. The issuer or guarantor of a fixed-income security, the counterparty to an over-the-counter derivatives contract, or a borrower of fund securities may not make timely payments or otherwise honor its obligations. U.S. government securities are subject to varying degrees of credit risk depending upon the nature of their support. A downgrade or default affecting any of the fund’s securities could affect the fund’s performance.Credit and counterparty risk. The issuer or guarantor of a fixed-income security, the counterparty to an over-the-counter derivatives contract, or a borrower of fund securities may not make timely payments or otherwise honor its obligations. U.S. government securities are subject to varying degrees of credit risk depending upon the nature of their support. A downgrade or default affecting any of the fund’s securities could affect the fund’s performance. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | 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.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 R6 | Lifestyle Blend Growth Portfolio | 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.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 R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | Exchange traded notes ETNs risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Exchange-traded notes (ETNs) risk. An ETN generally reflects the risks associated with the assets composing the underlying market benchmark or strategy it is designed to track. ETNs also are subject to issuer and fixed-income risks. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Fixed Income Securities Risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Fixed-income securities risk. A rise in interest rates typically causes bond prices to fall. The longer the average maturity or duration of the bonds held by a fund, the more sensitive it will likely be to interest-rate fluctuations. An issuer may not make all interest payments or repay all or any of the principal borrowed. Changes in a security’s credit quality may adversely affect fund performance.Fixed-income securities risk. A rise in interest rates typically causes bond prices to fall. The longer the average maturity or duration of the bonds held by a fund, the more sensitive it will likely be to interest-rate fluctuations. An issuer may not make all interest payments or repay all or any of the principal borrowed. Changes in a security’s credit quality may adversely affect fund performance. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Fund of funds risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Fund of funds risk. The fund’s ability to achieve its investment objective will depend largely, in part, on: (i) the underlying funds’ performance, expenses and ability to meet their investment objectives; and (ii) properly rebalancing assets among underlying funds and different asset classes. The fund is also subject to risks related to: (i) layering of fees of the underlying funds; and (ii) conflicts of interest associated with the subadvisor’s ability to allocate fund assets without limit to other funds it advises and/or other funds advised by affiliated subadvisors. There is no assurance that either the fund or the underlying funds will achieve their investment objectives. A fund bears underlying fund fees and expenses indirectly. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Hedging Derivatives And Other Strategic Transactions Risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Hedging, derivatives, and other strategic transactions risk. Hedging, derivatives, and other strategic transactions may increase a fund’s volatility and could produce disproportionate losses, potentially more than the fund’s principal investment. Risks of these transactions are different from and possibly greater than risks of investing directly in securities and other traditional instruments. Under certain market conditions, derivatives could become harder to value or sell and may become subject to liquidity risk (i.e., the inability to enter into closing transactions). Derivatives and other strategic transactions that the fund intends to utilize include: credit default swaps, foreign currency forward contracts, futures contracts, interest-rate swaps, and options. Foreign currency forward contracts, futures contracts, options, and swaps generally are subject to counterparty risk. In addition, swaps may be subject to interest-rate and settlement risk, and the risk of default of the underlying reference obligation. Derivatives associated with foreign currency transactions are subject to currency risk.Hedging, derivatives, and other strategic transactions risk. Hedging, derivatives, and other strategic transactions may increase a fund’s volatility and could produce disproportionate losses, potentially more than the fund’s principal investment. Risks of these transactions are different from and possibly greater than risks of investing directly in securities and other traditional instruments. Under certain market conditions, derivatives could become harder to value or sell and may become subject to liquidity risk (i.e., the inability to enter into closing transactions). Derivatives and other strategic transactions that the fund intends to utilize include: credit default swaps, foreign currency forward contracts, futures contracts, interest-rate swaps, and options. Foreign currency forward contracts, futures contracts, options, and swaps generally are subject to counterparty risk. In addition, swaps may be subject to interest-rate and settlement risk, and the risk of default of the underlying reference obligation. Derivatives associated with foreign currency transactions are subject to currency risk. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Investment company securities risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Investment company securities risk. Fund shareholders indirectly bear their proportionate share of the expenses of any investment company in which the fund invests. The total return on such investments will be reduced by the operating expenses and fees of such other investment companies, including advisory fees. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Mortgage Backed And Asset Backed Securities Risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Mortgage-backed and asset-backed securities risk. Mortgage-backed and asset-backed securities are subject to different combinations of prepayment, extension, interest-rate, and other market risks. Factors that impact the value of these securities include interest rate changes, the reliability of available information, credit quality or enhancement, and market perception.Mortgage-backed and asset-backed securities risk. Mortgage-backed and asset-backed securities are subject to different combinations of prepayment, extension, interest-rate, and other market risks. Factors that impact the value of these securities include interest rate changes, the reliability of available information, credit quality or enhancement, and market perception. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | 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.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 R6 | Lifestyle Blend Growth Portfolio | Short sales risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Short sales risk. Short sales involve costs and risk. A fund must pay the lender interest on a security it borrows, and the fund will lose money if the price of the borrowed security increases between the time of the short sale and the date when the fund replaces the borrowed security. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | US Government Agency Obligations Risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | U.S. government agency obligations risk. The fund invests in obligations issued by agencies and instrumentalities of the U.S. government. Government-sponsored entities such as Federal National Mortgage Association (Fannie Mae), Federal Home Loan Mortgage Corporation (Freddie Mac) and the Federal Home Loan Banks, although chartered or sponsored by Congress, are not funded by congressional appropriations and the debt securities that they issue are neither guaranteed nor issued by the U.S. government. Such debt securities are subject to the risk of default on the payment of interest and/or principal, similar to the debt securities of private issuers. The maximum potential liability of the issuers of some U.S. government obligations may greatly exceed their current resources, including any legal right to support from the U.S. government. Although the U.S. government has provided financial support to Fannie Mae and Freddie Mac in the past, there can be no assurance that it will support these or other government-sponsored entities in the future.U.S. government agency obligations risk. The fund invests in obligations issued by agencies and instrumentalities of the U.S. government. Government-sponsored entities such as Federal National Mortgage Association (Fannie Mae), Federal Home Loan Mortgage Corporation (Freddie Mac) and the Federal Home Loan Banks, although chartered or sponsored by Congress, are not funded by congressional appropriations and the debt securities that they issue are neither guaranteed nor issued by the U.S. government. Such debt securities are subject to the risk of default on the payment of interest and/or principal, similar to the debt securities of private issuers. The maximum potential liability of the issuers of some U.S. government obligations may greatly exceed their current resources, including any legal right to support from the U.S. government. Although the U.S. government has provided financial support to Fannie Mae and Freddie Mac in the past, there can be no assurance that it will support these or other government-sponsored entities in the future. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | Inflation protected securities risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Inflation-protected securities risk. Increases in real interest rates generally cause the price of inflation-protected debt securities to decrease. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | Large Company Risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Large company risk. Larger companies may grow more slowly than smaller companies or be slower to respond to business developments. Large-capitalization securities may underperform the market as a whole. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | 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. Liquidity risk may be magnified in rising interest rate environments due to higher than normal redemption rates. Widespread selling of fixed-income securities to satisfy redemptions during periods of reduced demand may adversely impact the price or salability of such securities. Periods of heavy redemption could cause the fund to sell assets at a loss or depressed value, which could negatively affect performance. Redemption risk is heightened during periods of declining or illiquid markets. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Lower Rated And High Yield Fixed Income Securities Risk [Member] | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| Risk [Text Block] | rr_RiskTextBlock | Lower-rated and high-yield fixed-income securities risk. Lower-rated and high-yield fixed-income securities (junk bonds) are subject to greater credit quality risk, risk of default, and price volatility than higher-rated fixed-income securities, may be considered speculative, and can be difficult to resell. | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | 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 R6 | Lifestyle Blend Growth Portfolio | Class R6 | ||||||||||
| 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.28% | ||||||||
| Other expenses | rr_OtherExpensesOverAssets | 0.05% | ||||||||
| Acquired fund fees and expenses | rr_AcquiredFundFeesAndExpensesOverAssets | 0.31% | [1] | |||||||
| Total annual fund operating expenses | rr_ExpensesOverAssets | 0.64% | [2] | |||||||
| 1 year | rr_ExpenseExampleYear01 | $ 65 | ||||||||
| 3 years | rr_ExpenseExampleYear03 | 205 | ||||||||
| 5 years | rr_ExpenseExampleYear05 | 357 | ||||||||
| 10 years | rr_ExpenseExampleYear10 | $ 798 | ||||||||
| 2014 | rr_AnnualReturn2014 | 6.87% | ||||||||
| 2015 | rr_AnnualReturn2015 | (1.67%) | ||||||||
| 2016 | rr_AnnualReturn2016 | 9.41% | ||||||||
| 2017 | rr_AnnualReturn2017 | 17.53% | ||||||||
| 2018 | rr_AnnualReturn2018 | (7.36%) | ||||||||
| 2019 | rr_AnnualReturn2019 | 22.65% | ||||||||
| 2020 | rr_AnnualReturn2020 | 13.52% | ||||||||
| 2021 | rr_AnnualReturn2021 | 15.59% | ||||||||
| 2022 | rr_AnnualReturn2022 | (16.07%) | ||||||||
| 2023 | rr_AnnualReturn2023 | 15.29% | ||||||||
| 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 | 14.04% | ||||||||
| 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 | 16.65% | ||||||||
| 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 | (18.64%) | ||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 15.29% | ||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 9.26% | ||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 6.91% | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Return After Taxes on Distributions | Class R6 | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 14.54% | ||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 7.38% | ||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 5.29% | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Return After Taxes on Distributions and Sale of Shares | Class R6 | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 9.32% | ||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 6.90% | ||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 5.04% | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | S&P 500 Index (reflects no deduction for fees, expenses, or taxes) | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 26.29% | [3] | |||||||
| 5 year | rr_AverageAnnualReturnYear05 | 15.69% | [3] | |||||||
| 10 year | rr_AverageAnnualReturnYear10 | 12.03% | [3] | |||||||
| Class R6 | Lifestyle Blend Growth Portfolio | Morningstar U.S. Moderately Aggressive Target Allocation Index (reflects no deduction for fees, expenses, or taxes) | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 19.46% | ||||||||
| 5 year | rr_AverageAnnualReturnYear05 | 10.61% | ||||||||
| 10 year | rr_AverageAnnualReturnYear10 | 7.97% | ||||||||
| Class R6 | Lifestyle Blend Growth Portfolio | John Hancock Lifestyle Growth Index (reflects no deduction for fees, expenses, or taxes, except foreign withholding taxes on dividends) | ||||||||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||||||||
| 1 year | rr_AverageAnnualReturnYear01 | 17.45% | [4] | |||||||
| 5 year | rr_AverageAnnualReturnYear05 | 10.19% | [4] | |||||||
| 10 year | rr_AverageAnnualReturnYear10 | 7.71% | [4] | |||||||
| ||||||||||