<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:gfi="http://www.glenmedeim.com/20251031"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gfi-20251031.xsd" xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000835663</identifier>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000835663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gfi:S000059607Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="c2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000835663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gfi:S000059607Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">gfi:DividendPayingSecurityRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="c3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000835663</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gfi:S000055943Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-206">The Glenmede Fund, Inc.</dei:EntityRegistrantName>
    <oef:RiskReturnHeading contextRef="c3" id="ixv-207">Equity Income Portfolio</oef:RiskReturnHeading>
    <oef:ProspectusDate contextRef="c0" id="ixv-208">2026-02-28</oef:ProspectusDate>
    <oef:ObjectiveHeading contextRef="c1" id="ixv-209">Investment Objective </oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock contextRef="c1" id="ixv-80">&lt;div class="BRDSX_fpara" style="color: #000000; font-family: 'Times New Roman', Times, serif; font-size: 10pt; margin-top: 7pt; margin-left: 0pt; text-align: left;"&gt;A high level of current income and long-term growth of capital consistent with reasonable risk to principal. &lt;/div&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:StrategyHeading contextRef="c1" id="ixv-210">Principal Investment Strategy </oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock contextRef="c1" id="ixv-83">&lt;div class="BRDSX_fpara" style="color: #000000; font-family: 'Times New Roman', Times, serif; font-size: 10pt; margin-top: 6pt; margin-left: 0pt; text-align: justify;"&gt;Using factor-based analysis, under normal market circumstances, the Portfolio invests at least 80% of the value of its net assets (including borrowings for investment purposes) in income-producing common stocks of large cap companies tied economically to the U.S. The Advisor considers a company to be tied economically to the U.S. if the company: 1) is organized under the laws of the U.S., 2) maintains its principal place of business in the U.S., 3) is traded principally in the U.S. or 4) at the time of purchase, is included in a U.S. equity index managed by S&amp;amp;P Global Ratings (&#x201c;S&amp;amp;P&#x201d;) or FTSE Russell (&#x201c;Russell&#x201d;). Large cap companies include companies with market capitalizations, at the time of purchase, within the market capitalization range of any stock in the Russell 1000&lt;sup&gt;&#xae;&lt;/sup&gt; Value Index. That capitalization range was $1.3&#160;billion to $3.8&#160;trillion as of December&#160;31, 2025. &lt;/div&gt;&lt;div class="BRDSX_text" style="color: #000000; font-family: 'Times New Roman', Times, serif; font-size: 10pt; margin-top: 6.75pt; margin-left: 0pt; text-align: justify;"&gt;The Advisor uses proprietary multi-factor computer models to select stocks that the models identify as undervalued. These computer models rank securities based on certain criteria, including price in relation to earnings, cash flow and assets, and material sustainability-related criteria. In addition, the Portfolio will limit its selection universe to stocks with a material dividend yield at the time of purchase. As sustainability-related information is just one investment criterion, sustainability-related considerations are generally not solely determinative in any investment decision made by the Advisor. The Portfolio may actively trade its securities to achieve its principal investment strategies. &lt;/div&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock contextRef="c2" id="ixv-101">&lt;div class="BRDSX_fpara" style="color: #000000; font-family: 'Times New Roman', Times, serif; font-size: 10pt; font-weight: bold; margin-top: 6pt; margin-left: 20pt; text-align: justify;"&gt;Dividend Paying Security Risk:&#160;&lt;span style="font-weight: normal;"&gt;Income provided by the Portfolio may be affected by changes in the dividend policies of the companies in which the Portfolio invests and the capital resources available for such payments at such companies. Issuers that have paid regular dividends or distributions to shareholders may not continue to do so at the same level or at all in the future. Dividend paying securities can fall out of favor with the market, causing the Portfolio during such periods to underperform funds that do not focus on dividends. &lt;/span&gt;&lt;/div&gt;</oef:RiskTextBlock>
    <dei:DocumentType contextRef="c0" id="ixv-213">497</dei:DocumentType>
    <dei:EntityInvCompanyType contextRef="c0" id="ixv-214">N-1A</dei:EntityInvCompanyType>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-215">0000835663</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c0" id="ixv-216">false</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate contextRef="c0" id="ixv-217">2025-10-31</dei:DocumentPeriodEndDate>
</xbrl>
