<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:lmpet="http://www.franklintempleton.com/20260814"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cik0000880366-20260814.xsd" xlink:type="simple"/>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000880366</identifier>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000048737Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000880366</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">lmpet:S000048737Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_0697782e_013b_4667_8039_506c83045e00">false</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_d2552886_f615_4bd2_90db_96fc4563f653">2025-10-31</dei:DocumentPeriodEndDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_9526db3b_5f0b_45f8_872d_8c09443bf837">497</dei:DocumentType>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_8153a740_8bc1_4f03_8d2d_144395961c5d">0000880366</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_1_2db7f6a5-08d6-86ad-25a2-8b7ea32c7b79">N-1A</dei:EntityInvCompanyType>
    <oef:SupplementToProspectusTextBlock
      contextRef="DefaultContext"
      id="t_1_39c72de4_5f36_deb3_b0a3_868e87d14f73">  &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;LEGG MASON PARTNERS INVESTMENT TRUST&lt;/div&gt;    &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;SUPPLEMENT DATED AUGUST&#160;14, 2026&lt;/div&gt;    &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;TO THE SUMMARY PROSPECTUS AND PROSPECTUS&lt;/div&gt;    &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;EACH DATED MARCH&#160;1, 2026, OF&lt;/div&gt;    &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;CLEARBRIDGE SUSTAINABILITY LEADERS FUND&lt;/div&gt;    &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: arial; font-weight: bold;"&gt;Effective as of August&#160;14, 2026, the third to last paragraph of the section of the fund&#x2019;s summary prospectus and prospectus titled &#x201c;Principal investment strategies&#x201d; and of the section of the fund&#x2019;s prospectus titled &#x201c;More on the fund&#x2019;s investment strategies, investments and risks&#160;&#x2013;&#160;Important information&#x201d; are each replaced with the following:&lt;/div&gt;    &lt;div style="margin-top: 4pt; margin-bottom: 0pt; font-size: 10pt; font-family: arial;"&gt;The fund will not invest in companies with significant direct involvement in extraction of fossil fuels, and instead will seek other attractive sustainable opportunities in the energy, industrials, and materials sectors. Direct involvement in fossil-fuel extraction would be inclusive of companies that derive revenues primarily from: extraction and/or burning of coal; exploration and production of oil and gas; and refining of fossil fuels. The fund may invest in companies that provide equipment and services to the energy and mining sectors.&lt;/div&gt;  </oef:SupplementToProspectusTextBlock>
    <oef:SupplementToProspectusTextBlock
      contextRef="S000048737Member"
      id="t_2_514c1be8_2f5e_da04_8080_fae8aa2253f0"> &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;LEGG MASON PARTNERS INVESTMENT TRUST&lt;/div&gt;  &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;SUPPLEMENT DATED AUGUST&#160;14, 2026&lt;/div&gt;  &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;TO THE SUMMARY PROSPECTUS AND PROSPECTUS&lt;/div&gt;  &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;EACH DATED MARCH&#160;1, 2026, OF&lt;/div&gt;  &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 11pt; font-family: arial; font-weight: bold;"&gt;CLEARBRIDGE SUSTAINABILITY LEADERS FUND&lt;/div&gt;  &lt;div style="margin-top: 12pt; margin-bottom: 0pt; font-size: 10pt; font-family: arial; font-weight: bold;"&gt;Effective as of August&#160;14, 2026, the third to last paragraph of the section of the fund&#x2019;s summary prospectus and prospectus titled &#x201c;Principal investment strategies&#x201d; and of the section of the fund&#x2019;s prospectus titled &#x201c;More on the fund&#x2019;s investment strategies, investments and risks&#160;&#x2013;&#160;Important information&#x201d; are each replaced with the following:&lt;/div&gt;  &lt;div style="margin-top: 4pt; margin-bottom: 0pt; font-size: 10pt; font-family: arial;"&gt;The fund will not invest in companies with significant direct involvement in extraction of fossil fuels, and instead will seek other attractive sustainable opportunities in the energy, industrials, and materials sectors. Direct involvement in fossil-fuel extraction would be inclusive of companies that derive revenues primarily from: extraction and/or burning of coal; exploration and production of oil and gas; and refining of fossil fuels. The fund may invest in companies that provide equipment and services to the energy and mining sectors.&lt;/div&gt; </oef:SupplementToProspectusTextBlock>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_4_edcd6338_341a_73e4_df72_e0b171185e33">LEGG MASON PARTNERS INVESTMENT TRUST</dei:EntityRegistrantName>
    <oef:ProspectusDate
      contextRef="DefaultContext"
      id="t_3_8dd196f9_4fd0_0d60_49ff_8fbff550386b">2026-03-01</oef:ProspectusDate>
</xbrl>
