<?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:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="franklin-20260228.xsd" xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000809708</identifier>
        </entity>
        <period>
            <startDate>2025-09-01</startDate>
            <endDate>2026-02-28</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-40">Templeton Emerging Markets Fund</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate contextRef="c0" id="ixv-78">2026-02-28</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-15172">0000809708</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="c0" id="hidden11743">N-CSRS</dei:DocumentType>
    <dei:AmendmentFlag contextRef="c0" id="ixv-15174">false</dei:AmendmentFlag>
</xbrl>