<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:nyli="http://www.newyorklife.com/20260629"
  xmlns:vip="http://xbrl.sec.gov/vip/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="nyli-20260629.xsd" xlink:type="simple"/>
    <context id="D_30Jun2026_30Jun2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000193958">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000193958Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000074529">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000074529Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000154616">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000154616Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000154619">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000154619Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000025713">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000025713Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000074528">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000074528Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000099457">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000099457Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000154615">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000154615Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="C000025715">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001209501</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nyli:C000025715Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName contextRef="D_30Jun2026_30Jun2026" id="apid_1">NYLIAC VARIABLE ANNUITY SEPARATE ACCOUNT IV</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="D_30Jun2026_30Jun2026" id="apid_2">0001209501</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_30Jun2026_30Jun2026" id="apid_3">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType contextRef="D_30Jun2026_30Jun2026" id="apid_7">N-4</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="D_30Jun2026_30Jun2026" id="apid_8">N-4</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="D_30Jun2026_30Jun2026"
      id="apid_5c7edd0f-ab0b-444e-84b7-ef9d19621064">2026-06-30</dei:DocumentPeriodEndDate>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000193958"
      id="x_9b52fc12-2187-4c4a-981c-271d4c1c1941">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000074529"
      id="ixg9b52fc12-2187-4c4a-981c-271d4c1c1941_1">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000154616"
      id="ixg9b52fc12-2187-4c4a-981c-271d4c1c1941_2">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000154619"
      id="ixg9b52fc12-2187-4c4a-981c-271d4c1c1941_3">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000025713"
      id="ixg9b52fc12-2187-4c4a-981c-271d4c1c1941_4">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000074528"
      id="ixg9b52fc12-2187-4c4a-981c-271d4c1c1941_5">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000099457"
      id="ixg9b52fc12-2187-4c4a-981c-271d4c1c1941_6">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000154615"
      id="ixg9b52fc12-2187-4c4a-981c-271d4c1c1941_7">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000025715"
      id="ixg9b52fc12-2187-4c4a-981c-271d4c1c1941_9">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;margin-left:12pt;"&gt;All references to Western Asset Management Company Ltd. as a subadviser to the Western Asset Core Plus VIT &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Portfolio &#x2013; Class II are deleted.&lt;/span&gt;</vip:InvestmentOptionsN4TextBlock>
</xbrl>
