v3.26.1
Goldman Sachs MLP Energy Infrastructure Fund Investment Objectives and Goals - Class P Shares [Member] - Goldman Sachs MLP 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 MLP 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 MLP Energy Infrastructure Fund (the “Fund”) seeks total return through current income and capital appreciation.