<?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>
    <context id="Context_20251031_20251031_S000006905Member_PrincipalRisks2_S000006905SummaryMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000787441</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000787441:S000006905Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000787441:PrincipalRisks2Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <context id="Context_20251031_20251031_S000006905Member_TechnologyStockRisk2_S000006905SummaryMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000787441</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000787441:S000006905Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">cik0000787441:TechnologyStockRisk2Member</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-64">NYLIM Winslow Large Cap Growth Fund</oef:RiskReturnHeading>
    <oef:SupplementToProspectusTextBlock
      contextRef="Context_20251031_20251031_S000006905Member_S000006905SummaryMember"
      id="ixv-11">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; font-style:normal; text-align:center; font-weight:normal; text-decoration:none;"&gt;Supplement dated September 25, 2026 (&#x201c;Supplement&#x201d;)&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; font-style:normal; text-align:center; font-weight:normal; text-decoration:none;"&gt;to
the Summary Prospectus dated February 28, 2026, as revised August 28, 2026, &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; font-style:normal; text-align:center; font-weight:normal; text-decoration:none;"&gt;and
Prospectus dated February 28, 2026, as supplemented&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; text-align:center; font-weight:bold; font-style:normal;"&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:italic; font-weight:normal; text-decoration:none;"&gt;Capitalized terms and certain other terms
used in this Supplement, unless otherwise defined in this Supplement, have the meanings assigned to them
in the Summary Prospectus and Prospectus.&lt;/span&gt;&lt;br/&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:italic; font-weight:bold; text-decoration:none;"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; text-align:left; font-weight:normal; font-style:italic;"&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;Effective immediately,
the following changes will be made to the Summary Prospectus and Prospectus:&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; text-align:left; text-indent:-36.0pt; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;1.&lt;/span&gt;&lt;span style="word-spacing:19.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The following sentence is added to the end of the first paragraph
&#x201c;&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Principal
Investment Strategies&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;&#x201d; section: &lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;As a result of its investment strategy,
the Fund may have significant exposure to companies in a single industry or sector.&lt;/span&gt;&lt;br/&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;2.&lt;/span&gt;&lt;span style="word-spacing:11.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The following is added to the &#x201c;&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Principal Risks&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;&#x201d;&#160;section:
&lt;/span&gt;&lt;/p&gt;</oef:SupplementToProspectusTextBlock>
    <oef:ProspectusDate contextRef="Context_20251031_20251031" id="ixv-65">2026-02-28</oef:ProspectusDate>
    <oef:RiskTextBlock
      contextRef="Context_20251031_20251031_S000006905Member_PrincipalRisks2_S000006905SummaryMember"
      id="ixv-40">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; font-style:normal; text-align:left; font-weight:bold; text-decoration:none;"&gt;&lt;span style="word-spacing:11.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Principal Risks&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="Context_20251031_20251031_S000006905Member_TechnologyStockRisk2_S000006905SummaryMember"
      id="ixv-44">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:11.0pt; font-family:Serif; text-align:justify; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Technology
Stock Risk:&lt;/span&gt;&lt;span style="font-size:11.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt; The technology sector has been among the most volatile sectors of the stock market.
Because the Fund may have a significant portion of its assets invested in the information technology
sector, including semiconductor and software companies, its performance may be significantly affected
by developments in that sector.  Certain information technology companies may have limited product lines,
markets or financial resources, or may depend on a limited management group. In addition, these companies
are strongly affected by worldwide technological developments, and their products and services may not
be economically successful or may quickly become outdated. Investor perception may play a greater role
in determining the day-to-day value of information technology stocks than it does in other sectors. Investments
made in anticipation of future products and services may decline dramatically in value if the anticipated
products or services are delayed or cancelled. Information technology companies also may be heavily dependent
on intellectual property rights and adversely affected by the loss or impairment of those rights and
may face increased government scrutiny and regulatory action. Semiconductor companies are subject to
the additional risks of a highly cyclical industry and significant dependence on third-party suppliers
and specialized materials, while software companies face particularly intense competitive pressures and
rely heavily on patent protections.&lt;/span&gt;&lt;/p&gt;</oef:RiskTextBlock>
    <dei:DocumentType contextRef="Context_20251031_20251031" id="ixv-68">497</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20251031_20251031" id="ixv-69">2025-10-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20251031_20251031" id="ixv-70">0000787441</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20251031_20251031" id="ixv-71">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20251031_20251031" id="ixv-72">2026-09-25</dei:DocumentCreationDate>
    <dei:DocumentEffectiveDate contextRef="Context_20251031_20251031" id="ixv-73">2026-09-25</dei:DocumentEffectiveDate>
    <dei:EntityInvCompanyType contextRef="Context_20251031_20251031" id="ixv-74">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20251031_20251031" id="ixv-116">NYLIM FUNDS</dei:EntityRegistrantName>
    <cik0000787441:CustomRisksTableTextBlock
      contextRef="Context_20251031_20251031_S000006905Member_S000006905SummaryMember"
      id="ixv-117">~ http://www.mainstayinvestments.com/20251031/role/RRRiskTable3 ~</cik0000787441:CustomRisksTableTextBlock>
</xbrl>
