v3.26.1
Goldman Sachs Energy Infrastructure Fund Annual Fund Operating Expenses - Class P Shares [Member] - Goldman Sachs Energy Infrastructure Fund
Nov. 30, 2025
Prospectus [Line Items]  
Fee Waiver or Reimbursement over Assets, Date of Termination <span style="font-family:Times New Roman;font-size:7.5pt;font-style:italic;">March 30, 2027</span>
Class P Shares  
Prospectus [Line Items]  
Management Fees (as a percentage of Assets) 1.00%
Other Expenses (as a percentage of Assets): 0.16%
Expenses (as a percentage of Assets) 1.16%
Fee Waiver or Reimbursement (0.07%) [1]
Net Expenses (as a percentage of Assets) 1.09%
[1] The Investment Adviser has agreed to (i) waive a portion of its management fee payable by the Fund in an amount equal to any management fees it earns as an investment adviser to any affiliated funds in which the Fund invests, except those management fees it earns from the Fund’s investments of cash collateral received in connection with securities lending transactions in affiliated funds; and (ii) reduce or limit “Other Expenses” (excluding acquired fund fees and expenses, transfer agency fees and expenses, taxes, interest, brokerage fees, expenses of shareholder meetings, litigation and indemnification, and extraordinary expenses) to 0.064% of the Fund’s average daily net assets. These arrangements will remain in effect through at least March 30, 2027, and prior to such date the Investment Adviser may not terminate the arrangements without the approval of the Board of Trustees.