| Label | Element | Value | ||
|---|---|---|---|---|
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Registrant Name | dei_EntityRegistrantName | GOLDMAN SACHS TRUST | ||
| Prospectus Date | rr_ProspectusDate | Mar. 30, 2025 | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk/Return [Heading] | rr_RiskReturnHeading | <span style="font-family:Times New Roman;font-size:12pt;font-weight:bold;">Goldman</span><span style="font-family:Times New Roman;font-size:12pt;font-weight:bold;line-height:14pt;"> </span><span style="font-family:Times New Roman;font-size:12pt;font-weight:bold;">Sachs Investor Money Market Fund—Summary</span> | ||
| Objective [Heading] | rr_ObjectiveHeading | <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;">Investment Objective</span> | ||
| Objective, Primary [Text Block] | rr_ObjectivePrimaryTextBlock | The Goldman Sachs Investor Money Market Fund (the “Fund”) seeks to maximize current income to the extent consistent with the preservation of capital and the maintenance of liquidity by investing exclusively in high quality money market instruments. | ||
| Expense [Heading] | rr_ExpenseHeading | <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] | rr_ExpenseNarrativeTextBlock | 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. | ||
| Shareholder Fees Caption [Text] | rr_ShareholderFeesCaption | <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 [Text] | rr_OperatingExpensesCaption | <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> | ||
| Fee Waiver or Reimbursement over Assets, Date of Termination | rr_FeeWaiverOrReimbursementOverAssetsDateOfTermination | <span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2026</span> | ||
| Expense Example [Heading] | rr_ExpenseExampleHeading | <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] | rr_ExpenseExampleNarrativeTextBlock | 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 Cash Management Shares of the Fund for the time periods indicated and then redeem all of your Cash Management 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: | ||
| Strategy [Heading] | rr_StrategyHeading | <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;">Principal Strategy</span> | ||
| Strategy Narrative [Text Block] | rr_StrategyNarrativeTextBlock | The Fund pursues its investment objective by investing in securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities (“U.S. Government Securities”), obligations of banks (which may exceed 25% of its total assets), commercial paper and other short-term obligations of U.S. companies, states, municipalities and other entities, and repurchase agreements. The Fund may also invest in U.S. dollar-denominated obligations of foreign banks, foreign companies and foreign governments. The Fund may not invest more than 25% of its total assets in the securities of any one foreign government. The Fund intends to be a “retail money market fund,” as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (the “Investment Company Act”). “Retail money market funds” are money market funds that have policies and procedures reasonably designed to limit all beneficial owners of the fund to natural persons. As a “retail money market fund,” the Fund values its securities using the amortized cost method. The Fund seeks to maintain a stable net asset value (“NAV”) of $1.00 per share. Under Rule 2a-7, the Fund may invest only in U.S. dollar-denominated securities that meet certain risk-limiting conditions relating to portfolio quality, maturity, diversification and liquidity. | ||
| Risk [Heading] | rr_RiskHeading | <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;">Principal Risks of the Fund</span> | ||
| Bar Chart and Performance Table [Heading] | rr_BarChartAndPerformanceTableHeading | <span style="color:#FFFFFF;font-family:Arial;font-size:7.5pt;margin-left:0.0pt;text-transform:uppercase;">Performance</span> | ||
| Performance Narrative [Text Block] | rr_PerformanceNarrativeTextBlock | 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 Cash Management Shares from year to year; and (b) the average annual total returns of the Fund’s Cash Management Shares.The Fund’s past performance is not necessarily an indication of how the Fund will perform in the future. Performance reflects fee waivers and/or expense limitations in effect during the periods shown. Updated performance information is available at no cost at am.gs.comor by calling 1-800-621-2550. | ||
| Performance Information Illustrates Variability of Returns [Text] | rr_PerformanceInformationIllustratesVariabilityOfReturns | <span style="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 Cash Management Shares from year to year; and (b) the average annual total returns of the Fund’s Cash Management Shares.</span> | ||
| Performance Availability Phone [Text] | rr_PerformanceAvailabilityPhone | <span style="font-family:Times New Roman;font-size:9pt;">1-800-621-2550</span> | ||
| Performance Availability Website Address [Text] | rr_PerformanceAvailabilityWebSiteAddress | <span style="font-family:Times New Roman;font-size:9pt;">am.gs.com</span> | ||
| Performance Past Does Not Indicate Future [Text] | rr_PerformancePastDoesNotIndicateFuture | <span style="font-family:Times New Roman;font-size:9pt;">The Fund’s past performance is not necessarily an indication of how the Fund will perform in the future.</span> | ||
| Bar Chart [Heading] | rr_BarChartHeading | <span style="font-family:Arial;font-size:9pt;font-weight:bold;margin-left:24%;">CALENDAR YEAR</span> | ||
| Bar Chart Closing [Text Block] | rr_BarChartClosingTextBlock | During the periods shown in the chart above:ReturnsQuarter endedBest Quarter Return1.16%December 31, 2023Worst Quarter Return0.00%March 31, 2022 | ||
| Performance Table Heading | rr_PerformanceTableHeading | <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, 2024</span> | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Risk Lose Money [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | You could lose money by investing in the Fund. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Risk Money Market Fund May Impose Fees or Suspend Sales [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | The Fund may impose a fee upon the sale of your shares or may temporarily suspend your ability to sell shares if the Fund’s liquidity falls below required minimums because of market conditions or other factors. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Risk Money Market Fund May Not Preserve Dollar [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Risk Money Market Fund Sponsor May Not Provide Support [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | The Fund’s sponsor is not required to reimburse the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Risk Not Insured Depository Institution [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | An investment in the Fund is not a bank account or a deposit of a bank and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Banking Industry Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Banking Industry Risk. An adverse development in the banking industry (domestic or foreign) may affect the value of the Fund’s investments more than if the Fund were not invested to such a degree in the banking industry. Banks may be particularly susceptible to certain economic factors such as interest rate changes, adverse developments in the real estate market, fiscal, regulatory and monetary policy and general economic cycles. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Credit Default Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Credit/Default Risk. An issuer or guarantor of a security held by the Fund, or a bank or other financial institution that has entered into a repurchase agreement with the Fund, may default on its obligation to pay interest and repay principal or default on any other obligation. Additionally, the credit quality of securities and counterparties may deteriorate rapidly, which may impair the Fund’s liquidity and cause significant deterioration in NAV. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Foreign Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Foreign Risk. Foreign securities may be subject to risk of loss because of more or less foreign government regulation; less public information; less stringent investor protections; less stringent accounting, corporate governance, financial reporting and disclosure standards; and less economic, political and social stability in the countries in which the Fund invests. The imposition of sanctions, confiscations, trade restrictions (including tariffs) and other government restrictions by the United States and other governments, or from problems in share registration, settlement or custody, may also result in losses. In addition, the Fund will be subject to the risk that an issuer of foreign sovereign debt or the government authorities that control the repayment of the debt may be unable or unwilling to repay the principal or interest when due. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Interest Rate Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Interest Rate Risk. When interest rates increase, the Fund’s yield will tend to be lower than prevailing market rates, and the market value of its investments will generally decline. The Fund may face a heightened level of interest rate risk in connection with the type and extent of certain monetary policy changes made by the Federal Reserve, such as target interest rate changes. Changing interest rates may have unpredictable effects on the markets, may result in heightened market volatility and may detract from Fund performance. A low interest rate environment poses additional risks to the Fund, because low yields on the Fund’s portfolio holdings may have an adverse impact on the Fund’s ability to provide a positive yield to its shareholders, pay expenses out of current income, or, at times, maintain a stable $1.00 share price and/or achieve its investment objective. Fluctuations in interest rates may also affect the liquidity of the Fund’s investments. A sudden or unpredictable increase in interest rates may cause volatility in the market and may decrease the liquidity of the Fund's investments, which would make it harder for the Fund to sell its investments at an advantageous time. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Large Shareholder Transactions Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Large Shareholder Transactions Risk. The Fund may experience adverse effects when certain large shareholders (including financial intermediaries who may make investment decisions on behalf of underlying clients) purchase or redeem large amounts of shares of the Fund. Such large shareholder redemptions, which may occur rapidly or unexpectedly, may cause the Fund to sell portfolio securities at times when it would not otherwise do so, which may negatively impact the Fund's NAV and liquidity. Similarly, large Fund share purchases may adversely affect the Fund's performance to the extent that the Fund is delayed in investing new cash or otherwise maintains a larger cash position than it ordinarily would. These transactions may also accelerate the realization of taxable income to shareholders if such sales of investments resulted in gains, and may also increase transaction costs. In addition, a large redemption could result in the Fund's current expenses being allocated over a smaller asset base, leading to an increase in the Fund's expense ratio. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Liquidity Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Liquidity Risk. The Fund may make investments that are illiquid or that may become less liquid in response to market developments or adverse investor perceptions. Illiquid investments may be more difficult to value. The liquidity of portfolio securities can deteriorate rapidly due to credit events affecting issuers or guarantors, such as a credit rating downgrade, or due to general market conditions or a lack of willing buyers. An inability to sell one or more portfolio positions, or selling such positions at an unfavorable time and/or under unfavorable conditions, can adversely affect the Fund’s ability to maintain a stable $1.00 share price. Liquidity risk may also refer to the risk that the Fund will not be able to pay redemption proceeds within the allowable time period because of unusual market conditions, declining prices of the securities sold, an unusually high volume of redemption requests, or other reasons. Liquidity risk may be the result of, among other things, the reduced number and capacity of traditional market participants to make a market in fixed income securities or the lack of an active market. The potential for liquidity risk may be magnified by a rising interest rate environment or other circumstances where investor redemptions from money market and other fixed income mutual funds may be higher than normal, potentially causing increased supply in the market due to selling activity. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Market Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Market Risk. The value of the securities in which the Fund invests may go up or down in response to the prospects of individual companies, particular sectors, governments or countries and/or general economic conditions throughout the world due to increasingly interconnected global economies and financial markets. Events such as war, military conflict, geopolitical disputes, acts of terrorism, social or political unrest, natural disasters, recessions, inflation, rapid interest rate changes, supply chain disruptions, tariffs and other restrictions on trade, sanctions or the spread of infectious illness or other public health threats, or the threat or potential of one or more such events and developments, could also significantly impact the Fund and its investments. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Municipal Securities Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Municipal Securities Risk. Municipal securities are subject to credit/default risk, interest rate risk and certain additional risks. The Fund may be more sensitive to adverse economic, business or political developments if it invests a substantial portion of its assets in the debt securities of similar projects (such as those relating to education, health care, housing, transportation, and utilities), industrial development bonds, or in particular types of municipal securities (such as general obligation bonds, private activity bonds and moral obligation bonds). The Fund may also invest in municipal securities indirectly (including by investing in tender option bonds). While interest earned on municipal securities is generally not subject to federal tax, any interest earned on taxable municipal securities is fully taxable at the federal level and may be subject to tax at the state level. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Stable NAV Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | Stable NAV Risk. The Fund may not be able to maintain a stable $1.00 share price at all times. If any money market fund that intends to maintain a stable NAV fails to do so (or if there is a perceived threat of such a failure), other such money market funds, including the Fund, could be subject to increased redemption activity, which could adversely affect the Fund’s NAV. Shareholders of the Fund should not rely on or expect the Investment Adviser or an affiliate to purchase distressed assets from the Fund, make capital infusions into the Fund, enter into capital support agreements with the Fund or take other actions to help the Fund maintain a stable $1.00 share price. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | US Government Securities Risk [Member] | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Risk [Text Block] | rr_RiskTextBlock | U.S. Government Securities Risk. The U.S. government may not provide financial support to U.S. government agencies, instrumentalities or sponsored enterprises if it is not obligated to do so by law. Certain U.S. Government Securities, including securities issued by the Federal National Mortgage Association (“Fannie Mae”), Federal Home Loan Mortgage Corporation (“Freddie Mac”) and the Federal Home Loan Banks, are neither issued nor guaranteed by the U.S. Treasury and, therefore, are not backed by the full faith and credit of the United States. The maximum potential liability of the issuers of some U.S. Government Securities held by the Fund may greatly exceed their current resources, including any legal right to support from the U.S. Treasury. It is possible that issuers of U.S. Government Securities will not have the funds to meet their payment obligations in the future. | ||
| Cash Management Shares | Goldman Sachs Investor Money Market Fund | Cash Management Shares | ||||
| Risk Return Abstract | rr_RiskReturnAbstract | |||
| Maximum Sales Charge (Load) Imposed on Purchases | rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice | none | ||
| Maximum Deferred Sales Charge (Load) | rr_MaximumDeferredSalesChargeOverOther | none | ||
| Maximum Sales Charge (Load) Imposed on Reinvested Dividends | rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther | none | ||
| Redemption Fees | rr_RedemptionFeeOverRedemption | none | ||
| Exchange Fees | rr_ExchangeFeeOverRedemption | none | ||
| Management Fees | rr_ManagementFeesOverAssets | 0.16% | ||
| Distribution (12b-1) Fees | rr_DistributionAndService12b1FeesOverAssets | 0.30% | ||
| Component2 Other Expenses | rr_Component2OtherExpensesOverAssets | 0.50% | ||
| All Other Expenses | rr_Component3OtherExpensesOverAssets | 0.03% | ||
| Other Expenses | rr_OtherExpensesOverAssets | 0.53% | ||
| Total Annual Fund Operating Expenses | rr_ExpensesOverAssets | 0.99% | ||
| Expense Limitation | rr_FeeWaiverOrReimbursementOverAssets | (0.01%) | [1] | |
| Total Annual Fund Operating Expenses After Expense Limitation | rr_NetExpensesOverAssets | 0.98% | ||
| 1 Year | rr_ExpenseExampleYear01 | $ 100 | ||
| 3 Years | rr_ExpenseExampleYear03 | 314 | ||
| 5 Years | rr_ExpenseExampleYear05 | 546 | ||
| 10 Years | rr_ExpenseExampleYear10 | $ 1,212 | ||
| 2017 | rr_AnnualReturn2017 | 0.25% | ||
| 2018 | rr_AnnualReturn2018 | 1.15% | ||
| 2019 | rr_AnnualReturn2019 | 1.47% | ||
| 2020 | rr_AnnualReturn2020 | 0.21% | ||
| 2021 | rr_AnnualReturn2021 | 0.03% | ||
| 2022 | rr_AnnualReturn2022 | 1.12% | ||
| 2023 | rr_AnnualReturn2023 | 4.33% | ||
| 2024 | rr_AnnualReturn2024 | 4.43% | ||
| Highest Quarterly Return, Label | rr_HighestQuarterlyReturnLabel | <span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;">Best Quarter Return</span> | ||
| Highest Quarterly Return, Date | rr_BarChartHighestQuarterlyReturnDate | Dec. 31, 2023 | ||
| Highest Quarterly Return | rr_BarChartHighestQuarterlyReturn | 1.16% | ||
| Lowest Quarterly Return, Label | rr_LowestQuarterlyReturnLabel | <span style="color:#000000;font-family:Arial Narrow;font-size:7.5pt;margin-left:0.0pt;">Worst Quarter Return</span> | ||
| Lowest Quarterly Return, Date | rr_BarChartLowestQuarterlyReturnDate | Mar. 31, 2022 | ||
| Lowest Quarterly Return | rr_BarChartLowestQuarterlyReturn | none | ||
| 1 Year | rr_AverageAnnualReturnYear01 | 4.43% | ||
| 5 Years | rr_AverageAnnualReturnYear05 | 2.01% | ||
| Since Inception | rr_AverageAnnualReturnSinceInception | 1.51% | ||
| Inception Date | rr_AverageAnnualReturnInceptionDate | May 31, 2016 | ||
| ||||