<?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_S000006906Member_S000006906SummaryMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000787441</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">cik0000787441:S000006906Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-31</startDate>
            <endDate>2025-10-31</endDate>
        </period>
    </context>
    <oef:RiskReturnHeading
      contextRef="Context_20251031_20251031_S000006906Member_S000006906SummaryMember"
      id="ixv-261">NYLIM WMC Value Fund</oef:RiskReturnHeading>
    <oef:SupplementToProspectusTextBlock
      contextRef="Context_20251031_20251031_S000006906Member_S000006906SummaryMember"
      id="ixv-11">&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.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;) to the Summary Prospectus
dated February 28, 2026, &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:center; font-weight:normal; text-decoration:none;"&gt;as revised August 28, 2026, and the Prospectus and Statement
of Additional Information (&#x201c;SAI&#x201d;) &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:center; font-weight:normal; text-decoration:none;"&gt;dated February 28, 2026, as supplemented&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:center; font-weight:bold; text-decoration:none;"&gt;Important
Notice Regarding Changes to Name and Investment Policies&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:center; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.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, Prospectus and SAI.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:normal; text-decoration:none;"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.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 (&#x201c;Board&#x201d;) of NYLIM Funds (&#x201c;Trust&#x201d;)
considered and approved, among other related proposals: (i) appointing Los Angeles Capital Management
LLC (&#x201c;LACM&#x201d;) as the Fund&#x2019;s subadvisor and the related subadvisory agreement; (ii) changing the
Fund&#x2019;s name and modifying the Fund&#x2019;s principal investment strategies, investment process and principal
risks; (iii) adopting a non-fundamental investment policy pursuant to Rule 35d-1 (the &#x201c;Names Rule&#x201d;)
of the Investment Company Act of 1940, as amended; and (iv) reducing the contractual management fee.
 These changes do not require shareholder approval.  &lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; text-decoration:none; font-style:italic;"&gt;As a result, effective
on or about December 11, 2026, the following changes will be made to the Summary Prospectus, Prospectus
and SAI:&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:justify; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;1.&lt;/span&gt;&lt;span style="word-spacing:10.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:bold; text-decoration:none;"&gt;Name Change.&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The name of the Fund is changed to NYLIM
LACM Large Cap Value Fund.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:justify; font-weight:normal; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;2.&lt;/span&gt;&lt;span style="word-spacing:10.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:bold; text-decoration:none;"&gt;Fees
and Expenses of the Fund and Example. &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The Fund&#x2019;s fees and expenses table is updated to reflect
the &lt;/span&gt;&lt;span style="word-spacing:10.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;following:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:bold; text-decoration:none;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The
contractual management fee rate is revised to read as follows: 0.60% on assets up to $1 billion; 0.56%
on assets from $1 billion to $3 billion; and &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;0.54&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;% on assets over $3
billion.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.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:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;3.&lt;/span&gt;&lt;span style="word-spacing:19.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:bold; text-decoration:none;"&gt;Principal
Investment Strategies.&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;&#160;The section of the Summary Prospectus and Prospectus entitled &#x201c;Principal Investment
Strategies&#x201d; is deleted in its entirety and replaced with the following:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; font-weight:normal; text-decoration:none;"&gt;&#160;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;Under normal circumstances, the Fund will invest at least 80% of its assets (net
assets plus the amount of any borrowings for investment purposes) in equity securities and equity-related
securities of large capitalization value companies. Los Angeles Capital Management LLC, the Fund&#x2019;s
Subadvisor, defines large-capitalization value securities as securities of companies included in the
Russell 1000&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt; Value Index, which had market capitalizations ranging from
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; color:#333333; font-weight:normal; text-decoration:none;"&gt;$623 million to $4.5 trillion&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt; as of July 31, 2026. &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The Fund may invest
up to 20% of its assets in securities outside of the Russell 1000&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;&lt;sup&gt;&#xae;&lt;/sup&gt;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;
Value Index.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;Equity securities include common stock, preferred stock and
equity-equivalent securities, such as securities convertible into common stock. Equity or equity-related
securities represent an ownership interest, or the right to acquire an ownership interest, in an issuer.
An issuer of a security is considered to be a U.S. or foreign issuer based on the issuer&#x2019;s &#x201c;country
of risk&#x201d; (or similar designation) as determined by a third-party such as Bloomberg.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Investment
Process:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt; The Fund&#x2019;s Subadvisor employs a quantitative investment process for security
selection and risk management using a proprietary quantitative model. The model considers a range of
valuation, earnings, financial, market, and management characteristics to identify current drivers of
return. Utilizing these characteristics, the Subadvisor seeks to construct a forward-looking portfolio
designed to manage risk and adapt to changing market conditions.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;By
including fundamental data inputs and, through the use of statistical tools, the model estimates expected
returns through a multi-step process.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="word-spacing:10.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The Fund&#x2019;s portfolio
is rebalanced periodically using the model.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; font-weight:normal; font-style:normal;"&gt;&lt;span style="word-spacing:10.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The Subadvisor seeks to generate incremental investment returns
above the Fund&#x2019;s benchmark, while attempting &lt;/span&gt;&lt;span style="word-spacing:10.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;to
control investment risk relative to the benchmark. The Subadvisor may sell a security if it believes
its &lt;/span&gt;&lt;span style="word-spacing:10.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;investment objectives have been met or
when the security is deemed less attractive relative to another security on &lt;/span&gt;&lt;span style="word-spacing:10.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;a
return/risk basis. &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:justify; text-indent:-36.0pt; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;4.&lt;/span&gt;&lt;span style="word-spacing:19.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:bold; text-decoration:none;"&gt;Principal
Risks.&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The section of the Summary Prospectus and Prospectus entitled&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;&#x201c;Principal Risks&#x201d;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;is
revised as follows:&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt; &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:justify; text-indent:-36.0pt; font-weight:normal; margin-left:72.0pt; text-decoration:none;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;a.&lt;/span&gt;&lt;span style="word-spacing:19.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The &#x201c;Foreign Securities Risk&#x201d;, &#x201c;Depositary Receipts
Risk&#x201d; and &#x201c;Emerging Markets Risk&#x201d; are deleted in their entirety.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:justify; text-indent:-36.0pt; font-weight:normal; margin-left:36.0pt; text-decoration:none;"&gt;&lt;span style="word-spacing:19.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;b.&lt;/span&gt;&lt;span style="word-spacing:19.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The
&#x201c;Portfolio Management Risk&#x201d; is deleted in its entirety and replaced with the following:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:justify; text-indent:-36.0pt; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="word-spacing:19.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;Portfolio Management Risk:
&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The
investment strategies, practices and risk analyses used by the Subadvisor may not produce the desired
results or expected returns. The quantitative screening performed by the Subadvisor, and the securities
selected based on the screening, may not perform as expected. The quantitative screening may adversely
affect the Fund&#x2019;s performance. There may also be technical issues with the construction and implementation
of quantitative models (for example, software or other technology malfunctions, or programming inaccuracies).
In addition, the Fund&#x2019;s performance will reflect, in part, the Subadvisor&#x2019;s ability to make active
qualitative decisions. &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:justify; text-indent:-36.0pt; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="word-spacing:19.0pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;In
addition, the selection of &#x201c;Foreign Securities and Currency Risk&#x201d;, &#x201c;Depositary Receipts Risk&#x201d;,
and &#x201c;Emerging Markets Risk&#x201d;  for the Fund under the &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;&#x201c;More About Investment Strategies and Risks&#x2014;Additional
Information About Risks&#x201d;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt; section of the Prospectus is changed to reflect that each
is an Additional Risk of the Fund.&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; text-align:left; text-indent:-33.0pt; font-weight:normal; margin-left:36.0pt; font-style:normal;"&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;5.&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:bold; text-decoration:none;"&gt; &lt;/span&gt;&lt;span style="word-spacing:17.5pt;"&gt;&#160;&lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:italic; font-weight:bold; text-decoration:none;"&gt;Past
Performance.   &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:normal; text-decoration:none;"&gt;The following is inserted as the last paragraph of the section of the Summary
Prospectus and Prospectus entitled &lt;/span&gt;&lt;span style="font-size:10.0pt; font-family:Serif; font-style:normal; font-weight:bold; text-decoration:none;"&gt;&#x201c;Past Performance&#x201d;:&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-top:revert; margin-bottom:revert; font-size:10.0pt; font-family:Serif; font-style:normal; text-align:left; font-weight:normal; margin-left:36.0pt; text-decoration:none;"&gt;Effective
December 11, 2026, the Fund replaced its subadvisor and modified its principal investment strategies.
The past performance in the bar chart and table prior to that date reflects the Fund&#x2019;s prior subadvisors
and principal investment strategies.&lt;/p&gt;</oef:SupplementToProspectusTextBlock>
    <oef:ProspectusDate contextRef="Context_20251031_20251031" id="ixv-262">2026-02-28</oef:ProspectusDate>
    <dei:DocumentType contextRef="Context_20251031_20251031" id="ixv-265">497</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="Context_20251031_20251031" id="ixv-266">2025-10-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="Context_20251031_20251031" id="ixv-267">0000787441</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="Context_20251031_20251031" id="ixv-268">false</dei:AmendmentFlag>
    <dei:DocumentCreationDate contextRef="Context_20251031_20251031" id="ixv-269">2026-09-25</dei:DocumentCreationDate>
    <dei:DocumentEffectiveDate contextRef="Context_20251031_20251031" id="ixv-270">2026-09-25</dei:DocumentEffectiveDate>
    <dei:EntityInvCompanyType contextRef="Context_20251031_20251031" id="ixv-271">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName contextRef="Context_20251031_20251031" id="ixv-295">NYLIM FUNDS</dei:EntityRegistrantName>
</xbrl>
