<?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/20250221"
  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-20250221.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="S000009353Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001046292</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">gsvit:S000009353Member</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_d9e180e3_7849_4419_998b_1ec7ab8d36ff">false</dei:AmendmentFlag>
    <dei:DocumentEffectiveDate
      contextRef="DefaultContext"
      id="h5_ac825e12_3e4a_4ecb_8c18_9b1ed6b77b6e">2025-02-21</dei:DocumentEffectiveDate>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="h8_a7401eaf_34d5_4c80_b9cf_888f22395efe">2023-12-31</dei:DocumentPeriodEndDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="h7_48c2b15e_8e72_4d7c_8f7d_bbeba951aa68">497</dei:DocumentType>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_ac9a5411_466f_4e75_bf7d_a02909be7343">0001046292</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType
      contextRef="DefaultContext"
      id="h2_68cbaa51_50f9_4ca4_8f8f_dea0b9cd819e">N-1A</dei:EntityInvCompanyType>
    <rr:SupplementToProspectusTextBlock
      contextRef="S000009353Member"
      id="t_1_fb7471d0_f20a_a2b3_d9b5_0433cc115980">&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:0pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Goldman Sachs Core Fixed Income 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 February&#160;21, 2025 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, Summary Prospectuses and Statement of Additional Information (&#x201c;SAI&#x201d;), each dated April&#160;29, 2024, 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;font-weight:bold;text-align:center;"&gt;IMPORTANT NOTICE REGARDING CHANGE IN INVESTMENT POLICY &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;Upon the recommendation of Goldman Sachs Asset Management, L.P. (the &#x201c;Investment Adviser&#x201d;), the&#160;Board of Trustees of Goldman Sachs Variable Insurance Trust recently approved changes to the Fund&#x2019;s non&#x2011;fundamental policy to invest at least 80% of its net assets in fixed income securities (&#x201c;80% Policy&#x201d;). The change in the Fund&#x2019;s 80% Policy will be effective on April&#160;30, 2025 (the &#x201c;Effective Date&#x201d;). &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;The Fund currently 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 fixed income securities. On the Effective Date, the Fund&#x2019;s 80% Policy will be revised to reflect that the Fund will invest, under normal circumstances, at least 80% of its Net Assets in &#x201c;core fixed income securities.&#x201d; For purposes of the Fund&#x2019;s 80% Policy, the core fixed income securities universe will be revised to clarify fixed income securities that are rated investment grade (i.e., securities rated BBB&#x2011;, Baa3 or higher by a nationally recognized statistical rating organization (&#x201c;NRSRO&#x201d;), or, if unrated, determined by the Investment Adviser to be of comparable credit quality). These changes will not materially impact (i)&#160;the way in which the Fund is managed, (ii)&#160;the portfolio holdings of the Fund, or (iii)&#160;the Fund&#x2019;s investment objective to seek a total return consisting of capital appreciation and income. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;Accordingly, on the Effective Date, 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;"&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;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Goldman Sachs Core Fixed Income Fund&#x2014;Summary&#x2014;Principal Strategy&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#160;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;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&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;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#160;Section in the Goldman Sachs Core Fixed Income 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 core fixed income securities. Fixed income securities include securities issued or guaranteed by the U.S. government, its agencies, instrumentalities or sponsored enterprises (&#x201c;U.S. Government Securities&#x201d;), including agency issued adjustable rate and fixed rate mortgage-backed securities or other mortgage-related securities (&#x201c;Agency Mortgage-Backed Securities&#x201d;), corporate debt securities, privately issued adjustable rate and fixed rate mortgage-backed securities or other mortgage-related securities (&#x201c;Private Mortgage-Backed Securities&#x201d; and, together with Agency Mortgage-Backed Securities, &#x201c;Mortgage-Backed Securities&#x201d;) and asset-backed securities (including collateralized loan obligations). The Fund may also invest in custodial receipts, fixed income securities issued by or on behalf of states, territories, and possessions of the United States (including the District of Columbia) (&#x201c;Municipal Securities&#x201d;) and convertible securities. Core fixed income securities are fixed income securities that are rated investment grade (i.e., securities rated BBB&#x2011;, Baa3 or higher by a nationally recognized statistical rating organization (&#x201c;NRSRO&#x201d;) or, if unrated, determined by the Investment Adviser to be of comparable credit quality). &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 eighth paragraph under the &lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201c;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Goldman Sachs Core Fixed Income Fund&#x2014;Summary&#x2014;Principal Strategy&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#160;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;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&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;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#160;Section in the Goldman Sachs Core Fixed Income Fund&#x2019;s Summary Prospectuses is deleted in its entirety. &lt;/span&gt;&lt;/div&gt;</rr:SupplementToProspectusTextBlock>
    <rr:SupplementToProspectusTextBlock
      contextRef="DefaultContext"
      id="t_2_3c390f44_9e26_7964_6a8a_f571cee49801">&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:0pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;font-weight:bold;text-align:center;"&gt;Goldman Sachs Core Fixed Income 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 February&#160;21, 2025 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, Summary Prospectuses and Statement of Additional Information (&#x201c;SAI&#x201d;), each dated April&#160;29, 2024, 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;font-weight:bold;text-align:center;"&gt;IMPORTANT NOTICE REGARDING CHANGE IN INVESTMENT POLICY &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;Upon the recommendation of Goldman Sachs Asset Management, L.P. (the &#x201c;Investment Adviser&#x201d;), the&#160;Board of Trustees of Goldman Sachs Variable Insurance Trust recently approved changes to the Fund&#x2019;s non&#x2011;fundamental policy to invest at least 80% of its net assets in fixed income securities (&#x201c;80% Policy&#x201d;). The change in the Fund&#x2019;s 80% Policy will be effective on April&#160;30, 2025 (the &#x201c;Effective Date&#x201d;). &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;The Fund currently 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 fixed income securities. On the Effective Date, the Fund&#x2019;s 80% Policy will be revised to reflect that the Fund will invest, under normal circumstances, at least 80% of its Net Assets in &#x201c;core fixed income securities.&#x201d; For purposes of the Fund&#x2019;s 80% Policy, the core fixed income securities universe will be revised to clarify fixed income securities that are rated investment grade (i.e., securities rated BBB&#x2011;, Baa3 or higher by a nationally recognized statistical rating organization (&#x201c;NRSRO&#x201d;), or, if unrated, determined by the Investment Adviser to be of comparable credit quality). These changes will not materially impact (i)&#160;the way in which the Fund is managed, (ii)&#160;the portfolio holdings of the Fund, or (iii)&#160;the Fund&#x2019;s investment objective to seek a total return consisting of capital appreciation and income. &lt;/div&gt;&lt;div style="margin-top:6pt;margin-bottom:0pt;font-size:9pt;font-family:times new roman;"&gt;Accordingly, on the Effective Date, 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;"&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;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Goldman Sachs Core Fixed Income Fund&#x2014;Summary&#x2014;Principal Strategy&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#160;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;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&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;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#160;Section in the Goldman Sachs Core Fixed Income 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 core fixed income securities. Fixed income securities include securities issued or guaranteed by the U.S. government, its agencies, instrumentalities or sponsored enterprises (&#x201c;U.S. Government Securities&#x201d;), including agency issued adjustable rate and fixed rate mortgage-backed securities or other mortgage-related securities (&#x201c;Agency Mortgage-Backed Securities&#x201d;), corporate debt securities, privately issued adjustable rate and fixed rate mortgage-backed securities or other mortgage-related securities (&#x201c;Private Mortgage-Backed Securities&#x201d; and, together with Agency Mortgage-Backed Securities, &#x201c;Mortgage-Backed Securities&#x201d;) and asset-backed securities (including collateralized loan obligations). The Fund may also invest in custodial receipts, fixed income securities issued by or on behalf of states, territories, and possessions of the United States (including the District of Columbia) (&#x201c;Municipal Securities&#x201d;) and convertible securities. Core fixed income securities are fixed income securities that are rated investment grade (i.e., securities rated BBB&#x2011;, Baa3 or higher by a nationally recognized statistical rating organization (&#x201c;NRSRO&#x201d;) or, if unrated, determined by the Investment Adviser to be of comparable credit quality). &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 eighth paragraph under the &lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201c;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;Goldman Sachs Core Fixed Income Fund&#x2014;Summary&#x2014;Principal Strategy&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#160;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;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&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;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&lt;span style="font-style:italic"&gt;&#x201d;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight:bold"&gt;&#160;Section in the Goldman Sachs Core Fixed Income Fund&#x2019;s Summary Prospectuses is deleted in its entirety. &lt;/span&gt;&lt;/div&gt;</rr:SupplementToProspectusTextBlock>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_3_e13e8926_2d8a_2a33_2d23_b9391b071846">GOLDMAN SACHS VARIABLE INSURANCE TRUST</dei:EntityRegistrantName>
    <dei:DocumentCreationDate
      contextRef="DefaultContext"
      id="t_4_03fce061_90d2_58ee_7268_b3c3697f6c54">2025-02-21</dei:DocumentCreationDate>
    <rr:ProspectusDate
      contextRef="DefaultContext"
      id="t_5_250cee23_583d_9f63_7604_d85d146ca97a">2024-04-29</rr:ProspectusDate>
</xbrl>
