v3.26.1
Goldman Sachs Energy Infrastructure Fund Investment Objectives and Goals - Class A C Inst Inv R R6 Shares [Member] - Goldman Sachs Energy Infrastructure Fund
Nov. 30, 2025
Prospectus [Line Items]  
Risk/Return [Heading] <span style="color:#000000;font-family:Times New Roman;font-size:12pt;font-weight:bold;">Goldman Sachs Energy Infrastructure Fund—Summary</span>
Objective [Heading] <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] The Goldman Sachs Energy Infrastructure Fund (the “Fund”) seeks total return through current income and capital appreciation.