<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2024q3"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="vvif-20241231.xsd" xlink:type="simple"/>
    <context id="D_31Dec2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857490</identifier>
        </entity>
        <period>
            <startDate>2024-12-31</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:DocumentPeriodEndDate contextRef="D_31Dec2024_31Dec2024" id="apid_1">2024-12-31</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="D_31Dec2024_31Dec2024" id="apid_2">VANGUARD VARIABLE INSURANCE FUNDS</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="D_31Dec2024_31Dec2024" id="apid_3">0000857490</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_31Dec2024_31Dec2024" id="apid_4">false</dei:AmendmentFlag>
    <oef:ProspectusDate contextRef="D_31Dec2024_31Dec2024" id="apid_5">2025-04-29</oef:ProspectusDate>
    <dei:EntityInvCompanyType contextRef="D_31Dec2024_31Dec2024" id="apid_6">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="D_31Dec2024_31Dec2024" id="apid_7">497</dei:DocumentType>
    <oef:SupplementToProspectusTextBlock
      contextRef="D_31Dec2024_31Dec2024"
      id="x_1ab94c3c-19f8-4e8e-bea7-b97b32cd8ba7">&lt;span style="color:#000000;font-family:Arial;font-size:14pt;"&gt;Vanguard Variable Insurance Funds &#x2013; Short-Term Investment-Grade Portfolio&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:11pt;font-weight:bold;"&gt;Supplement Dated July 10, 2025, to the Prospectus and Summary Prospectus Dated April 29, 2025&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;font-weight:bold;"&gt;Prospectus Text Changes for Vanguard Variable Insurance Funds &#x2013; Vanguard Short-Term Investment-Grade Portfolio  &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;The paragraph under the heading &#x201c;Principal Investment Strategies&#x201d; in the prospectus is replaced with the following:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9.5pt;"&gt;Vanguard Variable Insurance Funds Short-Term Investment-Grade Portfolio (the Portfolio) invests in a variety of high-quality and medium-quality fixed income securities. Under normal circumstances, at least 80% of the Portfolio&#x2019;s assets will be invested in investment-grade securities (those of medium and high quality). The Portfolio&#x2019;s investments will have a dollar-weighted average maturity of 1 to 4 years. Investment-grade fixed income securities are those rated the equivalent of Baa3 and above by Moody&#x2019;s Ratings or another independent rating agency; or, if unrated, are determined to be of comparable quality by the Portfolio&#x2019;s advisor. &#x2003;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;line-height:7pt;"&gt;&#xa9; 2025 The Vanguard Group, Inc. All rights reserved.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:7pt;"&gt;Vanguard Marketing Corporation, Distributor.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:8.5pt;margin-left:138.93pt;"&gt;PS 274A 072025&lt;/span&gt;</oef:SupplementToProspectusTextBlock>
</xbrl>
