<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:jhf="http://www.johnhancock.com/20251231"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="jhf-20251231.xsd" xlink:type="simple"/>
    <context id="D_31Dec2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000008228">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jhf:S000008228Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000008228_C000022399">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jhf:S000008228Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022399Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000008228_C000022400">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jhf:S000008228Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022400Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000008228_C000022398">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jhf:S000008228Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022398Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000008239_RiskNondiversifiedStatusMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jhf:S000008239Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNondiversifiedStatusMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="S000008239">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jhf:S000008239Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-12-31</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022443_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022443_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022443_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022443Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022444_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022444_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022444_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022444Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022442_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022442Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022442_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022442Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="C000022442_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhf:C000022442Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_SP500IndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_SP500IndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_SP500IndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:SP500IndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_Russell3000HealthCareIndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:Russell3000HealthCareIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_Russell3000HealthCareIndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:Russell3000HealthCareIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_Russell3000HealthCareIndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:Russell3000HealthCareIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_LipperHealthBiotechnologyIndexMember_01Jan2025_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:LipperHealthBiotechnologyIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_LipperHealthBiotechnologyIndexMember_01Jan2021_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:LipperHealthBiotechnologyIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="_LipperHealthBiotechnologyIndexMember_01Jan2016_31Dec2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000756913</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:PerformanceMeasureAxis">jhf:LipperHealthBiotechnologyIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:DocumentPeriodEndDate contextRef="D_31Dec2025_31Dec2025" id="apid_1">2025-12-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="D_31Dec2025_31Dec2025" id="apid_2">0000756913</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_31Dec2025_31Dec2025" id="apid_3">false</dei:AmendmentFlag>
    <oef:ProspectusDate contextRef="D_31Dec2025_31Dec2025" id="apid_4">2026-04-27</oef:ProspectusDate>
    <dei:EntityInvCompanyType contextRef="D_31Dec2025_31Dec2025" id="apid_5">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="D_31Dec2025_31Dec2025" id="apid_6">497</dei:DocumentType>
    <oef:SupplementToProspectusTextBlock
      contextRef="D_31Dec2025_31Dec2025"
      id="x_6eefbd44-1468-4373-82b9-c68277f4db0b">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:18pt;"&gt;Prospectus Supplement&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;John Hancock Variable Insurance Trust&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt; (the Trust)&lt;/span&gt; &lt;br/&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;Equity Income Trust (the fund)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;Supplement dated September 24, 2026 to the current Prospectus, as may be supplemented (the Prospectus)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;At its meeting held on September 22-24, 2026, the Trust&#x2019;s Board of Trustees approved a reduction in the fund&#x2019;s management fee to be retroactively effective as of August 1, 2026 (the Effective Date). As a result, the information in the &#x201c;Annual fund operating expenses&#x201d; table and the &#x201c;Expense example&#x201d; table&#160;in the fund summary section for the fund is amended and restated as follows to reflect the fund&#x2019;s revised management fee as of the Effective Date:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Annual fund operating expenses (%) &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;Series I&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;Series II&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;Series NAV&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;Management fee&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.67&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.67&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.67&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;Distribution and service (Rule 12b-1) fees&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.05&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.25&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.00&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;Other expenses&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.05&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.05&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;0.05&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Total annual fund operating expenses&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;width:20.47pt;"&gt;0.77&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;width:20.47pt;"&gt;0.97&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;width:20.47pt;"&gt;0.72&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;Contractual expense reimbursement&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;-0.01&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;-0.01&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:20.47pt;"&gt;-0.01&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Total annual fund operating expenses after expense reimbursements&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;width:20.47pt;"&gt;0.76&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;width:20.47pt;"&gt;0.96&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;width:20.47pt;"&gt;0.71&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;1&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;&#x201c;Management fee&#x201d; has been restated to reflect the contractual management fee schedule effective August 1, 2026.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;2&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;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&#x2019;s reimbursement amounted to 0.01% of the fund&#x2019;s average daily net assets. This agreement expires on&#160;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;July 31, 2027&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;, 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.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;"&gt;Expense example&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;The examples are intended to help you compare the cost of investing in the fund with the cost of investing in other mutual funds. The examples assume that $10,000 is invested in the fund for the periods indicated and then all shares are redeemed at the end of those periods. The examples also assume that the investment has a 5% return each year and that the fund&#x2019;s operating expenses remain the same. The expense example does not reflect fees and expenses of any variable insurance contract that may use the fund as its underlying investment option and would be higher if they did. Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Expenses ($)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;Series I&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;Series II&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;Series NAV&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;1 year&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:16.21pt;"&gt;78&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:23.1pt;"&gt;98&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:16.21pt;"&gt;73&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;3 years&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:16.21pt;"&gt;245&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:23.1pt;"&gt;308&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:16.21pt;"&gt;229&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;5 years&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:16.21pt;"&gt;427&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:23.1pt;"&gt;535&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:16.21pt;"&gt;400&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;10 years&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:16.21pt;"&gt;953&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:23.1pt;"&gt;1,189&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;width:16.21pt;"&gt;894&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:18pt;"&gt;Prospectus Supplement&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;John Hancock Variable Insurance Trust&#160;(the Trust)&lt;/span&gt; &lt;br/&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;Health Sciences Trust (the fund)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;Supplement dated September 24, 2026 to the current Prospectus, as may be supplemented (the Prospectus)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;IMPORTANT NOTICE REGARDING CHANGE IN INVESTMENT POLICY&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;The following information supplements and supersedes any information to the contrary relating to the fund contained in the Prospectus.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;At its meeting held on September 22-24, 2026, the Trust&#x2019;s Board of Trustees (the Board), including the Independent Trustees, approved a special meeting of shareholders of the fund to be held on or about January 5, 2027 (the Shareholder Meeting). The Board, including the Independent Trustees, recommends that the fund&#x2019;s shareholders approve a proposal that will be presented at the Shareholder Meeting to change the fund&#x2019;s diversification status from diversified to non-diversified. If approved, the change to the diversification status is expected to become effective on or about January 5, 2027 (the Effective Date).&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;Note that this Shareholder Meeting is limited to shareholders of the fund. Shareholders of the fund as of November 6, 2026 are entitled to vote at the Shareholder Meeting.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;Accordingly, contingent upon shareholder approval of the diversification status change, as of the Effective Date, the following disclosure will be added as the final paragraph of the fund&#x2019;s &#x201c;Principal investment strategies&#x201d; in the &#x201c;Fund summary&#x201d; section:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;The fund is a non-diversified fund, which means that it may invest in a smaller number of issuers than a diversified fund and may invest more of its assets in the securities of a single issuer.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;Additionally, contingent upon shareholder approval of the diversification status change, as of the Effective Date, the following risk will be added to the fund&#x2019;s &#x201c;Principal risks&#x201d; in the &#x201c;Fund summary&#x201d; section:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;Non-diversified risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt; 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.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;In addition, at its meeting held on September 22-24, 2026, the Board approved a change to replace the fund&#x2019;s additional benchmark with one that more closely correlates to the fund's investments, effective as of September 24, 2026.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;In connection with the change to the additional benchmark, as of September 24, 2026, the paragraph under the heading &#x201c;Past performance&#x201d; in the &#x201c;Fund summary&#x201d; section is hereby amended and restated as follows:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;The following information illustrates the variability of the fund&#x2019;s returns and provides some indication of the risks of investing in the fund by showing changes in the fund&#x2019;s performance from year to year and by showing how the fund&#x2019;s average annual returns compared with a broad-based securities market index.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;Past performance does not indicate future results.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt; The Russell 3000 Health Care Index shows how the fund&#x2019;s performance compares against the returns of similar investments. All figures assume dividend reinvestment. The performance information below does not reflect fees and expenses of any variable insurance contract which may use John Hancock Variable Insurance Trust as its underlying investment option. If such fees and expenses had been reflected, performance would be lower.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;Additionally, as of September 24, 2026, the &#x201c;Average annual total returns&#x201d; table for the fund under the heading &#x201c;Past performance&#x201d; in the &#x201c;Fund summary&#x201d; section is replaced in its entirety with the following:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Average annual total returns (%)&#x2014;as of 12/31/2025&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;1 year&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;5 year&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;"&gt;10 year&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Series I&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.05pt;"&gt;19.49&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.74pt;"&gt;4.15&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.75pt;"&gt;8.70&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Series II&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.05pt;"&gt;19.22&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.74pt;"&gt;3.94&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.75pt;"&gt;8.48&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Series NAV&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.05pt;"&gt;19.53&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.74pt;"&gt;4.19&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.75pt;"&gt;8.75&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;S&amp;amp;P 500 Index (reflects no deduction for fees, expenses, or taxes)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;17.88&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;14.42&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;14.82&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;Russell 3000 Health Care Index (reflects no deduction for fees, expenses, or taxes)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;14.56&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.74pt;"&gt;6.31&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.79pt;"&gt;9.54&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;Lipper Health/Biotechnology Index (reflects no deduction for fees, expenses, or taxes)&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;22.02&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.74pt;"&gt;3.26&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:4.75pt;"&gt;8.18&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:5pt;font-weight:bold;position:relative;top:-3.25pt;"&gt;1&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;Prior to September 24, 2026, the fund&#x2019;s additional benchmark was the Lipper Health/Biotechnology Index. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;Effective September 24, 2026, the fund&#x2019;s additional &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;benchmark is the Russell 3000 Health Care Index. The Russell 3000 Health Care Index better reflects the universe of investment opportunities based on the fund&#x2019;s investment strategy.&lt;/span&gt;</oef:SupplementToProspectusTextBlock>
    <dei:EntityRegistrantName
      contextRef="D_31Dec2025_31Dec2025"
      id="apid_ff3f4325-7e44-45ab-a476-be56ef49d773">John Hancock Variable Insurance Trust</dei:EntityRegistrantName>
    <oef:OperatingExpensesCaption
      contextRef="S000008228"
      id="abcbd365-dcfc-48fc-adb5-841f88010e3f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Annual fund operating expenses (%) &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;margin-left:0.0pt;"&gt;(expenses that you pay each year as a percentage of the value of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="S000008228_C000022399"
      decimals="4"
      id="x_60c8354d-0d0e-4d27-b0e5-b441a67f04a5"
      unitRef="pure">0.0067</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="S000008228_C000022400"
      decimals="4"
      id="x_19922e66-accc-41ef-ad20-fdee9efee4ed"
      unitRef="pure">0.0067</oef:ManagementFeesOverAssets>
    <oef:ManagementFeesOverAssets
      contextRef="S000008228_C000022398"
      decimals="4"
      id="x_3c530ed9-7030-4bb9-a6b9-e8af0c7b7b31"
      unitRef="pure">0.0067</oef:ManagementFeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000008228_C000022399"
      decimals="4"
      id="b9816b3c-6d6d-4b2e-9290-4b936be3e736"
      unitRef="pure">0.0005</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000008228_C000022400"
      decimals="4"
      id="x_3768868a-dad9-450a-878f-4322607592ff"
      unitRef="pure">0.0025</oef:DistributionAndService12b1FeesOverAssets>
    <oef:DistributionAndService12b1FeesOverAssets
      contextRef="S000008228_C000022398"
      decimals="4"
      id="x_979b1f50-24f6-4e4e-85d0-aa13194fd00a"
      unitRef="pure">0.0000</oef:DistributionAndService12b1FeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000008228_C000022399"
      decimals="4"
      id="x_2f58ad13-9fbe-4dad-9264-585803b1f5fb"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000008228_C000022400"
      decimals="4"
      id="x_0d4b3e22-b7f8-4eaa-a21f-d53fe9907256"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="S000008228_C000022398"
      decimals="4"
      id="d1014d18-fe37-4ee1-8eb9-12c8314b722c"
      unitRef="pure">0.0005</oef:OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000008228_C000022399"
      decimals="4"
      id="x_70ffc0cb-4bfc-411a-85f0-1891ae2d5b24"
      unitRef="pure">0.0077</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000008228_C000022400"
      decimals="4"
      id="x_7e2093c4-b121-4ceb-b478-5877b502f64d"
      unitRef="pure">0.0097</oef:ExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="S000008228_C000022398"
      decimals="4"
      id="x_4fe45057-cabb-47c5-a5c3-abdb4974486c"
      unitRef="pure">0.0072</oef:ExpensesOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000008228_C000022399"
      decimals="4"
      id="de74f551-1483-4b8e-a68d-e8c74987be4e"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000008228_C000022400"
      decimals="4"
      id="x_216defad-b5df-4ea8-bae3-4c1b9e72ab2e"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:FeeWaiverOrReimbursementOverAssets
      contextRef="S000008228_C000022398"
      decimals="4"
      id="b8571a8a-87a8-4a60-a4f3-4700f37d1d29"
      unitRef="pure">-0.0001</oef:FeeWaiverOrReimbursementOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000008228_C000022399"
      decimals="4"
      id="adaa188b-6217-42fe-be15-209f257fc409"
      unitRef="pure">0.0076</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000008228_C000022400"
      decimals="4"
      id="x_8ed9d52c-106d-4645-a32c-27507f5d3016"
      unitRef="pure">0.0096</oef:NetExpensesOverAssets>
    <oef:NetExpensesOverAssets
      contextRef="S000008228_C000022398"
      decimals="4"
      id="x_04ed5761-d902-4817-a96d-2c078a2e559c"
      unitRef="pure">0.0071</oef:NetExpensesOverAssets>
    <oef:ExpensesRestatedToReflectCurrent
      contextRef="S000008228"
      id="x_27d6501e-de2c-41ad-af0c-6be5853ac374">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;&#x201c;Management fee&#x201d; has been restated to reflect the contractual management fee schedule effective August 1, 2026.&lt;/span&gt;</oef:ExpensesRestatedToReflectCurrent>
    <oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination
      contextRef="S000008228"
      id="x_285976af-7db0-45ce-8a56-b9675c64c588">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;July 31, 2027&lt;/span&gt;</oef:FeeWaiverOrReimbursementOverAssetsDateOfTermination>
    <oef:ExpenseExampleHeading
      contextRef="S000008228"
      id="x_8d9ca06d-9423-4572-aba9-51443bcd8f9f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;"&gt;Expense example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="S000008228"
      id="x_2af4b6ba-69d2-45d2-bab5-9dc0e796cc8c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;The examples are intended to help you compare the cost of investing in the fund with the cost of investing in other mutual funds. The examples assume that $10,000 is invested in the fund for the periods indicated and then all shares are redeemed at the end of those periods. The examples also assume that the investment has a 5% return each year and that the fund&#x2019;s operating expenses remain the same. The expense example does not reflect fees and expenses of any variable insurance contract that may use the fund as its underlying investment option and would be higher if they did. Although your actual costs may be higher or lower, based on these assumptions your costs would be:&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="S000008228_C000022399"
      decimals="INF"
      id="d0403eb1-bfbe-4f04-86bc-7f5c7c1a5abf"
      unitRef="USD">78</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear01
      contextRef="S000008228_C000022400"
      decimals="INF"
      id="fe708c71-d4bf-4ca7-8ac9-84778945ce63"
      unitRef="USD">98</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear01
      contextRef="S000008228_C000022398"
      decimals="INF"
      id="x_08b6fb07-152f-4ab0-bc00-8c22ebcb1aa7"
      unitRef="USD">73</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="S000008228_C000022399"
      decimals="INF"
      id="ed90b8ba-95b4-42a4-a0c5-538faf663cc4"
      unitRef="USD">245</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear03
      contextRef="S000008228_C000022400"
      decimals="INF"
      id="b220380e-f283-45c4-96e6-e1e0795ff8c8"
      unitRef="USD">308</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear03
      contextRef="S000008228_C000022398"
      decimals="INF"
      id="bca81574-f506-48c3-9c45-eda6cb09940f"
      unitRef="USD">229</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="S000008228_C000022399"
      decimals="INF"
      id="x_2ab42641-ac3d-4953-9c93-b35fef4ff247"
      unitRef="USD">427</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear05
      contextRef="S000008228_C000022400"
      decimals="INF"
      id="x_97dd0f64-23b4-446b-b4ca-97c4b3023229"
      unitRef="USD">535</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear05
      contextRef="S000008228_C000022398"
      decimals="INF"
      id="x_0c68970f-6480-4c52-bf20-57ede7a8e73e"
      unitRef="USD">400</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="S000008228_C000022399"
      decimals="INF"
      id="x_11c046df-87ac-4705-8c73-1ac729f30333"
      unitRef="USD">953</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear10
      contextRef="S000008228_C000022400"
      decimals="INF"
      id="e8eec025-c13a-4ec0-941c-83c10a21e1f3"
      unitRef="USD">1189</oef:ExpenseExampleYear10>
    <oef:ExpenseExampleYear10
      contextRef="S000008228_C000022398"
      decimals="INF"
      id="x_77c6d017-0efa-4c81-ad00-0413062a171d"
      unitRef="USD">894</oef:ExpenseExampleYear10>
    <oef:RiskTextBlock
      contextRef="S000008239_RiskNondiversifiedStatusMember"
      id="a779929b-adb2-437c-bfff-fdba0f567e42">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;"&gt;Non-diversified risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt; 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.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:PerformanceNarrativeTextBlock
      contextRef="S000008239"
      id="x_4ae1fa6d-7da0-45bb-ab29-c6960c0dce11">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;The following information illustrates the variability of the fund&#x2019;s returns and provides some indication of the risks of investing in the fund by showing changes in the fund&#x2019;s performance from year to year and by showing how the fund&#x2019;s average annual returns compared with a broad-based securities market index.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;Past performance does not indicate future results.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt; The Russell 3000 Health Care Index shows how the fund&#x2019;s performance compares against the returns of similar investments. All figures assume dividend reinvestment. The performance information below does not reflect fees and expenses of any variable insurance contract which may use John Hancock Variable Insurance Trust as its underlying investment option. If such fees and expenses had been reflected, performance would be lower.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="S000008239"
      id="f9eacf67-c89d-4619-9232-27741f87fef6">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;The following information illustrates the variability of the fund&#x2019;s returns and provides some indication of the risks of investing in the fund by showing changes in the fund&#x2019;s performance from year to year and by showing how the fund&#x2019;s average annual returns compared with a broad-based securities market index.&lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="S000008239"
      id="x_9624ada6-de8f-4ce5-bd06-965190d94072">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;"&gt;Past performance does not indicate future results.&lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceTableHeading
      contextRef="S000008239"
      id="x_6c5d4748-7435-464e-9a54-b4e75866923e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;Average annual total returns (%)&#x2014;as of 12/31/2025&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="C000022443_01Jan2025_31Dec2025"
      decimals="4"
      id="x_1885f49d-81ef-4b7e-92ac-d6cb8dc6ff64"
      unitRef="pure">0.1949</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="C000022443_01Jan2021_31Dec2025"
      decimals="4"
      id="f28889fb-3cee-493c-b532-3b03d7918e5f"
      unitRef="pure">0.0415</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="C000022443_01Jan2016_31Dec2025"
      decimals="4"
      id="x_8f7a721b-cabd-4ca2-bf33-b839def41950"
      unitRef="pure">0.0870</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="C000022444_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7aeea85c-9c10-4d7c-90e8-e720a4b7b2c3"
      unitRef="pure">0.1922</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="C000022444_01Jan2021_31Dec2025"
      decimals="4"
      id="x_40a0b610-398a-499f-bfab-ff6ac4ec5bef"
      unitRef="pure">0.0394</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="C000022444_01Jan2016_31Dec2025"
      decimals="4"
      id="x_0d9cc532-0bda-4c9d-aeac-7db2cfd3f97d"
      unitRef="pure">0.0848</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="C000022442_01Jan2025_31Dec2025"
      decimals="4"
      id="x_7002c573-a0ce-4c59-9a18-c696b8afe420"
      unitRef="pure">0.1953</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="C000022442_01Jan2021_31Dec2025"
      decimals="4"
      id="x_70301483-e44b-40ce-8f87-8686f665e856"
      unitRef="pure">0.0419</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="C000022442_01Jan2016_31Dec2025"
      decimals="4"
      id="x_445406d0-8bef-46e6-8937-ef1e652ba987"
      unitRef="pure">0.0875</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_SP500IndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="ba29bc3a-6e10-411a-98b6-6cff33cf74ce"
      unitRef="pure">0.1788</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_SP500IndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_64dd32e4-6ebc-4510-ac42-6adf6153afdb"
      unitRef="pure">0.1442</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_SP500IndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_17d26718-0b2d-4b86-af3e-9f89458b01de"
      unitRef="pure">0.1482</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_Russell3000HealthCareIndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_608adca9-905a-413f-b9f1-21d5a08709ff"
      unitRef="pure">0.1456</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_Russell3000HealthCareIndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_73cdab1c-9ac0-4938-a7be-9e7e182d28bc"
      unitRef="pure">0.0631</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_Russell3000HealthCareIndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_3a4d1dfb-b357-495c-a3b7-906272c58e57"
      unitRef="pure">0.0954</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_LipperHealthBiotechnologyIndexMember_01Jan2025_31Dec2025"
      decimals="4"
      id="x_2565f989-87e6-40ae-aded-66beb488b56c"
      unitRef="pure">0.2202</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_LipperHealthBiotechnologyIndexMember_01Jan2021_31Dec2025"
      decimals="4"
      id="x_54391992-e9f0-4667-bd10-d76f2e00c3c5"
      unitRef="pure">0.0326</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="_LipperHealthBiotechnologyIndexMember_01Jan2016_31Dec2025"
      decimals="4"
      id="x_6a0cb006-86f4-41f2-8760-dda6b4318060"
      unitRef="pure">0.0818</oef:AvgAnnlRtrPct>
    <oef:PerformanceAdditionalMarketIndex
      contextRef="S000008239"
      id="cd8071ef-cba5-40de-802b-8e48bac19b28">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;Effective September 24, 2026, the fund&#x2019;s additional &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;benchmark is the Russell 3000 Health Care Index. The Russell 3000 Health Care Index better reflects the universe of investment opportunities based on the fund&#x2019;s investment strategy.&lt;/span&gt;</oef:PerformanceAdditionalMarketIndex>
    <oef:PerformanceTableMarketIndexChanged
      contextRef="S000008239"
      id="x_7a7a8e7e-6387-424d-a8ed-3dfc62ed7517">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;Effective September 24, 2026, the fund&#x2019;s additional &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:8pt;"&gt;benchmark is the Russell 3000 Health Care Index. The Russell 3000 Health Care Index better reflects the universe of investment opportunities based on the fund&#x2019;s investment strategy.&lt;/span&gt;</oef:PerformanceTableMarketIndexChanged>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#x_608adca9-905a-413f-b9f1-21d5a08709ff"
          xlink:label="x_608adca9-905a-413f-b9f1-21d5a08709ff"
          xlink:type="locator"/>
        <link:footnote id="x_0005rp_017fa7f1-94ed-4016-a270-c092ab62f8d2" xlink:label="x_0005rp_017fa7f1-94ed-4016-a270-c092ab62f8d2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Arial Narrow;font-size:8pt;">Prior to September 24, 2026, the fund&#x2019;s additional benchmark was the Lipper Health/Biotechnology Index. </xhtml:span><xhtml:span style="color:#000000;font-family:Arial Narrow;font-size:8pt;">Effective September 24, 2026, the fund&#x2019;s additional </xhtml:span><xhtml:span style="color:#000000;font-family:Arial Narrow;font-size:8pt;">benchmark is the Russell 3000 Health Care Index. The Russell 3000 Health Care Index better reflects the universe of investment opportunities based on the fund&#x2019;s investment strategy.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_608adca9-905a-413f-b9f1-21d5a08709ff"
          xlink:to="x_0005rp_017fa7f1-94ed-4016-a270-c092ab62f8d2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_73cdab1c-9ac0-4938-a7be-9e7e182d28bc"
          xlink:label="x_73cdab1c-9ac0-4938-a7be-9e7e182d28bc"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_73cdab1c-9ac0-4938-a7be-9e7e182d28bc"
          xlink:to="x_0005rp_017fa7f1-94ed-4016-a270-c092ab62f8d2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3a4d1dfb-b357-495c-a3b7-906272c58e57"
          xlink:label="x_3a4d1dfb-b357-495c-a3b7-906272c58e57"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3a4d1dfb-b357-495c-a3b7-906272c58e57"
          xlink:to="x_0005rp_017fa7f1-94ed-4016-a270-c092ab62f8d2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_2565f989-87e6-40ae-aded-66beb488b56c"
          xlink:label="x_2565f989-87e6-40ae-aded-66beb488b56c"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_2565f989-87e6-40ae-aded-66beb488b56c"
          xlink:to="x_0005rp_017fa7f1-94ed-4016-a270-c092ab62f8d2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_54391992-e9f0-4667-bd10-d76f2e00c3c5"
          xlink:label="x_54391992-e9f0-4667-bd10-d76f2e00c3c5"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_54391992-e9f0-4667-bd10-d76f2e00c3c5"
          xlink:to="x_0005rp_017fa7f1-94ed-4016-a270-c092ab62f8d2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_6a0cb006-86f4-41f2-8760-dda6b4318060"
          xlink:label="x_6a0cb006-86f4-41f2-8760-dda6b4318060"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_6a0cb006-86f4-41f2-8760-dda6b4318060"
          xlink:to="x_0005rp_017fa7f1-94ed-4016-a270-c092ab62f8d2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_60c8354d-0d0e-4d27-b0e5-b441a67f04a5"
          xlink:label="x_60c8354d-0d0e-4d27-b0e5-b441a67f04a5"
          xlink:type="locator"/>
        <link:footnote id="x_0001fg_6eefbd44-1468-4373-82b9-c68277f4db0b" xlink:label="x_0001fg_6eefbd44-1468-4373-82b9-c68277f4db0b" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Arial Narrow;font-size:8pt;">&#x201c;Management fee&#x201d; has been restated to reflect the contractual management fee schedule effective August 1, 2026.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_60c8354d-0d0e-4d27-b0e5-b441a67f04a5"
          xlink:to="x_0001fg_6eefbd44-1468-4373-82b9-c68277f4db0b"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_19922e66-accc-41ef-ad20-fdee9efee4ed"
          xlink:label="x_19922e66-accc-41ef-ad20-fdee9efee4ed"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_19922e66-accc-41ef-ad20-fdee9efee4ed"
          xlink:to="x_0001fg_6eefbd44-1468-4373-82b9-c68277f4db0b"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_3c530ed9-7030-4bb9-a6b9-e8af0c7b7b31"
          xlink:label="x_3c530ed9-7030-4bb9-a6b9-e8af0c7b7b31"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_3c530ed9-7030-4bb9-a6b9-e8af0c7b7b31"
          xlink:to="x_0001fg_6eefbd44-1468-4373-82b9-c68277f4db0b"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#de74f551-1483-4b8e-a68d-e8c74987be4e"
          xlink:label="de74f551-1483-4b8e-a68d-e8c74987be4e"
          xlink:type="locator"/>
        <link:footnote id="x_0001fh_6eefbd44-1468-4373-82b9-c68277f4db0b" xlink:label="x_0001fh_6eefbd44-1468-4373-82b9-c68277f4db0b" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US"><xhtml:span style="color:#000000;font-family:Arial Narrow;font-size:8pt;">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&#x2019;s reimbursement amounted to 0.01% of the fund&#x2019;s average daily net assets. This agreement expires on&#160;</xhtml:span><xhtml:span style="color:#000000;font-family:Arial Narrow;font-size:8pt;">July 31, 2027</xhtml:span><xhtml:span style="color:#000000;font-family:Arial Narrow;font-size:8pt;">, 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.</xhtml:span></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="de74f551-1483-4b8e-a68d-e8c74987be4e"
          xlink:to="x_0001fh_6eefbd44-1468-4373-82b9-c68277f4db0b"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#x_216defad-b5df-4ea8-bae3-4c1b9e72ab2e"
          xlink:label="x_216defad-b5df-4ea8-bae3-4c1b9e72ab2e"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="x_216defad-b5df-4ea8-bae3-4c1b9e72ab2e"
          xlink:to="x_0001fh_6eefbd44-1468-4373-82b9-c68277f4db0b"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#b8571a8a-87a8-4a60-a4f3-4700f37d1d29"
          xlink:label="b8571a8a-87a8-4a60-a4f3-4700f37d1d29"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="b8571a8a-87a8-4a60-a4f3-4700f37d1d29"
          xlink:to="x_0001fh_6eefbd44-1468-4373-82b9-c68277f4db0b"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
