Goldman Sachs Dynamic Global Equity Fund Performance Management - A C Inst Serv Inv R R6 Shares [Member] - Goldman Sachs Dynamic Global Equity Fund |
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 Class A Shares from year to year; and (b) how the average annual total returns of the Fund’s Class A, Class C, Institutional, Service, Investor, Class R and Class R6 Shares compare to those of a broad-based securities market index. Through February 28, 2019, the Fund had been known as the Goldman Sachs Equity Growth Strategy Portfolio, and certain of its principal investment strategies differed. Performance information prior to this date reflects the Fund’s former strategies. As a result, the Fund’s performance may differ substantially from the performance information shown below. The Fund’s past performance, before and after taxes, is not necessarily an indication of how the Fund will perform in the future. Updated performance information is available at no cost at am.gs.com or by calling the appropriate phone number on the back cover of the Prospectus. The bar chart (including “Best Quarter” and “Worst Quarter” information) does not reflect the sales loads applicable to Class A Shares. If the sales loads were reflected, returns would be less. Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown. |
| Performance Past Does Not Indicate Future [Text] | <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">The Fund’s past performance, before and after taxes, is not </span><span style="color:#000000;font-family:Times New Roman;font-size:9pt;">necessarily an indication of how the 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 Class A Shares from year to year; and (b) how the average annual total returns of the Fund’s Class A, Class C, Institutional, Service, Investor, Class R and Class R6 Shares compare to those of a broad-based securities market index.</span> |
| Bar Chart Does Not Reflect Sales Loads [Text] | <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">The bar chart (including “Best Quarter” and “Worst Quarter” information) does not reflect the sales loads applicable to Class A Shares. If the sales loads were reflected, returns would be less.</span> |
| Bar Chart [Heading] | <span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;">CALENDAR YEAR (CLASS A)</span> |
| Bar Chart Closing [Text Block] | During the periods shown in the chart above:ReturnsQuarter endedBest Quarter Return19.77%June 30, 2020Worst Quarter Return-23.29%March 31, 2020 |
| 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.The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Service, Investor and Class R6, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary.After-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. Actual after-tax returns depend on an investor’s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts. |
| Performance Table Uses Highest Federal Rate | <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">After-tax returns are calculated using the historical highest individual federal marginal income tax rates and do not reflect the impact of state and local taxes. </span> |
| Performance Table Not Relevant to Tax Deferred | <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">Actual after-tax </span><span style="color:#000000;font-family:Times New Roman;font-size:9pt;">returns depend on an investor’s tax situation and may differ from those shown. In addition, the after-tax returns shown are not relevant to investors who hold Fund Shares through tax-deferred arrangements such as 401(k) plans or individual retirement accounts.</span> |
| Performance Table One Class of after Tax Shown [Text] | <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">The after-tax returns are for Class A Shares only. The after-tax returns for Class C, Institutional, Service, Investor and Class R6, and returns for Class R Shares (which are offered exclusively to employee benefit plans), will vary.</span> |
| 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> |
| Class A Shares | |
| Prospectus [Line Items] | |
| Highest Quarterly Return, Label [Optional Text] | <span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;">Best Quarter Return</span> |
| Highest Quarterly Return | 19.77% |
| Highest Quarterly Return, Date | Jun. 30, 2020 |
| Lowest Quarterly Return, Label [Optional Text] | <span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;">Worst Quarter Return</span> |
| Lowest Quarterly Return | (23.29%) |
| Lowest Quarterly Return, Date | Mar. 31, 2020 |