<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>193</ContextCount>
  <ElementCount>88</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>121</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>010001 - Document - Document And Entity Information {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/DocumentDocumentandEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory></MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>010002 - Document - John Hancock Balanced Fund - Classes A, C, I, R2, R4, R5 and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dbalancedfundacirrrrstatpro_6426</Role>
      <ShortName>John Hancock Balanced Fund - Classes A, C, I, R2, R4, R5 and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>010003 - Document - John Hancock Disciplined Value International Fund - Classes A, C, I, R2, R4 and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Ddisciplinedvalueinternationalfundacirrrstatpro_6428</Role>
      <ShortName>John Hancock Disciplined Value International Fund - Classes A, C, I, R2, R4 and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>010004 - Document - John Hancock Disciplined Value International Fund - Class R5 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Ddisciplinedvalueinternationalfundrstatpro_6430</Role>
      <ShortName>John Hancock Disciplined Value International Fund - Class R5</ShortName>
      <MenuCategory></MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>010005 - Document - John Hancock Diversified Macro Fund - Classes A, C, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Ddiversifiedmacrofundacirstatpro_6431</Role>
      <ShortName>John Hancock Diversified Macro Fund - Classes A, C, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>010006 - Document - John Hancock Emerging Markets Equity Fund - Classes A, C, I, R2, R4 and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Demergingmarketsequityfundacirrrstatpro_6433</Role>
      <ShortName>John Hancock Emerging Markets Equity Fund - Classes A, C, I, R2, R4 and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>010007 - Document - John Hancock ESG International Equity Fund - Classes A, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Desginternationalequityfundairstatpro_6435</Role>
      <ShortName>John Hancock ESG International Equity Fund - Classes A, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>010008 - Document - John Hancock ESG International Equity Fund - Classes C, R2 and R4 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Desginternationalequityfundcrrstatpro_6437</Role>
      <ShortName>John Hancock ESG International Equity Fund - Classes C, R2 and R4</ShortName>
      <MenuCategory></MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>010009 - Document - John Hancock ESG Large Cap Core Fund - Classes A, C, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Desglargecapcorefundacirstatpro_6438</Role>
      <ShortName>John Hancock ESG Large Cap Core Fund - Classes A, C, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>010010 - Document - John Hancock ESG Large Cap Core Fund - Classes R2 and R4 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Desglargecapcorefundrrstatpro_6440</Role>
      <ShortName>John Hancock ESG Large Cap Core Fund - Classes R2 and R4</ShortName>
      <MenuCategory></MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010011 - Document - John Hancock Fundamental Large Cap Core Fund - Classes A, C, I, R2, R4, R5 and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dfundamentallargecapcorefundacirrrrstatpro_6441</Role>
      <ShortName>John Hancock Fundamental Large Cap Core Fund - Classes A, C, I, R2, R4, R5 and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>010012 - Document - John Hancock Global Environmental Opportunities Fund - Classes A, C, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dglobalenvironmentalopportunitiesfundacirstatpro_6443</Role>
      <ShortName>John Hancock Global Environmental Opportunities Fund - Classes A, C, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>010013 - Document - John Hancock Global Thematic Opportunities Fund - Classes A, C, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dglobalthematicopportunitiesfundacirstatpro_6445</Role>
      <ShortName>John Hancock Global Thematic Opportunities Fund - Classes A, C, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>010014 - Document - John Hancock Infrastructure Fund - Classes A, C, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dinfrastructurefundacirstatpro_6447</Role>
      <ShortName>John Hancock Infrastructure Fund - Classes A, C, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>010015 - Document - John Hancock International Dynamic Growth Fund - Classes A, C, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dinternationaldynamicgrowthfundacirstatpro_6449</Role>
      <ShortName>John Hancock International Dynamic Growth Fund - Classes A, C, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>010016 - Document - John Hancock Seaport Long/Short Fund - Classes A, C, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dseaportlongshortfundacirstatpro_6451</Role>
      <ShortName>John Hancock Seaport Long/Short Fund - Classes A, C, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>010017 - Document - John Hancock Small Cap Core Fund - Classes A, I and R6 {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dsmallcapcorefundairstatpro_6453</Role>
      <ShortName>John Hancock Small Cap Core Fund - Classes A, I and R6</ShortName>
      <MenuCategory></MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>010018 - Document - John Hancock Investment Trust - Class NAV {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://jhf/role/Dinvestmenttrustclassnavstatpro_6455</Role>
      <ShortName>John Hancock Investment Trust - Class NAV</ShortName>
      <MenuCategory></MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="jhit-html5975_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>040000 - Disclosure - Risk/Return Detail Data {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/rr/role/RiskReturnDetailData</Role>
      <ShortName>Risk/Return Detail Data</ShortName>
      <MenuCategory></MenuCategory>
      <Position>19</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="485BPOS" original="jhit-html5975_485bpos.htm">jhit-html5975_485bpos.htm</File>
    <File>jhf-20230301.xsd</File>
    <File>jhf-20230301_def.xml</File>
    <File>jhf-20230301_lab.xml</File>
    <File>jhf-20230301_pre.xml</File>
    <File>jhit-html5975_ex99d8.htm</File>
    <File>jhit-html5975_ex99h13.htm</File>
    <File>jhit-html5975_ex99h14.htm</File>
    <File>jhit-html5975_ex99h7.htm</File>
    <File>jhit-html5975_ex99i.htm</File>
    <File>jhit-html5975_ex99j.htm</File>
    <File>jhit-html5975_ex99m15.htm</File>
    <File>jhit-html5975_ex99p3.htm</File>
    <File>jhit-html5975_ex99p4.htm</File>
    <File>jhit-html5975_ex99p5.htm</File>
    <File>jhit-html5975_ex99p6.htm</File>
    <File>jhit-html5975_ex99p7.htm</File>
    <File>jhit-html5975_ex99q.htm</File>
    <File>jhit-html5975_ex99q1.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>pr6426img001.jpg</File>
    <File>pr6426img002.jpg</File>
    <File>pr6426img003.jpg</File>
    <File>pr6426img004.jpg</File>
    <File>pr6426img005.jpg</File>
    <File>pr6426img006.jpg</File>
    <File>pr6428img001.jpg</File>
    <File>pr6428img002.jpg</File>
    <File>pr6428img003.jpg</File>
    <File>pr6428img004.jpg</File>
    <File>pr6428img005.jpg</File>
    <File>pr6428img006.jpg</File>
    <File>pr6428img007.jpg</File>
    <File>pr6430img001.jpg</File>
    <File>pr6430img002.jpg</File>
    <File>pr6430img003.jpg</File>
    <File>pr6430img004.jpg</File>
    <File>pr6430img005.jpg</File>
    <File>pr6430img006.jpg</File>
    <File>pr6430img007.jpg</File>
    <File>pr6431img001.jpg</File>
    <File>pr6431img002.jpg</File>
    <File>pr6431img003.jpg</File>
    <File>pr6431img004.jpg</File>
    <File>pr6431img005.jpg</File>
    <File>pr6431img006.jpg</File>
    <File>pr6433img001.jpg</File>
    <File>pr6433img002.jpg</File>
    <File>pr6433img003.jpg</File>
    <File>pr6433img004.jpg</File>
    <File>pr6433img005.jpg</File>
    <File>pr6433img006.jpg</File>
    <File>pr6435img001.jpg</File>
    <File>pr6435img002.jpg</File>
    <File>pr6435img003.jpg</File>
    <File>pr6435img004.jpg</File>
    <File>pr6435img005.jpg</File>
    <File>pr6435img006.jpg</File>
    <File>pr6435img007.jpg</File>
    <File>pr6437img001.jpg</File>
    <File>pr6437img002.jpg</File>
    <File>pr6437img003.jpg</File>
    <File>pr6437img004.jpg</File>
    <File>pr6437img005.jpg</File>
    <File>pr6437img006.jpg</File>
    <File>pr6437img007.jpg</File>
    <File>pr6438img001.jpg</File>
    <File>pr6438img002.jpg</File>
    <File>pr6438img003.jpg</File>
    <File>pr6438img004.jpg</File>
    <File>pr6438img005.jpg</File>
    <File>pr6438img006.jpg</File>
    <File>pr6438img007.jpg</File>
    <File>pr6440img001.jpg</File>
    <File>pr6440img002.jpg</File>
    <File>pr6440img003.jpg</File>
    <File>pr6440img004.jpg</File>
    <File>pr6440img005.jpg</File>
    <File>pr6440img006.jpg</File>
    <File>pr6440img007.jpg</File>
    <File>pr6441img001.jpg</File>
    <File>pr6441img002.jpg</File>
    <File>pr6441img003.jpg</File>
    <File>pr6441img004.jpg</File>
    <File>pr6441img005.jpg</File>
    <File>pr6441img006.jpg</File>
    <File>pr6443img001.jpg</File>
    <File>pr6443img002.jpg</File>
    <File>pr6443img003.jpg</File>
    <File>pr6443img004.jpg</File>
    <File>pr6443img005.jpg</File>
    <File>pr6443img006.jpg</File>
    <File>pr6443img007.jpg</File>
    <File>pr6443img008.jpg</File>
    <File>pr6445img001.jpg</File>
    <File>pr6445img002.jpg</File>
    <File>pr6445img003.jpg</File>
    <File>pr6445img004.jpg</File>
    <File>pr6445img005.jpg</File>
    <File>pr6445img006.jpg</File>
    <File>pr6445img007.jpg</File>
    <File>pr6447img001.jpg</File>
    <File>pr6447img002.jpg</File>
    <File>pr6447img003.jpg</File>
    <File>pr6447img004.jpg</File>
    <File>pr6447img005.jpg</File>
    <File>pr6447img006.jpg</File>
    <File>pr6447img007.jpg</File>
    <File>pr6449img001.jpg</File>
    <File>pr6449img002.jpg</File>
    <File>pr6449img003.jpg</File>
    <File>pr6449img004.jpg</File>
    <File>pr6449img005.jpg</File>
    <File>pr6449img006.jpg</File>
    <File>pr6449img007.jpg</File>
    <File>pr6451img001.jpg</File>
    <File>pr6451img002.jpg</File>
    <File>pr6451img003.jpg</File>
    <File>pr6451img004.jpg</File>
    <File>pr6451img005.jpg</File>
    <File>pr6451img006.jpg</File>
    <File>pr6453img001.jpg</File>
    <File>pr6453img002.jpg</File>
    <File>pr6453img003.jpg</File>
    <File>pr6453img004.jpg</File>
    <File>pr6453img005.jpg</File>
    <File>pr6453img006.jpg</File>
    <File>pr6453img007.jpg</File>
    <File>pr6455img001.jpg</File>
    <File>pr6455img002.jpg</File>
    <File>pr6455img003.jpg</File>
    <File>pr6455img004.jpg</File>
    <File>pr6455img005.jpg</File>
    <File>pr6455img006.jpg</File>
    <File>pr6455img007.jpg</File>
    <File>pr6455img008.jpg</File>
    <File>pr6455img009.jpg</File>
    <File>pr6455img010.jpg</File>
    <File>pr6455img011.jpg</File>
    <File>pr6455img012.jpg</File>
    <File>pr6455img013.jpg</File>
    <File>pr6455img014.jpg</File>
    <File>pr6455img015.jpg</File>
    <File>pr6455img016.jpg</File>
    <File>pr6455img017.jpg</File>
    <File>sa6420img001.jpg</File>
    <File>sa6420img002.jpg</File>
    <File>sa6420img003.jpg</File>
    <File>sa6420img004.jpg</File>
    <File>sa6461img001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="8">http://xbrl.sec.gov/dei/2022</BaseTaxonomy>
    <BaseTaxonomy items="2825">http://xbrl.sec.gov/rr/2022</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
