<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cik0000787441="http://www.mainstayinvestments.com/20251031"
  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="c497-20260925.xsd" xlink:type="simple"/>
    <context id="Context_20251031_20251031">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000787441</identifier>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="Context_20251031_20251031_S000006905Member_S000006905SummaryMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000787441</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000787441:S000006905Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <oef:RiskReturnHeading
      contextRef="Context_20251031_20251031_S000006905Member_S000006905SummaryMember"
      id="ixv-28">NYLIM Winslow Large Cap Growth Fund</oef:RiskReturnHeading>
    <oef:SupplementToProspectusTextBlock
      contextRef="Context_20251031_20251031_S000006905Member_S000006905SummaryMember"
      id="ixv-12">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:12.0pt; font-family:Serif; text-align:center; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:12.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;Supplement dated September 
25, 2026 (&#x201c;Supplement&#x201d;) &lt;/span&gt;&lt;span style="font-size:12.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;to the Summary Prospectus &lt;/span&gt;&lt;span style="font-size:12.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;dated February 28, 2026, 
as revised August 28, 2026, &lt;/span&gt;&lt;span style="font-size:12.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;and the Prospectus &lt;/span&gt;&lt;span style="font-size:12.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;dated February 28, 2026, as supplemented&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:12.0pt; font-family:Serif; font-style:normal; text-align:justify; font-weight:normal; text-decoration:none;"&gt;At a meeting held on September 23-24, 2026, the Board of Trustees of NYLIM Funds 
considered and approved a reverse share split (the &#x201c;Reverse Share Split&#x201d;) of&#160;the issued and outstanding 
Class C shares of the Fund.  The&#160;Reverse Share Split ratio will be 2.5 to 1 and will take place after 
the close of business on or about December 11, 2026 (the &#x201c;Effective Date&#x201d;).&#160;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:12.0pt; font-family:Serif; font-style:normal; text-align:justify; font-weight:normal; text-decoration:none;"&gt;As 
a result of the&#160;Reverse Share Split, for each Class C share of the Fund that a shareholder holds as&#160;of 
the close of business on the Effective Date, the shareholder will receive a proportional number of shares 
of the same class of&#160;the Fund based on the split ratio with the same aggregate dollar value. &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:12.0pt; font-family:Serif; font-style:normal; text-align:justify; font-weight:normal; text-decoration:none;"&gt;The effect of the Reverse Share Split is&#160;to reduce the number of outstanding 
Class C shares of the Fund and increase the Fund&#x2019;s Class C per share net asset value (&#x201c;NAV&#x201d;).&#160;Thus, 
the total dollar value of a shareholder&#x2019;s investment in Class C shares of the Fund will not change 
due to the Reverse Share Split, and each shareholder will continue to own the same percentage (by value) 
of Class C shares of the Fund immediately following the&#160;Reverse Share Split. The Reverse Share Split 
will not be a taxable event and it will not have an impact on the Fund&#x2019;s holdings or performance. &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:12.0pt; font-family:Serif; font-style:normal; text-align:justify; font-weight:normal; text-decoration:none;"&gt;In addition, because each whole share has one vote and each fractional share has 
a proportionate fractional vote, the&#160;Reverse Share Split&#160;will result in a decrease in the number of 
votes a Class C shareholder will have.  This will not result in a material change in a shareholder&#x2019;s 
proportional Fund voting rights within Class C, as the Class C shares received as part of the&#160;Reverse 
Share Split&#160;will provide a&#160;shareholder with approximately the same proportional voting rights as the 
Class C shares of the&#160;Fund owned prior to the&#160;Reverse Share Split. However,  a shareholder&#x2019;s relative 
voting&#160;power at the Trust and Fund level would be decreased as a result of the Reverse Share Split.&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:12.0pt; font-family:Serif; font-style:normal; text-align:justify; font-weight:normal; text-decoration:none;"&gt;The Class C shares of the Fund impacted by the Reverse Share Split will be offered, 
sold and redeemed on a Reverse Share Split-adjusted basis beginning on the first business day following 
the Reverse Share Split.&lt;/p&gt;</oef:SupplementToProspectusTextBlock>
    <oef:ProspectusDate contextRef="Context_20251031_20251031" id="ixv-29">2026-02-28</oef:ProspectusDate>
    <dei:DocumentType contextRef="Context_20251031_20251031" id="ixv-32">497</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20251031_20251031" id="ixv-33">2025-10-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20251031_20251031" id="ixv-34">0000787441</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20251031_20251031" id="ixv-35">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20251031_20251031" id="ixv-36">2026-09-25</dei:DocumentCreationDate>
    <dei:DocumentEffectiveDate contextRef="Context_20251031_20251031" id="ixv-37">2026-09-25</dei:DocumentEffectiveDate>
    <dei:EntityInvCompanyType contextRef="Context_20251031_20251031" id="ixv-38">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20251031_20251031" id="ixv-62">NYLIM FUNDS</dei:EntityRegistrantName>
</xbrl>
