v3.26.1
Goldman Sachs Buffered S&P 500 Fund - Jan-Jul Performance Management - Inst [Member] - Goldman Sachs Buffered S&P 500 Fund - Jan-Jul
Dec. 31, 2025
Prospectus [Line Items]  
Bar Chart and Performance Table [Heading] <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;">Performance</span>
Performance Narrative [Text Block] The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund’s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund’s Institutional Shares compare to those of a broad-based securities market index. The Fund’s past performance is not necessarily an indication of how the Fund will perform in the future. Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. In addition, performance reflects Fund level expenses but does not reflect the fees and expenses associated with any variable annuity contract or variable life insurance policy that uses the Fund as an investment option for any contract or policy. Had performance reflected all of those fees and expenses, performance would have been reduced. Updated performance information is available at no cost at am.gs.com or by calling the phone number on the back cover of the Prospectus.
Performance Past Does Not Indicate Future [Text] <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">The Fund’s past performance is not necessarily an indication of how the </span><span style="color:#000000;font-family:Times New Roman;font-size:9pt;">Fund will perform in the future.</span>
Performance Information Illustrates Variability of Returns [Text] <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">The bar chart and table below provide an indication of the risks of investing in the Fund by showing: (a) changes in the performance of the Fund’s Institutional Shares from year to year; and (b) how the average annual total returns of the Fund’s Institutional Shares compare to those of a broad-based securities market index. </span>
Bar Chart [Heading] <span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;">CALENDAR YEAR </span><span style="font-family:Arial;font-size:9pt;">(INSTITUTIONAL)</span>
Bar Chart Closing [Text Block] During the periods shown in the chart above:ReturnsQuarter endedBest Quarter Return7.69%June 30, 2025Worst Quarter Return-2.71%March 31, 2025
Performance Table Heading <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:6pt;text-transform:uppercase;">AVERAGE ANNUAL TOTAL RETURN</span><span style="font-family:Arial Narrow;font-size:6.5pt;font-weight:bold;margin-left:0.0pt;">For the period ended December 31, 2025</span>
Performance Table Narrative Benchmark returns do not reflect any deductions for fees or expenses.
Index No Deduction for Fees, Expenses, or Taxes [Text] <span style="color:#000000;font-family:Times New Roman;font-size:7.5pt;font-style:italic;">Benchmark returns do not reflect any deductions for fees or expenses.</span>
Performance Availability Website Address [Text] <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">am.gs.com</span>
Institutional Shares  
Prospectus [Line Items]  
Highest Quarterly Return, Label [Optional Text] <span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;">Best Quarter Return</span>
Highest Quarterly Return 7.69%
Highest Quarterly Return, Date Jun. 30, 2025
Lowest Quarterly Return, Label [Optional Text] <span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;">Worst Quarter Return</span>
Lowest Quarterly Return (2.71%)
Lowest Quarterly Return, Date Mar. 31, 2025