<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.21.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>107</ContextCount>
  <ElementCount>196</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>84</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="msift-html4346_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://stanley/role/DocumentDocumentandEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory></MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="msift-html4346_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>010002 - Document - MSIFT Discovery Portfolio - Classes I, A, L, C and IS {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://stanley/role/Dmsiftdiscoveryportfoliobpspjanuary_15314</Role>
      <ShortName>MSIFT Discovery Portfolio - Classes I, A, L, C and IS</ShortName>
      <MenuCategory></MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="msift-html4346_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>010003 - Document - MSIFT Dynamic Value Portfolio - Classes I, A, C and IS {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://stanley/role/Dmsiftdynamicvalueportfoliobpspjanuary_15326</Role>
      <ShortName>MSIFT Dynamic Value Portfolio - Classes I, A, C and IS</ShortName>
      <MenuCategory></MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="msift-html4346_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>010004 - Document - MSIFT Fixed Income Portfolios {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://stanley/role/Dmsiftfixedincomeportfoliosbpspjanuary_15327</Role>
      <ShortName>MSIFT Fixed Income Portfolios</ShortName>
      <MenuCategory></MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="msift-html4346_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>010005 - Document - MSIFT High Yield Portfolio - Class IR {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://stanley/role/Dmsifthighyieldportfolioclassirclassisbpspjanuary_15319</Role>
      <ShortName>MSIFT High Yield Portfolio - Class IR</ShortName>
      <MenuCategory></MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="msift-html4346_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>010006 - Document - MSIFT High Yield Portfolio - Class W {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://stanley/role/Dmsifthighyieldportfolioclasswbpspjanuary_15330</Role>
      <ShortName>MSIFT High Yield Portfolio - Class W</ShortName>
      <MenuCategory></MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="msift-html4346_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>010007 - Document - MSIFT Ultra-Short Portfolios {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://stanley/role/Dmsiftultrashortportfoliosbpspjanuary_15332</Role>
      <ShortName>MSIFT Ultra-Short Portfolios</ShortName>
      <MenuCategory></MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="msift-html4346_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>010008 - Document - MSIFT Global Strategist Portfolio - Classes I, A, L, C and IS {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://stanley/role/Dmsiftglobalstrategistportfoliobpspjanuary_15328</Role>
      <ShortName>MSIFT Global Strategist Portfolio - Classes I, A, L, C and IS</ShortName>
      <MenuCategory></MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="msift-html4346_485bpos.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.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>9</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="msift-html4346_485bpos.htm">msift-html4346_485bpos.htm</File>
    <File>msift-html4346_ex99i33.htm</File>
    <File>msift-html4346_ex99j.htm</File>
    <File>msift-html4346_ex99p1.htm</File>
    <File>stanley-20220128.xsd</File>
    <File>stanley-20220128_def.xml</File>
    <File>stanley-20220128_lab.xml</File>
    <File>stanley-20220128_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>pr15314img001.jpg</File>
    <File>pr15314img002.jpg</File>
    <File>pr15314img003.jpg</File>
    <File>pr15314img004.jpg</File>
    <File>pr15319img001.jpg</File>
    <File>pr15319img002.jpg</File>
    <File>pr15319img003.jpg</File>
    <File>pr15326img001.jpg</File>
    <File>pr15326img002.jpg</File>
    <File>pr15327img001.jpg</File>
    <File>pr15327img002.jpg</File>
    <File>pr15327img003.jpg</File>
    <File>pr15327img004.jpg</File>
    <File>pr15327img005.jpg</File>
    <File>pr15327img006.jpg</File>
    <File>pr15327img007.jpg</File>
    <File>pr15328img001.jpg</File>
    <File>pr15328img002.jpg</File>
    <File>pr15328img003.jpg</File>
    <File>pr15330img001.jpg</File>
    <File>pr15330img002.jpg</File>
    <File>pr15330img003.jpg</File>
    <File>pr15332img001.jpg</File>
    <File>pr15332img002.jpg</File>
    <File>pr15332img003.jpg</File>
    <File>pr15332img004.jpg</File>
    <File>sa15438img001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/rr/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2020-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
