<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:af="http://www.alger.com/20260520"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cik0000003521-20260520.xsd" xlink:type="simple"/>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000003521</identifier>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="S000009160Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000003521</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">af:S000009160Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_9d0f7b1a_3f3b_4687_bc7a_543681d04b10">false</dei:AmendmentFlag>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_7ccd1b16_6d1a_4471_a9bb_2e7c21930608">2025-10-31</dei:DocumentPeriodEndDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_01fda633_2a14_4194_a0d3_39c94efd63a7">497</dei:DocumentType>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_45d7f283_409f_4eca_9069_b81150eaa32c">0000003521</dei:EntityCentralIndexKey>
    <oef:ProspectusDate
      contextRef="DefaultContext"
      id="h_1_c50e1f9d-adf3-2e9f-99b8-5782838e483e">2026-02-27</oef:ProspectusDate>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_2_a1d347fb-db34-9450-e680-148bc71a948a">N-1A</dei:EntityInvCompanyType>
    <oef:SupplementToProspectusTextBlock
      contextRef="DefaultContext"
      id="t_2_d0b69511_6271_5d5b_e7b7_cfc1a91def58">&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;THE ALGER FUNDS &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Alger Small Cap Growth Fund &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;(the &#x201c;Fund&#x201d;) &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Supplement dated May&#160;20, 2026 to the &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Prospectus, Summary Prospectus and &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Statement of Additional Information of the Fund &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;dated March&#160;1, 2026 &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;Effective on or about the close of business on August&#160;1, 2026, all of the issued and outstanding Class&#160;B shares of the Fund (&#x201c;Class&#160;B Shares&#x201d;) will be converted into Class&#160;A shares of the Fund (&#x201c;Class&#160;A Shares&#x201d;) with the same relative aggregate net asset value as the Class&#160;B Shares held immediately prior to the conversion. The Class&#160;A Shares currently have a lower total expense ratio and lower distribution fees and shareholder servicing fees payable under the Fund&#x2019;s 12b&#x2011;1 plan than the Class&#160;B Shares. No sales load, fee, or other charge will be imposed on the conversion of the Class&#160;B Shares and, once converted, the Class&#160;A Shares will not be subject to the contingent deferred sales charge (if any) currently charged on the redemption of the Class&#160;B Shares. Please refer to the Fund&#x2019;s prospectus for Class&#160;A Shares for more information on the Class&#160;A Shares. The conversion is not expected to be a taxable event for federal income tax purposes and should not result in recognition of gain or loss by converting shareholders. Upon completion of the conversion, Class&#160;B Shares will no longer be offered. &lt;/div&gt;</oef:SupplementToProspectusTextBlock>
    <oef:SupplementToProspectusTextBlock
      contextRef="S000009160Member"
      id="t_3_bf960a5c_dfd2_3ff0_1ddf_4d2eead830fd">&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;THE ALGER FUNDS &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Alger Small Cap Growth Fund &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;(the &#x201c;Fund&#x201d;) &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Supplement dated May&#160;20, 2026 to the &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Prospectus, Summary Prospectus and &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Statement of Additional Information of the Fund &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;dated March&#160;1, 2026 &lt;/div&gt;&lt;div style="margin-top:12pt;margin-bottom:0pt;font-size:10pt;font-family:times new roman;text-align:justify;"&gt;Effective on or about the close of business on August&#160;1, 2026, all of the issued and outstanding Class&#160;B shares of the Fund (&#x201c;Class&#160;B Shares&#x201d;) will be converted into Class&#160;A shares of the Fund (&#x201c;Class&#160;A Shares&#x201d;) with the same relative aggregate net asset value as the Class&#160;B Shares held immediately prior to the conversion. The Class&#160;A Shares currently have a lower total expense ratio and lower distribution fees and shareholder servicing fees payable under the Fund&#x2019;s 12b&#x2011;1 plan than the Class&#160;B Shares. No sales load, fee, or other charge will be imposed on the conversion of the Class&#160;B Shares and, once converted, the Class&#160;A Shares will not be subject to the contingent deferred sales charge (if any) currently charged on the redemption of the Class&#160;B Shares. Please refer to the Fund&#x2019;s prospectus for Class&#160;A Shares for more information on the Class&#160;A Shares. The conversion is not expected to be a taxable event for federal income tax purposes and should not result in recognition of gain or loss by converting shareholders. Upon completion of the conversion, Class&#160;B Shares will no longer be offered. &lt;/div&gt;</oef:SupplementToProspectusTextBlock>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_4_a511ef8b_3f2f_584d_faec_17ef66494b51">ALGER FUNDS</dei:EntityRegistrantName>
</xbrl>
