<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:gsvit="http://www.gsamfunds.com/20241122"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rr="http://xbrl.sec.gov/rr/2023"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gsvit-20241122.xsd" xlink:type="simple"/>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001046292</identifier>
        </entity>
        <period>
            <startDate>2024-04-29</startDate>
            <endDate>2024-04-29</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>2024-04-29</startDate>
            <endDate>2024-04-29</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_2edf293c_7e41_4a13_8dec_a1a08728eb06">false</dei:AmendmentFlag>
    <dei:DocumentEffectiveDate
      contextRef="DefaultContext"
      id="h5_3bcc6fe3_8b37_4947_8cde_f8d8ff785d12">2024-11-22</dei:DocumentEffectiveDate>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_19a5bcba_3901_4e41_a63b_6d60814d1399">2023-12-31</dei:DocumentPeriodEndDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_dced6a38_12bd_4cb3_876d_caa05fb3da72">497</dei:DocumentType>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_57f455a4_fdb1_45b3_849f_2d06d15c3790">0001046292</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h_1_e9b6a5a7-3ac2-4bcd-1910-6d41b4b55186">N-1A</dei:EntityInvCompanyType>
    <rr:SupplementToProspectusTextBlock
      contextRef="DefaultContext"
      id="t_1_d3bc0daa_cf41_1591_1291_b07c4433e5a3">  &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 Mid Cap Growth Fund&lt;/div&gt;   &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 9pt; font-family: times new roman; 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 November&#160;22, 2024 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;&lt;span style="text-decoration: underline;"&gt;Prospectuses and Summary Prospectuses, each dated April&#160;29, 2024 &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;Effective immediately, the Fund&#x2019;s Prospectuses and Summary Prospectuses are revised as follows:&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 under the &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&#x201c;Goldman Sachs Mid Cap Growth Fund&#x2014;Summary&#x2014;Principal Strategy&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; section in the Fund&#x2019;s Prospectuses and the &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&#x201c;Principal Strategy&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; section in the Fund&#x2019;s 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 companies with middle market capitalizations. Mid&#x2011;cap issuers generally have public stock market capitalizations between $1&#160;billion and $100&#160;billion; however, this capitalization range will change over time and with market conditions. The Fund may also invest in securities outside of the then-existing mid&#x2011;cap issuer capitalization range at the time of investment. The Fund seeks to achieve its investment objective by investing, under normal circumstances, in companies that are considered by the Investment Adviser to be positioned for long-term growth. Although the Fund invests primarily in publicly traded U.S. securities, it may invest up to 25% of its Net Assets 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_16810034_c0b8_cfba_d93c_90e15b8ff1d4"> &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 Mid Cap Growth Fund&lt;/div&gt;   &lt;div style="margin-top: 0pt; margin-bottom: 0pt; font-size: 9pt; font-family: times new roman; 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 November&#160;22, 2024 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;&lt;span style="text-decoration: underline;"&gt;Prospectuses and Summary Prospectuses, each dated April&#160;29, 2024 &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;Effective immediately, the Fund&#x2019;s Prospectuses and Summary Prospectuses are revised as follows:&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 under the &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&#x201c;Goldman Sachs Mid Cap Growth Fund&#x2014;Summary&#x2014;Principal Strategy&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; section in the Fund&#x2019;s Prospectuses and the &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&#x201c;Principal Strategy&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; section in the Fund&#x2019;s 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 companies with middle market capitalizations. Mid&#x2011;cap issuers generally have public stock market capitalizations between $1&#160;billion and $100&#160;billion; however, this capitalization range will change over time and with market conditions. The Fund may also invest in securities outside of the then-existing mid&#x2011;cap issuer capitalization range at the time of investment. The Fund seeks to achieve its investment objective by investing, under normal circumstances, in companies that are considered by the Investment Adviser to be positioned for long-term growth. Although the Fund invests primarily in publicly traded U.S. securities, it may invest up to 25% of its Net Assets 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_cd6d23ee_7877_382a_4001_9c77a3e7076a">GOLDMAN SACHS VARIABLE INSURANCE TRUST</dei:EntityRegistrantName>
    <dei:DocumentCreationDate
      contextRef="DefaultContext"
      id="t_4_e2192afb_e79e_47f8_4e41_37a63190fdec">2024-11-22</dei:DocumentCreationDate>
    <rr:ProspectusDate
      contextRef="DefaultContext"
      id="t_5_623c5f3a_f4aa_73cd_6c05_531c974b4877">2024-04-29</rr:ProspectusDate>
</xbrl>
