<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pmo-20261105.xsd" xlink:type="simple"/>
    <context id="P11_05_2026To11_05_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000900422</identifier>
        </entity>
        <period>
            <startDate>2026-11-05</startDate>
            <endDate>2026-11-05</endDate>
        </period>
    </context>
    <context id="P11_05_2026To11_05_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000900422</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:BusinessContactMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-11-05</startDate>
            <endDate>2026-11-05</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="P11_05_2026To11_05_2026" id="ixv-1125">0000900422</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="P11_05_2026To11_05_2026" id="ixv-1126">true</dei:AmendmentFlag>
    <dei:DocumentType contextRef="P11_05_2026To11_05_2026" id="hidden173935563">POS EX</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="P11_05_2026To11_05_2026" id="ixv-1145">Franklin Municipal Opportunities Trust</dei:EntityRegistrantName>
    <dei:EntityAddressAddressLine1 contextRef="P11_05_2026To11_05_2026" id="ixv-1146">100 Federal Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="P11_05_2026To11_05_2026" id="ixv-1147">Boston</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P11_05_2026To11_05_2026" id="ixv-1148">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P11_05_2026To11_05_2026" id="ixv-1149">02110</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P11_05_2026To11_05_2026" id="ixv-1150">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P11_05_2026To11_05_2026" id="ixv-1151">292-1000</dei:LocalPhoneNumber>
    <dei:ContactPersonnelName
      contextRef="P11_05_2026To11_05_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1152">Jane E. Trust</dei:ContactPersonnelName>
    <dei:EntityAddressAddressLine1
      contextRef="P11_05_2026To11_05_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1153">One Madison Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="P11_05_2026To11_05_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-122">17th Floor</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="P11_05_2026To11_05_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1154">New York</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="P11_05_2026To11_05_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1155">NY</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="P11_05_2026To11_05_2026_BusinessContactMemberdeiEntityAddressesAddressTypeAxis"
      id="ixv-1156">10010</dei:EntityAddressPostalZipCode>
    <dei:NoSubstantiveChanges462c contextRef="P11_05_2026To11_05_2026" id="ixv-1157">false</dei:NoSubstantiveChanges462c>
    <dei:ExhibitsOnly462d contextRef="P11_05_2026To11_05_2026" id="ixv-1158">true</dei:ExhibitsOnly462d>
    <dei:EntityWellKnownSeasonedIssuer contextRef="P11_05_2026To11_05_2026" id="ixv-1159">No</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityEmergingGrowthCompany contextRef="P11_05_2026To11_05_2026" id="ixv-1160">false</dei:EntityEmergingGrowthCompany>
    <dei:AmendmentDescription contextRef="P11_05_2026To11_05_2026" id="ixv-268">This Post-Effective Amendment No.&#160;1 to the Registration Statement on Form N-2 (File Nos. 333-297623 and 811-07626) of Franklin Municipal Opportunities Trust (the &#x201c;Registration Statement&#x201d;) is being filed pursuant to Rule 462(d) under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), solely for the purpose of filing exhibits to the Registration Statement. Accordingly, this Post-Effective Amendment No.&#160;1 consists only of a facing page, this explanatory note and Part C of the Registration Statement on Form N-2 setting forth the exhibits to the Registration Statement. This Post-Effective Amendment No.&#160;1 does not modify any other part of the Registration Statement. Pursuant to Rule 462(d) under the Securities Act, this Post-Effective Amendment No.&#160;1 shall become effective immediately upon filing with the Securities and Exchange Commission. The contents of the Registration Statement are hereby incorporated by reference. </dei:AmendmentDescription>
</xbrl>
