<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>14</ContextCount>
  <ElementCount>83</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>11</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="fgpmf-20170620.xml">
      <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="fgpmf-20170620.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>true</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_FranklinGoldandPreciousMetalsFund14</Role>
      <ShortName>Risk/Return Summary- Franklin Gold and Precious Metals Fund</ShortName>
      <MenuCategory></MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="fgpmf-20170620.xml">
      <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_FranklinGoldandPreciousMetalsFund14</Role>
      <ShortName>Risk/Return Detail Data- Franklin Gold and Precious Metals Fund</ShortName>
      <MenuCategory></MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="fgpmf-20170620.xml">
      <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>4</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>fgpmf-20170620.xml</File>
    <File>fgpmf-20170620.xsd</File>
    <File>fgpmf-20170620_cal.xml</File>
    <File>fgpmf-20170620_def.xml</File>
    <File>fgpmf-20170620_lab.xml</File>
    <File>fgpmf-20170620_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>BarChart1.png</File>
  </SupplementalFiles>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
