<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>14</ContextCount>
  <ElementCount>164</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>11</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>2</UnitCount>
  <MyReports>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000000 - Document - Document and Entity Information {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/DocumentInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory></MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>000001 - Document - Risk/Return Summary {Unlabeled} - Franklin Gold and Precious Metals Fund</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/SummaryS000006839_FranklinGoldandPreciousMetalsFund20</Role>
      <ShortName>Risk/Return Summary- Franklin Gold and Precious Metals Fund</ShortName>
      <MenuCategory></MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>000002 - Schedule - Shareholder Fees {- Franklin Gold and Precious Metals Fund}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/ShareholderFeesS000006839_FranklinGoldandPreciousMetalsFund20</Role>
      <ShortName>Shareholder Fees {- Franklin Gold and Precious Metals Fund}</ShortName>
      <MenuCategory></MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>000003 - Schedule - Annual Operating Expenses {- Franklin Gold and Precious Metals Fund}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/OperatingExpensesS000006839_FranklinGoldandPreciousMetalsFund20</Role>
      <ShortName>Annual Operating Expenses {- Franklin Gold and Precious Metals Fund}</ShortName>
      <MenuCategory></MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>000004 - Schedule - Expense Example {- Franklin Gold and Precious Metals Fund}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/ExpenseExampleS000006839_FranklinGoldandPreciousMetalsFund20</Role>
      <ShortName>Expense Example {- Franklin Gold and Precious Metals Fund}</ShortName>
      <MenuCategory></MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>000005 - Schedule - Expense Example, No Redemption {- Franklin Gold and Precious Metals Fund}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/ExpenseExampleNoRedemptionS000006839_FranklinGoldandPreciousMetalsFund20</Role>
      <ShortName>Expense Example, No Redemption {- Franklin Gold and Precious Metals Fund}</ShortName>
      <MenuCategory></MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>000006 - Schedule - Annual Total Returns - Franklin Gold and Precious Metals Fund [BarChart]</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/AnnualTotalReturnsBarChartS000006839_FranklinGoldandPreciousMetalsFund20</Role>
      <ShortName>Annual Total Returns - Franklin Gold and Precious Metals Fund [BarChart]</ShortName>
      <MenuCategory></MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>000007 - Schedule - Average Annual Total Returns {Transposed} {- Franklin Gold and Precious Metals Fund}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/AverageAnnualTotalReturnsS000006839_FranklinGoldandPreciousMetalsFund20</Role>
      <ShortName>Average Annual Total Returns{- Franklin Gold and Precious Metals Fund}</ShortName>
      <MenuCategory></MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>000009 - Disclosure - Risk/Return Detail Data {Elements} - Franklin Gold and Precious Metals Fund</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.proofPlus.com/role/DisclosureDetailS000006839_FranklinGoldandPreciousMetalsFund20</Role>
      <ShortName>Risk/Return Detail Data- Franklin Gold and Precious Metals Fund</ShortName>
      <MenuCategory></MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="filing1162.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>040000 - Disclosure - Risk/Return Detail Data {Elements}</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/rr/role/RiskReturnDetailData</Role>
      <ShortName>Risk/Return Detail Data</ShortName>
      <MenuCategory></MenuCategory>
      <Position>10</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="497" original="filing1162.htm">filing1162.htm</File>
    <File>fgpmf-20210104.xsd</File>
    <File>fgpmf-20210104_cal.xml</File>
    <File>fgpmf-20210104_def.xml</File>
    <File>fgpmf-20210104_lab.xml</File>
    <File>fgpmf-20210104_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img220024960.jpg</File>
    <File>x21010412395700.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/rr/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2020-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
