v3.26.1
Goldman Sachs US Mortgages Fund Fees and Expenses - Class A Inst Inv Separate Account Inst R6 Shares [Member] - Goldman Sachs US Mortgages Fund
Mar. 31, 2026
USD ($)
Prospectus [Line Items]  
Expense Heading [Optional Text] <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;">Fees and Expenses of the Fund</span>
Expense Narrative [Text Block] This table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and Example below. You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $100,000 in Goldman Sachs Funds. More information about these and other discounts is available from your financial professional and in “Shareholder Guide—Common Questions Applicable to the Purchase of Class A Shares” beginning on page 67 and in Appendix C—Additional Information About Sales Charge Variations, Waivers and Discounts on page 130 of the Prospectus and “Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends” beginning on page B-186 of the Fund’s Statement of Additional Information (“SAI”).
Expense Breakpoint Discounts [Text] <span style="font-family:Times New Roman;font-size:9pt;">You may qualify for sales charge discounts on purchases of Class A Shares if you invest at least $</span><span style="font-family:Times New Roman;font-size:9pt;">100,000</span><span style="font-family:Times New Roman;font-size:9pt;"> in Goldman Sachs Funds. </span><span style="font-family:Times New Roman;font-size:9pt;">More information about these and other discounts is available from your financial professional and in “Shareholder Guide—Common Questions Applicable to the Purchase of Class A Shares” beginning on page 67 and in Appendix C—Additional Information About Sales Charge Variations, Waivers and Discounts on page 130 of the Prospectus and “Other Information Regarding Maximum Sales Charge, Purchases, Redemptions, Exchanges and Dividends” beginning on page B-186 of the Fund’s Statement of Additional Information (“SAI”).</span>
Expenses Restated to Reflect Current [Text] <span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">The “Other Expenses” have been restated to reflect expenses expected to be incurred during the current fiscal year.</span>
Expense Breakpoint, Minimum Investment Required [Amount] $ 100,000
Shareholder Fees Caption [Optional Text] <span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;">Shareholder Fees </span><span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;">(fees paid directly from your investment)</span>
Operating Expenses Caption [Optional Text] <span style="color:#000000;font-family:Arial;font-size:9pt;font-weight:bold;">Annual Fund Operating Expenses </span><span style="color:#000000;font-family:Arial;font-size:7pt;font-weight:bold;">(expenses that you pay each year as a percentage of the value of your investment)</span>
Expense Example [Heading] <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;">Expense Example</span>
Expense Example Narrative [Text Block] This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The Example assumes that you invest $10,000 in Class A, Institutional, Service, Investor, Separate Account Institutional, Class R and/or Class R6 Shares of the Fund for the time periods indicated and then redeem all of your Class A, Institutional, Service, Investor, Separate Account Institutional, Class R and/or Class R6 Shares at the end of those periods. The Example also assumes that your investment has a 5% return each year and that the Fund’s operating expenses remain the same (except that the Example incorporates any applicable fee waiver and/or expense limitation arrangements for only the first year). Although your actual costs may be higher or lower, based on these assumptions your costs would be:
Portfolio Turnover [Heading] <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;">Portfolio Turnover</span>
Portfolio Turnover [Text Block] The Fund pays transaction costs when it buys and sells securities or instruments (i.e., “turns over” its portfolio). A high rate of portfolio turnover may result in increased transaction costs, which must be borne by the Fund and its shareholders, and is also likely to result in higher short-term capital gains for taxable shareholders. These costs are not reflected in the annual fund operating expenses or in the expense example above, but are reflected in the Fund’s performance. The Fund’s portfolio turnover rate for the fiscal year ended March 31, 2026 was 1219% of the average value of its portfolio.
Portfolio Turnover, Rate 1219.00%