<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2021"
  xmlns:gsvit="http://www.gsamfunds.com/20220216"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2021"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gsvit-20220216.xsd" xlink:type="simple"/>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001046292</identifier>
        </entity>
        <period>
            <startDate>2021-04-30</startDate>
            <endDate>2021-04-30</endDate>
        </period>
    </context>
    <context id="S000009360Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001046292</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsvit:S000009360Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-04-30</startDate>
            <endDate>2021-04-30</endDate>
        </period>
    </context>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_0405255f_1d20_4fdd_ad0a_184ff77e08fb">false</dei:AmendmentFlag>
    <dei:DocumentEffectiveDate
      contextRef="DefaultContext"
      id="h5_1fe0a344_3dda_4332_8cf0_5b48afeafce9">2022-02-16</dei:DocumentEffectiveDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_0cfe3a62_49fb_477d_8d38_98733cbef3d6">497</dei:DocumentType>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_85c30507_8428_4302_b7d6_80d71af052ba">0001046292</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_1_e0208e1e-4d6c-6af9-a8ea-b74317bcfd9f">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_fc66d8f1_d5fa_4cbd_9fee_49571a3df2e3">2020-12-31</dei:DocumentPeriodEndDate>
    <rr:SupplementToProspectusTextBlock
      contextRef="DefaultContext"
      id="t_1_6582591c_84bb_4150_36f7_2f2a3608653c">&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:13pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;GOLDMAN SACHS VARIABLE INSURANCE TRUST&lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;text-align:center;"&gt;Institutional and Service Shares of the &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Goldman Sachs Growth Opportunities Fund &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;(the &#x201c;Fund&#x201d;) &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;text-align:center;"&gt;&lt;span style="font-style:italic"&gt;Supplement dated February&#160;16, 2022 to the &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;text-align:center;"&gt;&lt;span style="font-style:italic"&gt;Prospectuses, Summary Prospectuses and Statement of Additional Information (&#x201c;SAI&#x201d;), &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;text-align:center;"&gt;&lt;span style="font-style:italic"&gt;&lt;span style="text-decoration:underline"&gt;each dated April&#160;30, 2021, as supplemented to date &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:18pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;The Board of Trustees of the Goldman Sachs Variable Insurance Trust has recently approved changes to the Fund&#x2019;s name and principal investment strategy. These changes are not expected to materially affect the Fund&#x2019;s current portfolio holdings. These changes will become effective after close of business on April&#160;29, 2022. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;The Fund&#x2019;s name will change to the &#x201c;Goldman Sachs Mid Cap Growth Fund.&#x201d; &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;Accordingly, on April&#160;29, 2022, the Fund&#x2019;s Prospectuses, Summary Prospectuses and SAI are revised as follows: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;font-weight:bold;"&gt;All references in the Prospectuses, Summary Prospectuses and SAI to the &#x201c;Goldman Sachs Growth Opportunities Fund&#x201d; are replaced with the &#x201c;Goldman Sachs Mid Cap Growth Fund.&#x201d; &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;&lt;span style="font-weight:bold"&gt;The following replaces in its entirety the first paragraph of the &#x201c;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Goldman Sachs Growth Opportunities Fund&#x2014;Summary&#x2014;Principal Strategy&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#x201d; section of the Prospectuses and &#x201c;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Principal Strategy&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#x201d; section of the Summary Prospectuses: &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in a diversified portfolio of equity investments in mid&#x2011;cap issuers. Mid&#x2011;cap issuers are issuers with public stock market capitalizations (based upon shares available for trading on an unrestricted basis) within the range of the market capitalizations of companies constituting the Russell Midcap&lt;sup style="font-size:85%;vertical-align:top"&gt;&#xae;&lt;/sup&gt; Growth Index at the time of investment. As of December&#160;31, 2021, the capitalization range of the companies in the Russell Midcap&lt;sup style="font-size:85%;vertical-align:top"&gt;&#xae;&lt;/sup&gt; Growth Index was between $0.43&#160;billion and $58.76&#160;billion. Although the Fund invests primarily in publicly traded U.S. securities, it may invest up to 25% of its total assets measured at the time of purchase (&#x201c;Total Assets&#x201d;) in foreign securities, including securities of issuers in countries with emerging markets or economies (&#x201c;emerging countries&#x201d;) and securities quoted in foreign currencies. The Fund may also invest in privately held companies and companies that only recently began to trade publicly. &lt;/div&gt;</rr:SupplementToProspectusTextBlock>
    <rr:SupplementToProspectusTextBlock
      contextRef="S000009360Member"
      id="t_2_a3b381ad_c280_9df2_64de_b5993ec544c2">&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:13pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;GOLDMAN SACHS VARIABLE INSURANCE TRUST&lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;text-align:center;"&gt;Institutional and Service Shares of the &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Goldman Sachs Growth Opportunities Fund &lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;(the &#x201c;Fund&#x201d;) &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;text-align:center;"&gt;&lt;span style="font-style:italic"&gt;Supplement dated February&#160;16, 2022 to the &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;text-align:center;"&gt;&lt;span style="font-style:italic"&gt;Prospectuses, Summary Prospectuses and Statement of Additional Information (&#x201c;SAI&#x201d;), &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:0pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;text-align:center;"&gt;&lt;span style="font-style:italic"&gt;&lt;span style="text-decoration:underline"&gt;each dated April&#160;30, 2021, as supplemented to date &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:18pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;The Board of Trustees of the Goldman Sachs Variable Insurance Trust has recently approved changes to the Fund&#x2019;s name and principal investment strategy. These changes are not expected to materially affect the Fund&#x2019;s current portfolio holdings. These changes will become effective after close of business on April&#160;29, 2022. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;The Fund&#x2019;s name will change to the &#x201c;Goldman Sachs Mid Cap Growth Fund.&#x201d; &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;Accordingly, on April&#160;29, 2022, the Fund&#x2019;s Prospectuses, Summary Prospectuses and SAI are revised as follows: &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;font-weight:bold;"&gt;All references in the Prospectuses, Summary Prospectuses and SAI to the &#x201c;Goldman Sachs Growth Opportunities Fund&#x201d; are replaced with the &#x201c;Goldman Sachs Mid Cap Growth Fund.&#x201d; &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;&lt;span style="font-weight:bold"&gt;The following replaces in its entirety the first paragraph of the &#x201c;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Goldman Sachs Growth Opportunities Fund&#x2014;Summary&#x2014;Principal Strategy&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#x201d; section of the Prospectuses and &#x201c;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Principal Strategy&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#x201d; section of the Summary Prospectuses: &lt;/span&gt;&lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;The Fund invests, under normal circumstances, at least 80% of its net assets plus any borrowings for investment purposes (measured at the time of purchase) (&#x201c;Net Assets&#x201d;) in a diversified portfolio of equity investments in mid&#x2011;cap issuers. Mid&#x2011;cap issuers are issuers with public stock market capitalizations (based upon shares available for trading on an unrestricted basis) within the range of the market capitalizations of companies constituting the Russell Midcap&lt;sup style="font-size:85%;vertical-align:top"&gt;&#xae;&lt;/sup&gt; Growth Index at the time of investment. As of December&#160;31, 2021, the capitalization range of the companies in the Russell Midcap&lt;sup style="font-size:85%;vertical-align:top"&gt;&#xae;&lt;/sup&gt; Growth Index was between $0.43&#160;billion and $58.76&#160;billion. Although the Fund invests primarily in publicly traded U.S. securities, it may invest up to 25% of its total assets measured at the time of purchase (&#x201c;Total Assets&#x201d;) in foreign securities, including securities of issuers in countries with emerging markets or economies (&#x201c;emerging countries&#x201d;) and securities quoted in foreign currencies. The Fund may also invest in privately held companies and companies that only recently began to trade publicly. &lt;/div&gt;</rr:SupplementToProspectusTextBlock>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_3_7e56dcb5_eddf_2be1_f142_e6c21e291755">GOLDMAN SACHS VARIABLE INSURANCE TRUST</dei:EntityRegistrantName>
    <dei:DocumentCreationDate
      contextRef="DefaultContext"
      id="t_4_b4aaffb2_cdd5_dc64_a2f3_d689545160db">2022-02-16</dei:DocumentCreationDate>
    <rr:ProspectusDate
      contextRef="DefaultContext"
      id="t_5_5bd70c79_380d_2a59_83c6_660e60d2f4ef">2021-04-30</rr:ProspectusDate>
</xbrl>
