v3.26.1
Goldman Sachs Financial Square Treasury Instruments Fund Fees and Expenses - Service Shares [Member] - Goldman Sachs Financial Square Treasury Instruments Fund
Nov. 30, 2025
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.
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>
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 Service Shares of the Fund for the time periods indicated and then redeem all of your Service 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: