<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:tsr="http://tsr/20260531"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  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="tsr-20260531.xsd" xlink:type="simple"/>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31_1400Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4313Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054313_7619Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4317Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054317_7619Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4315Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054315_7619Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4314Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054314_7619Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4316Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054316_7619Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4342Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411074342_7619Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_3991Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202409043991_7619Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2021-06-01_2026-05-31_1400Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2021-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2016-06-01_2026-05-31_1400Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2016-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2016-05-31_2016-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2017-05-31_2017-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2018-05-31_2018-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2019-05-31_2019-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2020-05-31_2020-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2021-05-31_2021-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2022-05-31_2022-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2023-05-31_2023-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2024-05-31_2024-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-05-31_2025-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213254Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31_1400Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4313Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054313_7618Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4317Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054317_7618Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4315Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054315_7618Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4314Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054314_7618Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4316Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054316_7618Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4342Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411074342_7618Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_3991Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202409043991_7618Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2021-06-01_2026-05-31_1400Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2021-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2016-06-01_2026-05-31_1400Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2016-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2016-05-31_2016-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2017-05-31_2017-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2018-05-31_2018-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2019-05-31_2019-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2020-05-31_2020-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2021-05-31_2021-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2022-05-31_2022-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2023-05-31_2023-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2024-05-31_2024-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-05-31_2025-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213255Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7618Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4313Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054313_7617Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4317Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054317_7617Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4315Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054315_7617Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4314Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054314_7617Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4316Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054316_7617Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4342Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411074342_7617Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_3991Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202409043991_7617Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2021-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2016-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2016-05-31_2016-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2017-05-31_2017-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2018-05-31_2018-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2019-05-31_2019-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2020-05-31_2020-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2021-05-31_2021-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2022-05-31_2022-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2023-05-31_2023-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2024-05-31_2024-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-05-31_2025-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000152757Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7617Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4313Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054313_7616Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4317Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054317_7616Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4315Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054315_7616Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4314Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054314_7616Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4316Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054316_7616Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4342Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411074342_7616Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_3991Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202409043991_7616Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2021-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2016-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2016-05-31_2016-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2017-05-31_2017-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2018-05-31_2018-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2019-05-31_2019-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2020-05-31_2020-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2021-05-31_2021-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2022-05-31_2022-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2023-05-31_2023-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2024-05-31_2024-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-05-31_2025-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000219743Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4313Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054313_7615Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4317Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054317_7615Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4315Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054315_7615Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4314Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054314_7615Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4316Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411054316_7615Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4342Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202411074342_7615Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_3991Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">tsr:bench202409043991_7615Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2021-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2016-06-01_2026-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2016-05-31_2016-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-05-31</startDate>
            <endDate>2016-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2017-05-31_2017-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-05-31</startDate>
            <endDate>2017-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2018-05-31_2018-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-05-31</startDate>
            <endDate>2018-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2019-05-31_2019-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-05-31</startDate>
            <endDate>2019-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2020-05-31_2020-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-05-31</startDate>
            <endDate>2020-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2021-05-31_2021-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-05-31</startDate>
            <endDate>2021-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2022-05-31_2022-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-05-31</startDate>
            <endDate>2022-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2023-05-31_2023-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-05-31</startDate>
            <endDate>2023-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2024-05-31_2024-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-05-31</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-05-31_2025-05-31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">tsr:C000213253Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">tsr:bench202411144434_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPT.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005942</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">tsr:benchmarkBMPTS.PZ4-PZ5_7615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-05-31</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="RATIO">
        <measure>pure</measure>
    </unit>
    <unit id="UNIT">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <dei:AmendmentFlag
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-22476">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-22477">0001005942</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-22478">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-24961">N-CSR</dei:DocumentType>
    <dei:EntityRegistrantName
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-24962">Putnam Funds Trust</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-24963"
      xml:lang="en-US">2026-05-31</dei:DocumentPeriodEndDate>
    <oef:FundName
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-86"
      xml:lang="en-US">Putnam Mortgage Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-95"
      xml:lang="en-US">Class A</oef:ClassName>
    <dei:TradingSymbol
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-98"
      xml:lang="en-US">PMORX</dei:TradingSymbol>
    <dei:DocumentPeriodEndDate
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-105"
      xml:lang="en-US">2026-05-31</dei:DocumentPeriodEndDate>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-112"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;This &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;annual shareholder report&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt; contains important information about &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;Putnam Mortgage Opportunities Fund for the period &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;June 1, 2025, to &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;May 31, 2026.&lt;/span&gt;</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-114"
      xml:lang="en-US">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-121"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;You can find additional information about the Fund at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;. You can also &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;request this information by contacting us at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;.&lt;/span&gt;</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-123"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-127"
      xml:lang="en-US">(800) 225-1581</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-132"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;"&gt;&lt;b&gt;&lt;i&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="foot-7619_824965-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT WERE THE FUND COSTS FOR THE LAST YEAR? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(based on a hypothetical $10,000 investment)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #E6FAFF;border-left:1.5pt solid #E6FAFF;  border-right:1.5pt solid #E6FAFF;  border-bottom:1.5pt solid #E6FAFF; margin-left:7.9pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:50%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:22.33812949640288%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:27.661870503597125%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Class Name&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs of a $10,000 &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;investment&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs paid as a percentage of a &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;$10,000 investment&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;Class A&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$89&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.86%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-24964"
      unitRef="USD">89</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="foot-7619_824965-1021"
      unitRef="RATIO">0.0086</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-196"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW DID THE FUND PERFORM LAST YEAR AND WHAT AFFECTED ITS PERFORMANCE?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For the twelve months ended May 31, 2026, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Class A shares of Putnam Mortgage Opportunities Fund returned &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;7.19%. The Fund &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;compares its performance to the ICE&#160;&#x2009;BofA U.S. Treasury Bill Index and the Bloomberg U.S. MBS Index, which returned 4.00% and &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;6.85%, respectively, for the same period.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;PERFORMANCE HIGHLIGHTS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top contributors to performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Commercial mortgage-backed securities (CMBS) contributed during the period, particularly cash bond holdings. The outlook for &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;commercial real estate (CRE) has improved, fundamentals have stabilized and supply and demand technicals remained positive.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Non-agency residential mortgage-backed securities (RMBS) also contributed. Homeowner balance sheets remained well &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;positioned, supported by locked in home price appreciation, lower household leverage, and strong underwriting standards.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Prepayment strategies contributed as a whole, driven by tactical mortgage basis positioning as well exposure to interest-only (IO) &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;securities which benefited as prepayment speeds remained below historical averages with many borrowers not having an &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;incentive to refinance.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top detractors from performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#CA0046;;"&gt;&#x2193;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Inverse IO securities detracted overall from performance, particularly higher coupon inverse IOs as the rate rally in 2025 &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;increased the likelihood that newer collateral with higher rates would prepay.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Use of derivatives and the impact on performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The Fund utilized interest-rate swaps to hedge term structure risk and for yield curve positioning. Options were used to hedge &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;duration and convexity, isolate prepayment risk, and manage downside risks. In addition, commercial real estate derivatives were &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;used to gain exposure to the CMBS sector and hedge credit and market risks. Futures were used for hedging Treasury term &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;structure risk and for yield curve positioning. In aggregate, these derivatives contributed to performance.&lt;/span&gt;&lt;/div&gt;</oef:FactorsAffectingPerfTextBlock>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-308"
      xml:lang="en-US">The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future. </oef:PerformancePastDoesNotIndicateFuture>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-311"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The graph and table &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;do not reflect the deduction of taxes that a shareholder would pay on Fund distributions or redemption of Fund shares.&lt;/span&gt;</oef:NoDeductionOfTaxesTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-332"
      xml:lang="en-US">&lt;div&gt;&lt;img alt="image" src="ts7619img003.jpg" style="width:88.88888888888889%"/&gt;&lt;/div&gt;</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-336"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;AVERAGE ANNUAL TOTAL RETURNS (%) &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;Period Ended &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;margin-left:7.75pt;border-bottom:1.5pt solid #778B8B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:47.530575539568346%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.489208633093526%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.140287769784173%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.83992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&#160;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;5 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;10 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Class A&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;7.19&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.11&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.86&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Class A (with sales charge)&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;2.91&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.25&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.44&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. Aggregate Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.13&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.17&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.70&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;ICE BofA U.S. Treasury Bill Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.00&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;3.48&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;2.34&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. MBS Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.85&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.45&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.44&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31_1400Member"
      id="ixv-372"
      xml:lang="en-US">Class A</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31_1400Member"
      decimals="INF"
      id="ixv-24966"
      unitRef="RATIO">0.0719</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2021-06-01_2026-05-31_1400Member"
      decimals="INF"
      id="ixv-24967"
      unitRef="RATIO">0.0611</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2016-06-01_2026-05-31_1400Member"
      decimals="INF"
      id="ixv-24968"
      unitRef="RATIO">0.0486</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-387"
      xml:lang="en-US">Class A (with sales charge)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-24969"
      unitRef="RATIO">0.0291</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2021-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-24970"
      unitRef="RATIO">0.0525</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2016-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-24971"
      unitRef="RATIO">0.0444</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      id="ixv-402"
      xml:lang="en-US">Bloomberg U.S. Aggregate Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-24972"
      unitRef="RATIO">0.0513</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-24973"
      unitRef="RATIO">0.0017</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-24974"
      unitRef="RATIO">0.0170</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      id="ixv-417"
      xml:lang="en-US">ICE BofA U.S. Treasury Bill Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-24975"
      unitRef="RATIO">0.0400</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-24976"
      unitRef="RATIO">0.0348</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-24977"
      unitRef="RATIO">0.0234</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      id="ixv-432"
      xml:lang="en-US">Bloomberg U.S. MBS Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-24978"
      unitRef="RATIO">0.0685</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-24979"
      unitRef="RATIO">0.0045</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-24980"
      unitRef="RATIO">0.0144</oef:AvgAnnlRtrPct>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-456"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For current month-end performance, please call Franklin Templeton at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581 or visit&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/investments/options/mutual-funds&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Important data provider notices and terms available at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;www.franklintempletondatasources.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;</oef:UpdPerfInfoLocationTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-472"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;KEY FUND STATISTICS &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #6B6B6B;margin-left:7.75pt;border-bottom:1.5pt solid #6B6B6B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:74.41007194244604%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:25.58992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Net Assets&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$479,937,056&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Number of Portfolio Holdings (excludes derivatives, except purchased options, if any)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;419&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Management Fee Paid&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$1,876,082&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Portfolio Turnover Rate&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;559%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31Member"
      decimals="INF"
      id="ixv-24981"
      unitRef="USD">479937056</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31Member"
      decimals="INF"
      id="ixv-24982"
      unitRef="UNIT">419</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-24983"
      unitRef="USD">1876082</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-24984"
      unitRef="RATIO">5.59</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="foot-7619_827504-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT DID THE FUND INVEST IN? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Portfolio Composition&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;&#160;&#x2009;(% of Total Investments)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img alt="image" src="ts7619img004.jpg" style="width:96.41294838145232%"/&gt;&lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-568"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW HAS THE FUND CHANGED?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Effective December 31, 2025, the portfolio managers primarily responsible for the day-to-day management of the Fund are Neil Dhruv, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Jatin Misra, PhD, CFA, and Michael V. Salm.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;At a meeting on May 21, 2026, the Fund&#x2019;s Board of Trustees (the &#x201c;Board&#x201d;) approved, and recommended that shareholders approve, the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;conversion of the Fund from a mutual fund into an exchange traded fund through the reorganization of the Fund with and into a &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;newly-organized exchange traded fund (the &#x201c;ETF&#x201d;). Pursuant to an Agreement and Plan of Reorganization (the &#x201c;Plan&#x201d;) approved by the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Board, the proposed reorganization, if approved by shareholders of the Fund, will consist of (1) the transfer of substantially all of the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Fund&#x2019;s assets, subject to its liabilities, to the ETF in return for shares of the ETF; and (2) the distribution of the ETF shares to the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;shareholders in complete liquidation of the Fund. Completion of the proposed reorganization is subject to a number of conditions &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;under the Plan, including shareholder approval. Fund shareholders will receive on or around September 3, 2026, a prospectus/proxy &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;statement describing in detail: (i) information about voting on the proposed reorganization, (ii) details regarding the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization and the ETF, and (iii) a summary of the Board&#x2019;s considerations in approving the proposed reorganization. If shareholders &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;of the Fund do not approve the proposed reorganization, the reorganization will not proceed. It is anticipated that the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization, if approved by shareholders, would occur in or around the first quarter of 2027.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-595"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:MaterialChngDate
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-597"
      xml:lang="en-US">2025-06-01</oef:MaterialChngDate>
    <oef:UpdProspectusWebAddress
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-603"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-606"
      xml:lang="en-US">(800) 225-1581</oef:UpdProspectusPhoneNumber>
    <oef:UpdProspectusEmailAddress
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      id="ixv-611"
      xml:lang="en-US">funddocuments@putnam.com</oef:UpdProspectusEmailAddress>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2016-05-31_2016-05-31Member"
      decimals="INF"
      id="ixv-24985"
      unitRef="USD">9600</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2017-05-31_2017-05-31Member"
      decimals="INF"
      id="ixv-24986"
      unitRef="USD">10479</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2018-05-31_2018-05-31Member"
      decimals="INF"
      id="ixv-24987"
      unitRef="USD">11204</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2019-05-31_2019-05-31Member"
      decimals="INF"
      id="ixv-24988"
      unitRef="USD">11514</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2020-05-31_2020-05-31Member"
      decimals="INF"
      id="ixv-24989"
      unitRef="USD">10606</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2021-05-31_2021-05-31Member"
      decimals="INF"
      id="ixv-24990"
      unitRef="USD">11475</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2022-05-31_2022-05-31Member"
      decimals="INF"
      id="ixv-24991"
      unitRef="USD">11568</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2023-05-31_2023-05-31Member"
      decimals="INF"
      id="ixv-24992"
      unitRef="USD">11958</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2024-05-31_2024-05-31Member"
      decimals="INF"
      id="ixv-24993"
      unitRef="USD">13501</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-05-31_2025-05-31Member"
      decimals="INF"
      id="ixv-24994"
      unitRef="USD">14399</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_ClassA_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-24995"
      unitRef="USD">15435</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member"
      decimals="INF"
      id="ixv-24996"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member"
      decimals="INF"
      id="ixv-24997"
      unitRef="USD">10158</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member"
      decimals="INF"
      id="ixv-24998"
      unitRef="USD">10120</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member"
      decimals="INF"
      id="ixv-24999"
      unitRef="USD">10768</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member"
      decimals="INF"
      id="ixv-25000"
      unitRef="USD">11781</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member"
      decimals="INF"
      id="ixv-25001"
      unitRef="USD">11734</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member"
      decimals="INF"
      id="ixv-25002"
      unitRef="USD">10769</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member"
      decimals="INF"
      id="ixv-25003"
      unitRef="USD">10538</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member"
      decimals="INF"
      id="ixv-25004"
      unitRef="USD">10676</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member"
      decimals="INF"
      id="ixv-25005"
      unitRef="USD">11258</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25006"
      unitRef="USD">11836</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member"
      decimals="INF"
      id="ixv-25007"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member"
      decimals="INF"
      id="ixv-25008"
      unitRef="USD">10045</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member"
      decimals="INF"
      id="ixv-25009"
      unitRef="USD">10168</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member"
      decimals="INF"
      id="ixv-25010"
      unitRef="USD">10403</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member"
      decimals="INF"
      id="ixv-25011"
      unitRef="USD">10604</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member"
      decimals="INF"
      id="ixv-25012"
      unitRef="USD">10617</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member"
      decimals="INF"
      id="ixv-25013"
      unitRef="USD">10624</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member"
      decimals="INF"
      id="ixv-25014"
      unitRef="USD">10956</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member"
      decimals="INF"
      id="ixv-25015"
      unitRef="USD">11554</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member"
      decimals="INF"
      id="ixv-25016"
      unitRef="USD">12112</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25017"
      unitRef="USD">12597</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member"
      decimals="INF"
      id="ixv-25018"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member"
      decimals="INF"
      id="ixv-25019"
      unitRef="USD">10116</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member"
      decimals="INF"
      id="ixv-25020"
      unitRef="USD">10085</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member"
      decimals="INF"
      id="ixv-25021"
      unitRef="USD">10641</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member"
      decimals="INF"
      id="ixv-25022"
      unitRef="USD">11335</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member"
      decimals="INF"
      id="ixv-25023"
      unitRef="USD">11282</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member"
      decimals="INF"
      id="ixv-25024"
      unitRef="USD">10426</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member"
      decimals="INF"
      id="ixv-25025"
      unitRef="USD">10147</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member"
      decimals="INF"
      id="ixv-25026"
      unitRef="USD">10198</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member"
      decimals="INF"
      id="ixv-25027"
      unitRef="USD">10798</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25028"
      unitRef="USD">11537</oef:AccmVal>
    <oef:PctOfTotalInv
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4313Member"
      decimals="INF"
      id="ixv-25029"
      unitRef="RATIO">0.362</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4317Member"
      decimals="INF"
      id="ixv-25030"
      unitRef="RATIO">0.206</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4315Member"
      decimals="INF"
      id="ixv-25031"
      unitRef="RATIO">0.178</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4314Member"
      decimals="INF"
      id="ixv-25032"
      unitRef="RATIO">0.103</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4316Member"
      decimals="INF"
      id="ixv-25033"
      unitRef="RATIO">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_4342Member"
      decimals="INF"
      id="ixv-25034"
      unitRef="RATIO">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7619_instant_PutnamMortgageOpportunitiesFund_ClassA_2026-05-31_3991Member"
      decimals="INF"
      id="ixv-25035"
      unitRef="RATIO">0.111</oef:PctOfTotalInv>
    <oef:FundName
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-677"
      xml:lang="en-US">Putnam Mortgage Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-686"
      xml:lang="en-US">Class C</oef:ClassName>
    <dei:TradingSymbol
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-689"
      xml:lang="en-US">PMOZX</dei:TradingSymbol>
    <dei:DocumentPeriodEndDate
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-696"
      xml:lang="en-US">2026-05-31</dei:DocumentPeriodEndDate>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-703"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;This &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;annual shareholder report&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt; contains important information about &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;Putnam Mortgage Opportunities Fund for the period &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;June 1, 2025, to &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;May 31, 2026.&lt;/span&gt;</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-705"
      xml:lang="en-US">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-712"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;You can find additional information about the Fund at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;. You can also &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;request this information by contacting us at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;.&lt;/span&gt;</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-714"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-718"
      xml:lang="en-US">(800) 225-1581</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-723"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;"&gt;&lt;b&gt;&lt;i&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="foot-7618_824838-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT WERE THE FUND COSTS FOR THE LAST YEAR? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(based on a hypothetical $10,000 investment)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #E6FAFF;border-left:1.5pt solid #E6FAFF;  border-right:1.5pt solid #E6FAFF;  border-bottom:1.5pt solid #E6FAFF; margin-left:7.9pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:50%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:22.33812949640288%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:27.661870503597125%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Class Name&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs of a $10,000 &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;investment&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs paid as a percentage of a &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;$10,000 investment&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;Class C&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$166&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.61%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25036"
      unitRef="USD">166</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="foot-7618_824838-1021"
      unitRef="RATIO">0.0161</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-787"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW DID THE FUND PERFORM LAST YEAR AND WHAT AFFECTED ITS PERFORMANCE?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For the twelve months ended May 31, 2026, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Class C shares of Putnam Mortgage Opportunities Fund returned &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;6.26%. The Fund &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;compares its performance to the ICE&#160;&#x2009;BofA U.S. Treasury Bill Index and the Bloomberg U.S. MBS Index, which returned 4.00% and &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;6.85%, respectively, for the same period.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;PERFORMANCE HIGHLIGHTS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top contributors to performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Commercial mortgage-backed securities (CMBS) contributed during the period, particularly cash bond holdings. The outlook for &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;commercial real estate (CRE) has improved, fundamentals have stabilized and supply and demand technicals remained positive.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Non-agency residential mortgage-backed securities (RMBS) also contributed. Homeowner balance sheets remained well &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;positioned, supported by locked in home price appreciation, lower household leverage, and strong underwriting standards.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Prepayment strategies contributed as a whole, driven by tactical mortgage basis positioning as well exposure to interest-only (IO) &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;securities which benefited as prepayment speeds remained below historical averages with many borrowers not having an &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;incentive to refinance.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top detractors from performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#CA0046;;"&gt;&#x2193;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Inverse IO securities detracted overall from performance, particularly higher coupon inverse IOs as the rate rally in 2025 &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;increased the likelihood that newer collateral with higher rates would prepay.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Use of derivatives and the impact on performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The Fund utilized interest-rate swaps to hedge term structure risk and for yield curve positioning. Options were used to hedge &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;duration and convexity, isolate prepayment risk, and manage downside risks. In addition, commercial real estate derivatives were &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;used to gain exposure to the CMBS sector and hedge credit and market risks. Futures were used for hedging Treasury term &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;structure risk and for yield curve positioning. In aggregate, these derivatives contributed to performance.&lt;/span&gt;&lt;/div&gt;</oef:FactorsAffectingPerfTextBlock>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-899"
      xml:lang="en-US">The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future. </oef:PerformancePastDoesNotIndicateFuture>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-902"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The graph and table &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;do not reflect the deduction of taxes that a shareholder would pay on Fund distributions or redemption of Fund shares.&lt;/span&gt;</oef:NoDeductionOfTaxesTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-919"
      xml:lang="en-US">&lt;div&gt;&lt;img alt="image" src="ts7618img003.jpg" style="width:88.88888888888889%"/&gt;&lt;/div&gt;</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-923"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;AVERAGE ANNUAL TOTAL RETURNS (%) &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;Period Ended &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;margin-left:7.75pt;border-bottom:1.5pt solid #778B8B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:47.530575539568346%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.489208633093526%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.140287769784173%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.83992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&#160;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;5 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;10 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Class C&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.26&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.32&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.25&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Class C (with sales charge)&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.26&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.32&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.25&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. Aggregate Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.13&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.17&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.70&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;ICE BofA U.S. Treasury Bill Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.00&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;3.48&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;2.34&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. MBS Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.85&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.45&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.44&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31_1400Member"
      id="ixv-959"
      xml:lang="en-US">Class C</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31_1400Member"
      decimals="INF"
      id="ixv-25038"
      unitRef="RATIO">0.0626</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2021-06-01_2026-05-31_1400Member"
      decimals="INF"
      id="ixv-25039"
      unitRef="RATIO">0.0532</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2016-06-01_2026-05-31_1400Member"
      decimals="INF"
      id="ixv-25040"
      unitRef="RATIO">0.0425</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-974"
      xml:lang="en-US">Class C (with sales charge)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25041"
      unitRef="RATIO">0.0526</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2021-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25042"
      unitRef="RATIO">0.0532</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2016-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25043"
      unitRef="RATIO">0.0425</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      id="ixv-989"
      xml:lang="en-US">Bloomberg U.S. Aggregate Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25044"
      unitRef="RATIO">0.0513</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25045"
      unitRef="RATIO">0.0017</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25046"
      unitRef="RATIO">0.0170</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      id="ixv-1004"
      xml:lang="en-US">ICE BofA U.S. Treasury Bill Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25047"
      unitRef="RATIO">0.0400</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25048"
      unitRef="RATIO">0.0348</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25049"
      unitRef="RATIO">0.0234</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      id="ixv-1019"
      xml:lang="en-US">Bloomberg U.S. MBS Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25050"
      unitRef="RATIO">0.0685</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25051"
      unitRef="RATIO">0.0045</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25052"
      unitRef="RATIO">0.0144</oef:AvgAnnlRtrPct>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-1045"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For current month-end performance, please call Franklin Templeton at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581 or visit&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/investments/options/mutual-funds&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Important data provider notices and terms available at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;www.franklintempletondatasources.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;</oef:UpdPerfInfoLocationTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-1061"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;KEY FUND STATISTICS &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #6B6B6B;margin-left:7.75pt;border-bottom:1.5pt solid #6B6B6B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:74.41007194244604%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:25.58992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Net Assets&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$479,937,056&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Number of Portfolio Holdings (excludes derivatives, except purchased options, if any)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;419&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Management Fee Paid&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$1,876,082&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Portfolio Turnover Rate&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;559%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31Member"
      decimals="INF"
      id="ixv-25053"
      unitRef="USD">479937056</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31Member"
      decimals="INF"
      id="ixv-25054"
      unitRef="UNIT">419</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25055"
      unitRef="USD">1876082</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25056"
      unitRef="RATIO">5.59</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="foot-7618_827507-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT DID THE FUND INVEST IN? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Portfolio Composition&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;&#160;&#x2009;(% of Total Investments)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img alt="image" src="ts7618img004.jpg" style="width:96.41294838145232%"/&gt;&lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-1157"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW HAS THE FUND CHANGED?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Effective December 31, 2025, the portfolio managers primarily responsible for the day-to-day management of the Fund are Neil Dhruv, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Jatin Misra, PhD, CFA, and Michael V. Salm.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;At a meeting on May 21, 2026, the Fund&#x2019;s Board of Trustees (the &#x201c;Board&#x201d;) approved, and recommended that shareholders approve, the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;conversion of the Fund from a mutual fund into an exchange traded fund through the reorganization of the Fund with and into a &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;newly-organized exchange traded fund (the &#x201c;ETF&#x201d;). Pursuant to an Agreement and Plan of Reorganization (the &#x201c;Plan&#x201d;) approved by the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Board, the proposed reorganization, if approved by shareholders of the Fund, will consist of (1) the transfer of substantially all of the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Fund&#x2019;s assets, subject to its liabilities, to the ETF in return for shares of the ETF; and (2) the distribution of the ETF shares to the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;shareholders in complete liquidation of the Fund. Completion of the proposed reorganization is subject to a number of conditions &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;under the Plan, including shareholder approval. Fund shareholders will receive on or around September 3, 2026, a prospectus/proxy &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;statement describing in detail: (i) information about voting on the proposed reorganization, (ii) details regarding the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization and the ETF, and (iii) a summary of the Board&#x2019;s considerations in approving the proposed reorganization. If shareholders &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;of the Fund do not approve the proposed reorganization, the reorganization will not proceed. It is anticipated that the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization, if approved by shareholders, would occur in or around the first quarter of 2027.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-1184"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:MaterialChngDate
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-1186"
      xml:lang="en-US">2025-06-01</oef:MaterialChngDate>
    <oef:UpdProspectusWebAddress
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-1192"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-1195"
      xml:lang="en-US">(800) 225-1581</oef:UpdProspectusPhoneNumber>
    <oef:UpdProspectusEmailAddress
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      id="ixv-1200"
      xml:lang="en-US">funddocuments@putnam.com</oef:UpdProspectusEmailAddress>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2016-05-31_2016-05-31Member"
      decimals="INF"
      id="ixv-25057"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2017-05-31_2017-05-31Member"
      decimals="INF"
      id="ixv-25058"
      unitRef="USD">10849</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2018-05-31_2018-05-31Member"
      decimals="INF"
      id="ixv-25059"
      unitRef="USD">11492</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2019-05-31_2019-05-31Member"
      decimals="INF"
      id="ixv-25060"
      unitRef="USD">11734</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2020-05-31_2020-05-31Member"
      decimals="INF"
      id="ixv-25061"
      unitRef="USD">10730</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2021-05-31_2021-05-31Member"
      decimals="INF"
      id="ixv-25062"
      unitRef="USD">11532</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2022-05-31_2022-05-31Member"
      decimals="INF"
      id="ixv-25063"
      unitRef="USD">11540</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2023-05-31_2023-05-31Member"
      decimals="INF"
      id="ixv-25064"
      unitRef="USD">11840</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2024-05-31_2024-05-31Member"
      decimals="INF"
      id="ixv-25065"
      unitRef="USD">13268</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-05-31_2025-05-31Member"
      decimals="INF"
      id="ixv-25066"
      unitRef="USD">14059</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_ClassC_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25067"
      unitRef="USD">14940</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member"
      decimals="INF"
      id="ixv-25068"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member"
      decimals="INF"
      id="ixv-25069"
      unitRef="USD">10158</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member"
      decimals="INF"
      id="ixv-25070"
      unitRef="USD">10120</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member"
      decimals="INF"
      id="ixv-25071"
      unitRef="USD">10768</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member"
      decimals="INF"
      id="ixv-25072"
      unitRef="USD">11781</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member"
      decimals="INF"
      id="ixv-25073"
      unitRef="USD">11734</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member"
      decimals="INF"
      id="ixv-25074"
      unitRef="USD">10769</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member"
      decimals="INF"
      id="ixv-25075"
      unitRef="USD">10538</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member"
      decimals="INF"
      id="ixv-25076"
      unitRef="USD">10676</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member"
      decimals="INF"
      id="ixv-25077"
      unitRef="USD">11258</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25078"
      unitRef="USD">11836</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member"
      decimals="INF"
      id="ixv-25079"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member"
      decimals="INF"
      id="ixv-25080"
      unitRef="USD">10045</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member"
      decimals="INF"
      id="ixv-25081"
      unitRef="USD">10168</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member"
      decimals="INF"
      id="ixv-25082"
      unitRef="USD">10403</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member"
      decimals="INF"
      id="ixv-25083"
      unitRef="USD">10604</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member"
      decimals="INF"
      id="ixv-25084"
      unitRef="USD">10617</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member"
      decimals="INF"
      id="ixv-25085"
      unitRef="USD">10624</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member"
      decimals="INF"
      id="ixv-25086"
      unitRef="USD">10956</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member"
      decimals="INF"
      id="ixv-25087"
      unitRef="USD">11554</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member"
      decimals="INF"
      id="ixv-25088"
      unitRef="USD">12112</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25089"
      unitRef="USD">12597</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member"
      decimals="INF"
      id="ixv-25090"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member"
      decimals="INF"
      id="ixv-25091"
      unitRef="USD">10116</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member"
      decimals="INF"
      id="ixv-25092"
      unitRef="USD">10085</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member"
      decimals="INF"
      id="ixv-25093"
      unitRef="USD">10641</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member"
      decimals="INF"
      id="ixv-25094"
      unitRef="USD">11335</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member"
      decimals="INF"
      id="ixv-25095"
      unitRef="USD">11282</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member"
      decimals="INF"
      id="ixv-25096"
      unitRef="USD">10426</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member"
      decimals="INF"
      id="ixv-25097"
      unitRef="USD">10147</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member"
      decimals="INF"
      id="ixv-25098"
      unitRef="USD">10198</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member"
      decimals="INF"
      id="ixv-25099"
      unitRef="USD">10798</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7618_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25100"
      unitRef="USD">11537</oef:AccmVal>
    <oef:PctOfTotalInv
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4313Member"
      decimals="INF"
      id="ixv-25101"
      unitRef="RATIO">0.362</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4317Member"
      decimals="INF"
      id="ixv-25102"
      unitRef="RATIO">0.206</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4315Member"
      decimals="INF"
      id="ixv-25103"
      unitRef="RATIO">0.178</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4314Member"
      decimals="INF"
      id="ixv-25104"
      unitRef="RATIO">0.103</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4316Member"
      decimals="INF"
      id="ixv-25105"
      unitRef="RATIO">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_4342Member"
      decimals="INF"
      id="ixv-25106"
      unitRef="RATIO">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7618_instant_PutnamMortgageOpportunitiesFund_ClassC_2026-05-31_3991Member"
      decimals="INF"
      id="ixv-25107"
      unitRef="RATIO">0.111</oef:PctOfTotalInv>
    <oef:FundName
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1266"
      xml:lang="en-US">Putnam Mortgage Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1275"
      xml:lang="en-US">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1278"
      xml:lang="en-US">PMOTX</dei:TradingSymbol>
    <dei:DocumentPeriodEndDate
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-1285"
      xml:lang="en-US">2026-05-31</dei:DocumentPeriodEndDate>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1292"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;This &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;annual shareholder report&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt; contains important information about &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;Putnam Mortgage Opportunities Fund for the period &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;June 1, 2025, to &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;May 31, 2026.&lt;/span&gt;</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-1294"
      xml:lang="en-US">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1301"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;You can find additional information about the Fund at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;. You can also &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;request this information by contacting us at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;.&lt;/span&gt;</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1303"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1307"
      xml:lang="en-US">(800) 225-1581</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1312"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;"&gt;&lt;b&gt;&lt;i&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="foot-7617_824713-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT WERE THE FUND COSTS FOR THE LAST YEAR? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(based on a hypothetical $10,000 investment)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #E6FAFF;border-left:1.5pt solid #E6FAFF;  border-right:1.5pt solid #E6FAFF;  border-bottom:1.5pt solid #E6FAFF; margin-left:7.9pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:50%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:22.33812949640288%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:27.661870503597125%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Class Name&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs of a $10,000 &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;investment&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs paid as a percentage of a &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;$10,000 investment&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;Class I&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$49&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.47%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25108"
      unitRef="USD">49</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="foot-7617_824713-1021"
      unitRef="RATIO">0.0047</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1376"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW DID THE FUND PERFORM LAST YEAR AND WHAT AFFECTED ITS PERFORMANCE?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For the twelve months ended May 31, 2026, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Class I shares of Putnam Mortgage Opportunities Fund returned &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;7.60%. The Fund &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;compares its performance to the ICE&#160;&#x2009;BofA U.S. Treasury Bill Index and the Bloomberg U.S. MBS Index, which returned 4.00% and &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;6.85%, respectively, for the same period.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;PERFORMANCE HIGHLIGHTS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top contributors to performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Commercial mortgage-backed securities (CMBS) contributed during the period, particularly cash bond holdings. The outlook for &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;commercial real estate (CRE) has improved, fundamentals have stabilized and supply and demand technicals remained positive.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Non-agency residential mortgage-backed securities (RMBS) also contributed. Homeowner balance sheets remained well &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;positioned, supported by locked in home price appreciation, lower household leverage, and strong underwriting standards.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Prepayment strategies contributed as a whole, driven by tactical mortgage basis positioning as well exposure to interest-only (IO) &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;securities which benefited as prepayment speeds remained below historical averages with many borrowers not having an &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;incentive to refinance.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top detractors from performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#CA0046;;"&gt;&#x2193;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Inverse IO securities detracted overall from performance, particularly higher coupon inverse IOs as the rate rally in 2025 &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;increased the likelihood that newer collateral with higher rates would prepay.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Use of derivatives and the impact on performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The Fund utilized interest-rate swaps to hedge term structure risk and for yield curve positioning. Options were used to hedge &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;duration and convexity, isolate prepayment risk, and manage downside risks. In addition, commercial real estate derivatives were &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;used to gain exposure to the CMBS sector and hedge credit and market risks. Futures were used for hedging Treasury term &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;structure risk and for yield curve positioning. In aggregate, these derivatives contributed to performance.&lt;/span&gt;&lt;/div&gt;</oef:FactorsAffectingPerfTextBlock>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1488"
      xml:lang="en-US">The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future. </oef:PerformancePastDoesNotIndicateFuture>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1491"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The graph and table &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;do not reflect the deduction of taxes that a shareholder would pay on Fund distributions or redemption of Fund shares.&lt;/span&gt;</oef:NoDeductionOfTaxesTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1508"
      xml:lang="en-US">&lt;div&gt;&lt;img alt="image" src="ts7617img003.jpg" style="width:88.88888888888889%"/&gt;&lt;/div&gt;</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1512"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;AVERAGE ANNUAL TOTAL RETURNS (%) &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;Period Ended &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;margin-left:7.75pt;border-bottom:1.5pt solid #778B8B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:47.530575539568346%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.489208633093526%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.140287769784173%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.83992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&#160;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;5 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;10 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Class I&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;7.60&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.49&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.26&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. Aggregate Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.13&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.17&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.70&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;ICE BofA U.S. Treasury Bill Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.00&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;3.48&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;2.34&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. MBS Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.85&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.45&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.44&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1548"
      xml:lang="en-US">Class I</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25110"
      unitRef="RATIO">0.0760</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2021-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25111"
      unitRef="RATIO">0.0649</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2016-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25112"
      unitRef="RATIO">0.0526</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      id="ixv-1563"
      xml:lang="en-US">Bloomberg U.S. Aggregate Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25113"
      unitRef="RATIO">0.0513</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25114"
      unitRef="RATIO">0.0017</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25115"
      unitRef="RATIO">0.0170</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      id="ixv-1578"
      xml:lang="en-US">ICE BofA U.S. Treasury Bill Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25116"
      unitRef="RATIO">0.0400</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25117"
      unitRef="RATIO">0.0348</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25118"
      unitRef="RATIO">0.0234</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      id="ixv-1593"
      xml:lang="en-US">Bloomberg U.S. MBS Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25119"
      unitRef="RATIO">0.0685</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25120"
      unitRef="RATIO">0.0045</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25121"
      unitRef="RATIO">0.0144</oef:AvgAnnlRtrPct>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1609"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For current month-end performance, please call Franklin Templeton at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581 or visit&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/investments/options/mutual-funds&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Important data provider notices and terms available at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;www.franklintempletondatasources.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;</oef:UpdPerfInfoLocationTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1625"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;KEY FUND STATISTICS &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #6B6B6B;margin-left:7.75pt;border-bottom:1.5pt solid #6B6B6B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:74.41007194244604%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:25.58992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Net Assets&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$479,937,056&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Number of Portfolio Holdings (excludes derivatives, except purchased options, if any)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;419&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Management Fee Paid&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$1,876,082&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Portfolio Turnover Rate&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;559%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31Member"
      decimals="INF"
      id="ixv-25122"
      unitRef="USD">479937056</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31Member"
      decimals="INF"
      id="ixv-25123"
      unitRef="UNIT">419</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25124"
      unitRef="USD">1876082</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25125"
      unitRef="RATIO">5.59</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="foot-7617_827513-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT DID THE FUND INVEST IN? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Portfolio Composition&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;&#160;&#x2009;(% of Total Investments)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img alt="image" src="ts7617img004.jpg" style="width:96.41294838145232%"/&gt;&lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1721"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW HAS THE FUND CHANGED?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Effective December 31, 2025, the portfolio managers primarily responsible for the day-to-day management of the Fund are Neil Dhruv, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Jatin Misra, PhD, CFA, and Michael V. Salm.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;At a meeting on May 21, 2026, the Fund&#x2019;s Board of Trustees (the &#x201c;Board&#x201d;) approved, and recommended that shareholders approve, the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;conversion of the Fund from a mutual fund into an exchange traded fund through the reorganization of the Fund with and into a &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;newly-organized exchange traded fund (the &#x201c;ETF&#x201d;). Pursuant to an Agreement and Plan of Reorganization (the &#x201c;Plan&#x201d;) approved by the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Board, the proposed reorganization, if approved by shareholders of the Fund, will consist of (1) the transfer of substantially all of the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Fund&#x2019;s assets, subject to its liabilities, to the ETF in return for shares of the ETF; and (2) the distribution of the ETF shares to the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;shareholders in complete liquidation of the Fund. Completion of the proposed reorganization is subject to a number of conditions &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;under the Plan, including shareholder approval. Fund shareholders will receive on or around September 3, 2026, a prospectus/proxy &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;statement describing in detail: (i) information about voting on the proposed reorganization, (ii) details regarding the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization and the ETF, and (iii) a summary of the Board&#x2019;s considerations in approving the proposed reorganization. If shareholders &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;of the Fund do not approve the proposed reorganization, the reorganization will not proceed. It is anticipated that the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization, if approved by shareholders, would occur in or around the first quarter of 2027.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1748"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:MaterialChngDate
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1750"
      xml:lang="en-US">2025-06-01</oef:MaterialChngDate>
    <oef:UpdProspectusWebAddress
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1756"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1759"
      xml:lang="en-US">(800) 225-1581</oef:UpdProspectusPhoneNumber>
    <oef:UpdProspectusEmailAddress
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      id="ixv-1764"
      xml:lang="en-US">funddocuments@putnam.com</oef:UpdProspectusEmailAddress>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2016-05-31_2016-05-31Member"
      decimals="INF"
      id="ixv-25126"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2017-05-31_2017-05-31Member"
      decimals="INF"
      id="ixv-25127"
      unitRef="USD">10967</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2018-05-31_2018-05-31Member"
      decimals="INF"
      id="ixv-25128"
      unitRef="USD">11764</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2019-05-31_2019-05-31Member"
      decimals="INF"
      id="ixv-25129"
      unitRef="USD">12123</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2020-05-31_2020-05-31Member"
      decimals="INF"
      id="ixv-25130"
      unitRef="USD">11226</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2021-05-31_2021-05-31Member"
      decimals="INF"
      id="ixv-25131"
      unitRef="USD">12190</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2022-05-31_2022-05-31Member"
      decimals="INF"
      id="ixv-25132"
      unitRef="USD">12309</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2023-05-31_2023-05-31Member"
      decimals="INF"
      id="ixv-25133"
      unitRef="USD">12769</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2024-05-31_2024-05-31Member"
      decimals="INF"
      id="ixv-25134"
      unitRef="USD">14487</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-05-31_2025-05-31Member"
      decimals="INF"
      id="ixv-25135"
      unitRef="USD">15511</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_ClassI_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25136"
      unitRef="USD">16691</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member"
      decimals="INF"
      id="ixv-25137"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member"
      decimals="INF"
      id="ixv-25138"
      unitRef="USD">10158</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member"
      decimals="INF"
      id="ixv-25139"
      unitRef="USD">10120</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member"
      decimals="INF"
      id="ixv-25140"
      unitRef="USD">10768</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member"
      decimals="INF"
      id="ixv-25141"
      unitRef="USD">11781</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member"
      decimals="INF"
      id="ixv-25142"
      unitRef="USD">11734</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member"
      decimals="INF"
      id="ixv-25143"
      unitRef="USD">10769</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member"
      decimals="INF"
      id="ixv-25144"
      unitRef="USD">10538</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member"
      decimals="INF"
      id="ixv-25145"
      unitRef="USD">10676</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member"
      decimals="INF"
      id="ixv-25146"
      unitRef="USD">11258</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25147"
      unitRef="USD">11836</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member"
      decimals="INF"
      id="ixv-25148"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member"
      decimals="INF"
      id="ixv-25149"
      unitRef="USD">10045</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member"
      decimals="INF"
      id="ixv-25150"
      unitRef="USD">10168</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member"
      decimals="INF"
      id="ixv-25151"
      unitRef="USD">10403</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member"
      decimals="INF"
      id="ixv-25152"
      unitRef="USD">10604</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member"
      decimals="INF"
      id="ixv-25153"
      unitRef="USD">10617</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member"
      decimals="INF"
      id="ixv-25154"
      unitRef="USD">10624</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member"
      decimals="INF"
      id="ixv-25155"
      unitRef="USD">10956</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member"
      decimals="INF"
      id="ixv-25156"
      unitRef="USD">11554</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member"
      decimals="INF"
      id="ixv-25157"
      unitRef="USD">12112</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25158"
      unitRef="USD">12597</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member"
      decimals="INF"
      id="ixv-25159"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member"
      decimals="INF"
      id="ixv-25160"
      unitRef="USD">10116</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member"
      decimals="INF"
      id="ixv-25161"
      unitRef="USD">10085</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member"
      decimals="INF"
      id="ixv-25162"
      unitRef="USD">10641</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member"
      decimals="INF"
      id="ixv-25163"
      unitRef="USD">11335</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member"
      decimals="INF"
      id="ixv-25164"
      unitRef="USD">11282</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member"
      decimals="INF"
      id="ixv-25165"
      unitRef="USD">10426</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member"
      decimals="INF"
      id="ixv-25166"
      unitRef="USD">10147</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member"
      decimals="INF"
      id="ixv-25167"
      unitRef="USD">10198</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member"
      decimals="INF"
      id="ixv-25168"
      unitRef="USD">10798</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7617_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25169"
      unitRef="USD">11537</oef:AccmVal>
    <oef:PctOfTotalInv
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4313Member"
      decimals="INF"
      id="ixv-25170"
      unitRef="RATIO">0.362</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4317Member"
      decimals="INF"
      id="ixv-25171"
      unitRef="RATIO">0.206</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4315Member"
      decimals="INF"
      id="ixv-25172"
      unitRef="RATIO">0.178</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4314Member"
      decimals="INF"
      id="ixv-25173"
      unitRef="RATIO">0.103</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4316Member"
      decimals="INF"
      id="ixv-25174"
      unitRef="RATIO">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_4342Member"
      decimals="INF"
      id="ixv-25175"
      unitRef="RATIO">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7617_instant_PutnamMortgageOpportunitiesFund_ClassI_2026-05-31_3991Member"
      decimals="INF"
      id="ixv-25176"
      unitRef="RATIO">0.111</oef:PctOfTotalInv>
    <oef:FundName
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1830"
      xml:lang="en-US">Putnam Mortgage Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1839"
      xml:lang="en-US">Class R6</oef:ClassName>
    <dei:TradingSymbol
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1842"
      xml:lang="en-US">PMOLX</dei:TradingSymbol>
    <dei:DocumentPeriodEndDate
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-1849"
      xml:lang="en-US">2026-05-31</dei:DocumentPeriodEndDate>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1856"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;This &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;annual shareholder report&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt; contains important information about &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;Putnam Mortgage Opportunities Fund for the period &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;June 1, 2025, to &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;May 31, 2026.&lt;/span&gt;</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-1858"
      xml:lang="en-US">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1865"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;You can find additional information about the Fund at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;. You can also &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;request this information by contacting us at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;.&lt;/span&gt;</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1867"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1871"
      xml:lang="en-US">(800) 225-1581</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1876"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;"&gt;&lt;b&gt;&lt;i&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="foot-7616_824587-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT WERE THE FUND COSTS FOR THE LAST YEAR? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(based on a hypothetical $10,000 investment)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #E6FAFF;border-left:1.5pt solid #E6FAFF;  border-right:1.5pt solid #E6FAFF;  border-bottom:1.5pt solid #E6FAFF; margin-left:7.9pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:50%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:22.33812949640288%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:27.661870503597125%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Class Name&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs of a $10,000 &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;investment&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs paid as a percentage of a &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;$10,000 investment&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;Class R6&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$52&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.50%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25177"
      unitRef="USD">52</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="foot-7616_824587-1021"
      unitRef="RATIO">0.0050</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-1940"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW DID THE FUND PERFORM LAST YEAR AND WHAT AFFECTED ITS PERFORMANCE?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For the twelve months ended May 31, 2026, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Class R6 shares of Putnam Mortgage Opportunities Fund returned &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;7.55%. The Fund &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;compares its performance to the ICE&#160;&#x2009;BofA U.S. Treasury Bill Index and the Bloomberg U.S. MBS Index, which returned 4.00% and &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;6.85%, respectively, for the same period.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;PERFORMANCE HIGHLIGHTS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top contributors to performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Commercial mortgage-backed securities (CMBS) contributed during the period, particularly cash bond holdings. The outlook for &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;commercial real estate (CRE) has improved, fundamentals have stabilized and supply and demand technicals remained positive.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Non-agency residential mortgage-backed securities (RMBS) also contributed. Homeowner balance sheets remained well &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;positioned, supported by locked in home price appreciation, lower household leverage, and strong underwriting standards.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Prepayment strategies contributed as a whole, driven by tactical mortgage basis positioning as well exposure to interest-only (IO) &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;securities which benefited as prepayment speeds remained below historical averages with many borrowers not having an &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;incentive to refinance.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top detractors from performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#CA0046;;"&gt;&#x2193;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Inverse IO securities detracted overall from performance, particularly higher coupon inverse IOs as the rate rally in 2025 &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;increased the likelihood that newer collateral with higher rates would prepay.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Use of derivatives and the impact on performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The Fund utilized interest-rate swaps to hedge term structure risk and for yield curve positioning. Options were used to hedge &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;duration and convexity, isolate prepayment risk, and manage downside risks. In addition, commercial real estate derivatives were &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;used to gain exposure to the CMBS sector and hedge credit and market risks. Futures were used for hedging Treasury term &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;structure risk and for yield curve positioning. In aggregate, these derivatives contributed to performance.&lt;/span&gt;&lt;/div&gt;</oef:FactorsAffectingPerfTextBlock>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2052"
      xml:lang="en-US">The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future. </oef:PerformancePastDoesNotIndicateFuture>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2055"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The graph and table &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;do not reflect the deduction of taxes that a shareholder would pay on Fund distributions or redemption of Fund shares.&lt;/span&gt;</oef:NoDeductionOfTaxesTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2072"
      xml:lang="en-US">&lt;div&gt;&lt;img alt="image" src="ts7616img003.jpg" style="width:88.88888888888889%"/&gt;&lt;/div&gt;</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2076"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;AVERAGE ANNUAL TOTAL RETURNS (%) &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;Period Ended &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;margin-left:7.75pt;border-bottom:1.5pt solid #778B8B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:47.530575539568346%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.489208633093526%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.140287769784173%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.83992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&#160;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;5 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;10 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Class R6&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;7.55&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.47&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.23&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. Aggregate Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.13&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.17&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.70&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;ICE BofA U.S. Treasury Bill Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.00&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;3.48&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;2.34&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. MBS Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.85&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.45&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.44&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2112"
      xml:lang="en-US">Class R6</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25179"
      unitRef="RATIO">0.0755</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2021-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25180"
      unitRef="RATIO">0.0647</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2016-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25181"
      unitRef="RATIO">0.0523</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      id="ixv-2127"
      xml:lang="en-US">Bloomberg U.S. Aggregate Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25182"
      unitRef="RATIO">0.0513</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25183"
      unitRef="RATIO">0.0017</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25184"
      unitRef="RATIO">0.0170</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      id="ixv-2142"
      xml:lang="en-US">ICE BofA U.S. Treasury Bill Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25185"
      unitRef="RATIO">0.0400</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25186"
      unitRef="RATIO">0.0348</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25187"
      unitRef="RATIO">0.0234</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      id="ixv-2157"
      xml:lang="en-US">Bloomberg U.S. MBS Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25188"
      unitRef="RATIO">0.0685</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25189"
      unitRef="RATIO">0.0045</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25190"
      unitRef="RATIO">0.0144</oef:AvgAnnlRtrPct>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2181"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For current month-end performance, please call Franklin Templeton at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581 or visit&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/investments/options/mutual-funds&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Important data provider notices and terms available at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;www.franklintempletondatasources.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;</oef:UpdPerfInfoLocationTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2197"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;KEY FUND STATISTICS &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #6B6B6B;margin-left:7.75pt;border-bottom:1.5pt solid #6B6B6B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:74.41007194244604%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:25.58992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Net Assets&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$479,937,056&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Number of Portfolio Holdings (excludes derivatives, except purchased options, if any)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;419&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Management Fee Paid&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$1,876,082&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Portfolio Turnover Rate&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;559%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31Member"
      decimals="INF"
      id="ixv-25191"
      unitRef="USD">479937056</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31Member"
      decimals="INF"
      id="ixv-25192"
      unitRef="UNIT">419</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25193"
      unitRef="USD">1876082</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25194"
      unitRef="RATIO">5.59</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="foot-7616_827519-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT DID THE FUND INVEST IN? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Portfolio Composition&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;&#160;&#x2009;(% of Total Investments)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img alt="image" src="ts7616img004.jpg" style="width:96.41294838145232%"/&gt;&lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2293"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW HAS THE FUND CHANGED?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Effective December 31, 2025, the portfolio managers primarily responsible for the day-to-day management of the Fund are Neil Dhruv, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Jatin Misra, PhD, CFA, and Michael V. Salm.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;At a meeting on May 21, 2026, the Fund&#x2019;s Board of Trustees (the &#x201c;Board&#x201d;) approved, and recommended that shareholders approve, the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;conversion of the Fund from a mutual fund into an exchange traded fund through the reorganization of the Fund with and into a &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;newly-organized exchange traded fund (the &#x201c;ETF&#x201d;). Pursuant to an Agreement and Plan of Reorganization (the &#x201c;Plan&#x201d;) approved by the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Board, the proposed reorganization, if approved by shareholders of the Fund, will consist of (1) the transfer of substantially all of the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Fund&#x2019;s assets, subject to its liabilities, to the ETF in return for shares of the ETF; and (2) the distribution of the ETF shares to the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;shareholders in complete liquidation of the Fund. Completion of the proposed reorganization is subject to a number of conditions &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;under the Plan, including shareholder approval. Fund shareholders will receive on or around September 3, 2026, a prospectus/proxy &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;statement describing in detail: (i) information about voting on the proposed reorganization, (ii) details regarding the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization and the ETF, and (iii) a summary of the Board&#x2019;s considerations in approving the proposed reorganization. If shareholders &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;of the Fund do not approve the proposed reorganization, the reorganization will not proceed. It is anticipated that the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization, if approved by shareholders, would occur in or around the first quarter of 2027.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2320"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:MaterialChngDate
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2322"
      xml:lang="en-US">2025-06-01</oef:MaterialChngDate>
    <oef:UpdProspectusWebAddress
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2328"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2331"
      xml:lang="en-US">(800) 225-1581</oef:UpdProspectusPhoneNumber>
    <oef:UpdProspectusEmailAddress
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      id="ixv-2336"
      xml:lang="en-US">funddocuments@putnam.com</oef:UpdProspectusEmailAddress>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2016-05-31_2016-05-31Member"
      decimals="INF"
      id="ixv-25195"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2017-05-31_2017-05-31Member"
      decimals="INF"
      id="ixv-25196"
      unitRef="USD">10967</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2018-05-31_2018-05-31Member"
      decimals="INF"
      id="ixv-25197"
      unitRef="USD">11763</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2019-05-31_2019-05-31Member"
      decimals="INF"
      id="ixv-25198"
      unitRef="USD">12110</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2020-05-31_2020-05-31Member"
      decimals="INF"
      id="ixv-25199"
      unitRef="USD">11214</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2021-05-31_2021-05-31Member"
      decimals="INF"
      id="ixv-25200"
      unitRef="USD">12174</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2022-05-31_2022-05-31Member"
      decimals="INF"
      id="ixv-25201"
      unitRef="USD">12291</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2023-05-31_2023-05-31Member"
      decimals="INF"
      id="ixv-25202"
      unitRef="USD">12746</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2024-05-31_2024-05-31Member"
      decimals="INF"
      id="ixv-25203"
      unitRef="USD">14455</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-05-31_2025-05-31Member"
      decimals="INF"
      id="ixv-25204"
      unitRef="USD">15483</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_ClassR6_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25205"
      unitRef="USD">16652</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member"
      decimals="INF"
      id="ixv-25206"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member"
      decimals="INF"
      id="ixv-25207"
      unitRef="USD">10158</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member"
      decimals="INF"
      id="ixv-25208"
      unitRef="USD">10120</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member"
      decimals="INF"
      id="ixv-25209"
      unitRef="USD">10768</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member"
      decimals="INF"
      id="ixv-25210"
      unitRef="USD">11781</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member"
      decimals="INF"
      id="ixv-25211"
      unitRef="USD">11734</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member"
      decimals="INF"
      id="ixv-25212"
      unitRef="USD">10769</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member"
      decimals="INF"
      id="ixv-25213"
      unitRef="USD">10538</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member"
      decimals="INF"
      id="ixv-25214"
      unitRef="USD">10676</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member"
      decimals="INF"
      id="ixv-25215"
      unitRef="USD">11258</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25216"
      unitRef="USD">11836</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member"
      decimals="INF"
      id="ixv-25217"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member"
      decimals="INF"
      id="ixv-25218"
      unitRef="USD">10045</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member"
      decimals="INF"
      id="ixv-25219"
      unitRef="USD">10168</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member"
      decimals="INF"
      id="ixv-25220"
      unitRef="USD">10403</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member"
      decimals="INF"
      id="ixv-25221"
      unitRef="USD">10604</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member"
      decimals="INF"
      id="ixv-25222"
      unitRef="USD">10617</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member"
      decimals="INF"
      id="ixv-25223"
      unitRef="USD">10624</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member"
      decimals="INF"
      id="ixv-25224"
      unitRef="USD">10956</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member"
      decimals="INF"
      id="ixv-25225"
      unitRef="USD">11554</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member"
      decimals="INF"
      id="ixv-25226"
      unitRef="USD">12112</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25227"
      unitRef="USD">12597</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member"
      decimals="INF"
      id="ixv-25228"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member"
      decimals="INF"
      id="ixv-25229"
      unitRef="USD">10116</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member"
      decimals="INF"
      id="ixv-25230"
      unitRef="USD">10085</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member"
      decimals="INF"
      id="ixv-25231"
      unitRef="USD">10641</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member"
      decimals="INF"
      id="ixv-25232"
      unitRef="USD">11335</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member"
      decimals="INF"
      id="ixv-25233"
      unitRef="USD">11282</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member"
      decimals="INF"
      id="ixv-25234"
      unitRef="USD">10426</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member"
      decimals="INF"
      id="ixv-25235"
      unitRef="USD">10147</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member"
      decimals="INF"
      id="ixv-25236"
      unitRef="USD">10198</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member"
      decimals="INF"
      id="ixv-25237"
      unitRef="USD">10798</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7616_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25238"
      unitRef="USD">11537</oef:AccmVal>
    <oef:PctOfTotalInv
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4313Member"
      decimals="INF"
      id="ixv-25239"
      unitRef="RATIO">0.362</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4317Member"
      decimals="INF"
      id="ixv-25240"
      unitRef="RATIO">0.206</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4315Member"
      decimals="INF"
      id="ixv-25241"
      unitRef="RATIO">0.178</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4314Member"
      decimals="INF"
      id="ixv-25242"
      unitRef="RATIO">0.103</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4316Member"
      decimals="INF"
      id="ixv-25243"
      unitRef="RATIO">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_4342Member"
      decimals="INF"
      id="ixv-25244"
      unitRef="RATIO">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7616_instant_PutnamMortgageOpportunitiesFund_ClassR6_2026-05-31_3991Member"
      decimals="INF"
      id="ixv-25245"
      unitRef="RATIO">0.111</oef:PctOfTotalInv>
    <oef:FundName
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2402"
      xml:lang="en-US">Putnam Mortgage Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2411"
      xml:lang="en-US">Class Y</oef:ClassName>
    <dei:TradingSymbol
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2414"
      xml:lang="en-US">PMOYX</dei:TradingSymbol>
    <dei:DocumentPeriodEndDate
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-2421"
      xml:lang="en-US">2026-05-31</dei:DocumentPeriodEndDate>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2428"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;This &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;annual shareholder report&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt; contains important information about &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;Putnam Mortgage Opportunities Fund for the period &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;June 1, 2025, to &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;May 31, 2026.&lt;/span&gt;</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="c_7619_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31Member"
      id="ixv-2430"
      xml:lang="en-US">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2437"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;You can find additional information about the Fund at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;. You can also &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;request this information by contacting us at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;;"&gt;.&lt;/span&gt;</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2439"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2443"
      xml:lang="en-US">(800) 225-1581</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2448"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#161616;"&gt;&lt;b&gt;&lt;i&gt;This report describes changes to the Fund that occurred during the reporting period.&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="foot-7615_824461-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT WERE THE FUND COSTS FOR THE LAST YEAR? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(based on a hypothetical $10,000 investment)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #E6FAFF;border-left:1.5pt solid #E6FAFF;  border-right:1.5pt solid #E6FAFF;  border-bottom:1.5pt solid #E6FAFF; margin-left:7.9pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:50%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:22.33812949640288%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:27.661870503597125%;background-color:#E6FAFF;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Class Name&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs of a $10,000 &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;investment&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;Costs paid as a percentage of a &lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;b&gt;$10,000 investment&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;Class Y&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$63&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="background-color:#E6FAFF;;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#E6FAFF;padding-left:2pt;padding-top:1.5pt;padding-bottom:0;align:center;text-align:center;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.61%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25246"
      unitRef="USD">63</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="foot-7615_824461-1021"
      unitRef="RATIO">0.0061</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2512"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW DID THE FUND PERFORM LAST YEAR AND WHAT AFFECTED ITS PERFORMANCE?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For the twelve months ended May 31, 2026, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Class Y shares of Putnam Mortgage Opportunities Fund returned &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;7.34%. The Fund &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;compares its performance to the ICE&#160;&#x2009;BofA U.S. Treasury Bill Index and the Bloomberg U.S. MBS Index, which returned 4.00% and &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;6.85%, respectively, for the same period.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;PERFORMANCE HIGHLIGHTS&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top contributors to performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Commercial mortgage-backed securities (CMBS) contributed during the period, particularly cash bond holdings. The outlook for &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;commercial real estate (CRE) has improved, fundamentals have stabilized and supply and demand technicals remained positive.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Non-agency residential mortgage-backed securities (RMBS) also contributed. Homeowner balance sheets remained well &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;positioned, supported by locked in home price appreciation, lower household leverage, and strong underwriting standards.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#30DB87;;"&gt;&#x2191;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Prepayment strategies contributed as a whole, driven by tactical mortgage basis positioning as well exposure to interest-only (IO) &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;securities which benefited as prepayment speeds remained below historical averages with many borrowers not having an &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;incentive to refinance.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;padding-bottom:2pt;padding-top:0pt;margin-left:7.75pt;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:1.8507194244604317%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:98.14928057553956%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="2" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Top detractors from performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#CA0046;;"&gt;&#x2193;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Inverse IO securities detracted overall from performance, particularly higher coupon inverse IOs as the rate rally in 2025 &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;increased the likelihood that newer collateral with higher rates would prepay.&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Use of derivatives and the impact on performance:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The Fund utilized interest-rate swaps to hedge term structure risk and for yield curve positioning. Options were used to hedge &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;duration and convexity, isolate prepayment risk, and manage downside risks. In addition, commercial real estate derivatives were &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;used to gain exposure to the CMBS sector and hedge credit and market risks. Futures were used for hedging Treasury term &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;structure risk and for yield curve positioning. In aggregate, these derivatives contributed to performance.&lt;/span&gt;&lt;/div&gt;</oef:FactorsAffectingPerfTextBlock>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2624"
      xml:lang="en-US">The Fund&#x2019;s past performance is not necessarily an indication of how the Fund will perform in the future. </oef:PerformancePastDoesNotIndicateFuture>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2627"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;The graph and table &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;do not reflect the deduction of taxes that a shareholder would pay on Fund distributions or redemption of Fund shares.&lt;/span&gt;</oef:NoDeductionOfTaxesTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2644"
      xml:lang="en-US">&lt;div&gt;&lt;img alt="image" src="ts7615img003.jpg" style="width:88.88888888888889%"/&gt;&lt;/div&gt;</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2648"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#161616;;"&gt;&lt;b&gt;AVERAGE ANNUAL TOTAL RETURNS (%) &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;Period Ended &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;margin-left:7.75pt;border-bottom:1.5pt solid #778B8B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:47.530575539568346%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.489208633093526%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.140287769784173%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:17.83992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:0pt;margin-bottom:0;"&gt;&#160;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;1 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;5 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:1.5pt solid #1447FF;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;10 Year&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Class Y&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;7.34&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.36&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:0.5pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.13&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. Aggregate Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;5.13&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.17&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.70&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;ICE BofA U.S. Treasury Bill Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;4.00&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;3.48&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #778B8B;white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;2.34&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Bloomberg U.S. MBS Index&lt;/b&gt;&lt;/span&gt;
               &lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;6.85&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;0.45&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;1.44&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2684"
      xml:lang="en-US">Class Y</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25248"
      unitRef="RATIO">0.0734</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2021-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25249"
      unitRef="RATIO">0.0636</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2016-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25250"
      unitRef="RATIO">0.0513</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      id="ixv-2699"
      xml:lang="en-US">Bloomberg U.S. Aggregate Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25251"
      unitRef="RATIO">0.0513</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25252"
      unitRef="RATIO">0.0017</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25253"
      unitRef="RATIO">0.0170</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      id="ixv-2714"
      xml:lang="en-US">ICE BofA U.S. Treasury Bill Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25254"
      unitRef="RATIO">0.0400</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25255"
      unitRef="RATIO">0.0348</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25256"
      unitRef="RATIO">0.0234</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      id="ixv-2729"
      xml:lang="en-US">Bloomberg U.S. MBS Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25257"
      unitRef="RATIO">0.0685</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25258"
      unitRef="RATIO">0.0045</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25259"
      unitRef="RATIO">0.0144</oef:AvgAnnlRtrPct>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2753"
      xml:lang="en-US">&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;For current month-end performance, please call Franklin Templeton at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581 or visit&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/investments/options/mutual-funds&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Important data provider notices and terms available at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;www.franklintempletondatasources.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. &lt;/span&gt;&lt;/div&gt;</oef:UpdPerfInfoLocationTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2769"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;KEY FUND STATISTICS &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;
      &lt;table cellspacing="0" style="width:98%;cellspacing:0;border-top:1.5pt solid #6B6B6B;margin-left:7.75pt;border-bottom:1.5pt solid #6B6B6B;margin-top:10px;"&gt;
         &lt;tr style="height:1px;"&gt;
            &lt;td style="height:1px;width:74.41007194244604%;"&gt;&lt;/td&gt;
            &lt;td style="height:1px;width:25.58992805755396%;"&gt;&lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Net Assets&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$479,937,056&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Number of Portfolio Holdings (excludes derivatives, except purchased options, if any)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;419&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Total Management Fee Paid&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="border-bottom:0.75pt solid #6B6B6B;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;$1,876,082&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
         &lt;tr&gt;
            &lt;td colspan="1" style="vertical-align:top"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:left;text-align:left;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;&lt;b&gt;Portfolio Turnover Rate&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
            &lt;td colspan="1" style="white-space:nowrap;vertical-align:bottom"&gt;
               &lt;div style="background-color:#FFFFFF;padding-left:2pt;padding-top:1pt;padding-bottom:0;align:right;text-align:right;padding-right:2pt;font-family:Arial, Helvetica, sans-serif;font-size:10pt;margin-top:1pt;margin-bottom:0;"&gt;&lt;span style="font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;"&gt;559%&lt;/span&gt;&lt;/div&gt;
            &lt;/td&gt;
         &lt;/tr&gt;
      &lt;/table&gt;&lt;/div&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31Member"
      decimals="INF"
      id="ixv-25260"
      unitRef="USD">479937056</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31Member"
      decimals="INF"
      id="ixv-25261"
      unitRef="UNIT">419</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25262"
      unitRef="USD">1876082</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25263"
      unitRef="RATIO">5.59</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="foot-7615_827525-1011"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;WHAT DID THE FUND INVEST IN? &lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;(as of &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.824pt;color:#2D2D2D;;"&gt;May 31, 2026)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;Portfolio Composition&lt;/b&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;sup&gt;*&lt;/sup&gt;&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;color:#161616;;"&gt;&lt;b&gt;&#160;&#x2009;(% of Total Investments)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;img alt="image" src="ts7615img004.jpg" style="width:96.41294838145232%"/&gt;&lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2865"
      xml:lang="en-US">&lt;div&gt;&lt;span style="text-transform:uppercase;"&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:12.024pt;text-transform:uppercase;color:#1447FF;;"&gt;&lt;b&gt;HOW HAS THE FUND CHANGED?&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Effective December 31, 2025, the portfolio managers primarily responsible for the day-to-day management of the Fund are Neil Dhruv, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Jatin Misra, PhD, CFA, and Michael V. Salm.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;At a meeting on May 21, 2026, the Fund&#x2019;s Board of Trustees (the &#x201c;Board&#x201d;) approved, and recommended that shareholders approve, the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;conversion of the Fund from a mutual fund into an exchange traded fund through the reorganization of the Fund with and into a &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;newly-organized exchange traded fund (the &#x201c;ETF&#x201d;). Pursuant to an Agreement and Plan of Reorganization (the &#x201c;Plan&#x201d;) approved by the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Board, the proposed reorganization, if approved by shareholders of the Fund, will consist of (1) the transfer of substantially all of the &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;Fund&#x2019;s assets, subject to its liabilities, to the ETF in return for shares of the ETF; and (2) the distribution of the ETF shares to the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;shareholders in complete liquidation of the Fund. Completion of the proposed reorganization is subject to a number of conditions &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;under the Plan, including shareholder approval. Fund shareholders will receive on or around September 3, 2026, a prospectus/proxy &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;statement describing in detail: (i) information about voting on the proposed reorganization, (ii) details regarding the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization and the ETF, and (iii) a summary of the Board&#x2019;s considerations in approving the proposed reorganization. If shareholders &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;of the Fund do not approve the proposed reorganization, the reorganization will not proceed. It is anticipated that the proposed &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;reorganization, if approved by shareholders, would occur in or around the first quarter of 2027.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;br/&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2892"
      xml:lang="en-US">&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;This is a summary of certain changes to the Fund since &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;June 1, 2025&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;. For more complete information, you may review the Fund&#x2019;s &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;current prospectus and any applicable supplements and the Fund&#x2019;s next prospectus, which we expect to be available by &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;October 1, &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;2026, at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;;"&gt;https://www.franklintempleton.com/regulatory-fund-documents&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or upon request at &lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;(800) 225-1581&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt; or&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;funddocuments@putnam.com&lt;/span&gt;&lt;span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:10.02pt;color:#2D2D2D;;"&gt;.&lt;/span&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:MaterialChngDate
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2894"
      xml:lang="en-US">2025-06-01</oef:MaterialChngDate>
    <oef:UpdProspectusWebAddress
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2900"
      xml:lang="en-US">https://www.franklintempleton.com/regulatory-fund-documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2903"
      xml:lang="en-US">(800) 225-1581</oef:UpdProspectusPhoneNumber>
    <oef:UpdProspectusEmailAddress
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      id="ixv-2908"
      xml:lang="en-US">funddocuments@putnam.com</oef:UpdProspectusEmailAddress>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2016-05-31_2016-05-31Member"
      decimals="INF"
      id="ixv-25264"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2017-05-31_2017-05-31Member"
      decimals="INF"
      id="ixv-25265"
      unitRef="USD">10953</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2018-05-31_2018-05-31Member"
      decimals="INF"
      id="ixv-25266"
      unitRef="USD">11736</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2019-05-31_2019-05-31Member"
      decimals="INF"
      id="ixv-25267"
      unitRef="USD">12095</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2020-05-31_2020-05-31Member"
      decimals="INF"
      id="ixv-25268"
      unitRef="USD">11169</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2021-05-31_2021-05-31Member"
      decimals="INF"
      id="ixv-25269"
      unitRef="USD">12113</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2022-05-31_2022-05-31Member"
      decimals="INF"
      id="ixv-25270"
      unitRef="USD">12230</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2023-05-31_2023-05-31Member"
      decimals="INF"
      id="ixv-25271"
      unitRef="USD">12673</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2024-05-31_2024-05-31Member"
      decimals="INF"
      id="ixv-25272"
      unitRef="USD">14348</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-05-31_2025-05-31Member"
      decimals="INF"
      id="ixv-25273"
      unitRef="USD">15342</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_ClassY_2025-06-01_2026-05-31Member"
      decimals="INF"
      id="ixv-25274"
      unitRef="USD">16469</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_4434Member"
      decimals="INF"
      id="ixv-25275"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_4434Member"
      decimals="INF"
      id="ixv-25276"
      unitRef="USD">10158</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_4434Member"
      decimals="INF"
      id="ixv-25277"
      unitRef="USD">10120</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_4434Member"
      decimals="INF"
      id="ixv-25278"
      unitRef="USD">10768</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_4434Member"
      decimals="INF"
      id="ixv-25279"
      unitRef="USD">11781</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_4434Member"
      decimals="INF"
      id="ixv-25280"
      unitRef="USD">11734</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_4434Member"
      decimals="INF"
      id="ixv-25281"
      unitRef="USD">10769</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_4434Member"
      decimals="INF"
      id="ixv-25282"
      unitRef="USD">10538</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_4434Member"
      decimals="INF"
      id="ixv-25283"
      unitRef="USD">10676</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_4434Member"
      decimals="INF"
      id="ixv-25284"
      unitRef="USD">11258</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_4434Member"
      decimals="INF"
      id="ixv-25285"
      unitRef="USD">11836</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5818Member"
      decimals="INF"
      id="ixv-25286"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5818Member"
      decimals="INF"
      id="ixv-25287"
      unitRef="USD">10045</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5818Member"
      decimals="INF"
      id="ixv-25288"
      unitRef="USD">10168</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5818Member"
      decimals="INF"
      id="ixv-25289"
      unitRef="USD">10403</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5818Member"
      decimals="INF"
      id="ixv-25290"
      unitRef="USD">10604</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5818Member"
      decimals="INF"
      id="ixv-25291"
      unitRef="USD">10617</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5818Member"
      decimals="INF"
      id="ixv-25292"
      unitRef="USD">10624</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5818Member"
      decimals="INF"
      id="ixv-25293"
      unitRef="USD">10956</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5818Member"
      decimals="INF"
      id="ixv-25294"
      unitRef="USD">11554</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5818Member"
      decimals="INF"
      id="ixv-25295"
      unitRef="USD">12112</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5818Member"
      decimals="INF"
      id="ixv-25296"
      unitRef="USD">12597</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2016-05-31_2016-05-31_5819Member"
      decimals="INF"
      id="ixv-25297"
      unitRef="USD">10000</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2017-05-31_2017-05-31_5819Member"
      decimals="INF"
      id="ixv-25298"
      unitRef="USD">10116</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2018-05-31_2018-05-31_5819Member"
      decimals="INF"
      id="ixv-25299"
      unitRef="USD">10085</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2019-05-31_2019-05-31_5819Member"
      decimals="INF"
      id="ixv-25300"
      unitRef="USD">10641</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2020-05-31_2020-05-31_5819Member"
      decimals="INF"
      id="ixv-25301"
      unitRef="USD">11335</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2021-05-31_2021-05-31_5819Member"
      decimals="INF"
      id="ixv-25302"
      unitRef="USD">11282</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2022-05-31_2022-05-31_5819Member"
      decimals="INF"
      id="ixv-25303"
      unitRef="USD">10426</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2023-05-31_2023-05-31_5819Member"
      decimals="INF"
      id="ixv-25304"
      unitRef="USD">10147</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2024-05-31_2024-05-31_5819Member"
      decimals="INF"
      id="ixv-25305"
      unitRef="USD">10198</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-05-31_2025-05-31_5819Member"
      decimals="INF"
      id="ixv-25306"
      unitRef="USD">10798</oef:AccmVal>
    <oef:AccmVal
      contextRef="c_7615_duration_PutnamMortgageOpportunitiesFund_2025-06-01_2026-05-31_5819Member"
      decimals="INF"
      id="ixv-25307"
      unitRef="USD">11537</oef:AccmVal>
    <oef:PctOfTotalInv
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4313Member"
      decimals="INF"
      id="ixv-25308"
      unitRef="RATIO">0.362</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4317Member"
      decimals="INF"
      id="ixv-25309"
      unitRef="RATIO">0.206</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4315Member"
      decimals="INF"
      id="ixv-25310"
      unitRef="RATIO">0.178</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4314Member"
      decimals="INF"
      id="ixv-25311"
      unitRef="RATIO">0.103</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4316Member"
      decimals="INF"
      id="ixv-25312"
      unitRef="RATIO">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_4342Member"
      decimals="INF"
      id="ixv-25313"
      unitRef="RATIO">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="c_7615_instant_PutnamMortgageOpportunitiesFund_ClassY_2026-05-31_3991Member"
      decimals="INF"
      id="ixv-25314"
      unitRef="RATIO">0.111</oef:PctOfTotalInv>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#foot-7619_824965-1011"
          xlink:label="foot-7619_824965-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7619_824965_11745" xlink:label="WSF_7619_824965_11745" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Reflects fee waivers and/or expense reimbursements, without which expenses would have been higher.</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7619_824965-1011"
          xlink:to="WSF_7619_824965_11745"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7619_827504-1011"
          xlink:label="foot-7619_827504-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7619_827505_2288" xlink:label="WSF_7619_827505_2288" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Does not include derivatives, except purchased options, if any.&#160;&#x2009;</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7619_827504-1011"
          xlink:to="WSF_7619_827505_2288"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7618_824838-1011"
          xlink:label="foot-7618_824838-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7618_824838_11745" xlink:label="WSF_7618_824838_11745" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Reflects fee waivers and/or expense reimbursements, without which expenses would have been higher.</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7618_824838-1011"
          xlink:to="WSF_7618_824838_11745"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7618_827507-1011"
          xlink:label="foot-7618_827507-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7618_827508_2288" xlink:label="WSF_7618_827508_2288" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Does not include derivatives, except purchased options, if any.&#160;&#x2009;</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7618_827507-1011"
          xlink:to="WSF_7618_827508_2288"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7617_824713-1011"
          xlink:label="foot-7617_824713-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7617_824713_11745" xlink:label="WSF_7617_824713_11745" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Reflects fee waivers and/or expense reimbursements, without which expenses would have been higher.</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7617_824713-1011"
          xlink:to="WSF_7617_824713_11745"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7617_827513-1011"
          xlink:label="foot-7617_827513-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7617_827514_2288" xlink:label="WSF_7617_827514_2288" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Does not include derivatives, except purchased options, if any.&#160;&#x2009;</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7617_827513-1011"
          xlink:to="WSF_7617_827514_2288"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7616_824587-1011"
          xlink:label="foot-7616_824587-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7616_824587_11745" xlink:label="WSF_7616_824587_11745" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Reflects fee waivers and/or expense reimbursements, without which expenses would have been higher.</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7616_824587-1011"
          xlink:to="WSF_7616_824587_11745"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7616_827519-1011"
          xlink:label="foot-7616_827519-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7616_827520_2288" xlink:label="WSF_7616_827520_2288" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Does not include derivatives, except purchased options, if any.&#160;&#x2009;</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7616_827519-1011"
          xlink:to="WSF_7616_827520_2288"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7615_824461-1011"
          xlink:label="foot-7615_824461-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7615_824461_11745" xlink:label="WSF_7615_824461_11745" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Reflects fee waivers and/or expense reimbursements, without which expenses would have been higher.</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7615_824461-1011"
          xlink:to="WSF_7615_824461_11745"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#foot-7615_827525-1011"
          xlink:label="foot-7615_827525-1011"
          xlink:type="locator"/>
        <link:footnote id="WSF_7615_827526_2288" xlink:label="WSF_7615_827526_2288" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en"><xhtml:table style="padding-top:5pt;width:100%;cellspacing:0;margin-left:8pt;"><xhtml:tr><xhtml:td style="vertical-align:top;font-family:Arial, Helvetica, sans-serif;font-size:6pt;text-align:left;align:left;width:2%;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:8.02pt;color:#6B6B6B;;">*</xhtml:span></xhtml:td><xhtml:td style="padding-bottom:0pt;padding-top:-10.02pt;padding-left:2pt;padding-right:0pt;"><xhtml:span style="clear:both;font-family:Arial, Helvetica, sans-serif;font-size:9.02pt;color:#6B6B6B;;">Does not include derivatives, except purchased options, if any.&#160;&#x2009;</xhtml:span></xhtml:td></xhtml:tr></xhtml:table></link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="foot-7615_827525-1011"
          xlink:to="WSF_7615_827526_2288"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
