v3.26.1
Goldman Sachs Dynamic Bond Fund Performance Management - Class A C Inst Inv R R6 Shares [Member] - Goldman Sachs Dynamic Bond Fund
Mar. 31, 2026
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 Class A, Class C, Institutional, Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (Bloomberg U.S. Aggregate Bond Index) (the “Regulatory Benchmark”) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the “Performance Benchmark”).The Performance Benchmark is generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund’s performance. The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements. For additional information about these benchmark indices, please see “Additional Performance and Benchmark Information” on page 45 of the Prospectus. Through June 17, 2024, the Fund had been known as the Goldman Sachs Strategic Income Fund, and certain of its strategies differed. Performance information set forth below reflects the Fund’s former strategies prior to that date. 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. Performance reflects applicable fee waivers and/or expense limitations in effect during the periods shown.
Performance Past Does Not Indicate Future [Text] <span style="font-family:Times New Roman;font-size:9pt;">The Fund’s past performance, before and after taxes, is not necessarily an </span><span style="font-family:Times New Roman;font-size:9pt;">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 Institutional Shares from year to year; and (b) how the average annual total returns of the Fund’s Class A, Class C, Institutional, Investor, Class R and Class R6 Shares compare to those of a regulatorily required broad-based securities market index (Bloomberg U.S. Aggregate Bond Index) (the “Regulatory Benchmark”) and the ICE BofAML Three-Month U.S. Treasury Bill Index (the “Performance Benchmark”).</span>
Performance Additional Market Index [Text] <span style="color:#000000;font-family:Times New Roman;font-size:9pt;">The Performance Benchmark is generally more representative of the market sectors and/or types of investments in which the Fund invests or to which the Fund has exposure and which the Investment Adviser uses to measure the Fund’s </span><span style="font-family:Times New Roman;font-size:9pt;">performance. The Fund has included in the table below the performance of the Regulatory Benchmark, which represents a broader measure of market performance, to comply with regulatory requirements.</span>
Bar Chart [Heading] <span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;">CALENDAR YEAR (INSTITUTIONAL)</span>
Bar Chart Closing [Text Block] ReturnsQuarter endedYear-to-Date Return1.89%June 30, 2026During the periods shown in the chart above:ReturnsQuarter endedBest Quarter Return9.59%June 30, 2020Worst Quarter Return-7.53%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, Investor and Class R6 Shares, 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 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, Investor and Class R6 Shares, 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="font-family:Times New Roman;font-size:9pt;">am.gs.com</span>
Institutional Shares  
Prospectus [Line Items]  
Year to Date Return, Label [Optional Text] <span style="font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;">Year-to-Date Return</span>
Bar Chart, Year to Date Return 1.89%
Bar Chart, Year to Date Return, Date Jun. 30, 2026
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 9.59%
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 (7.53%)
Lowest Quarterly Return, Date Mar. 31, 2020