v3.26.1
Goldman Sachs MLP Energy Infrastructure Fund Annual Total Returns
12 Months Ended
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2023
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Class P Shares [Member] | Goldman Sachs MLP Energy Infrastructure Fund | Class P Shares              
Prospectus [Line Items]              
Annual Return [Percent] 4.58% 28.02% 19.83% 26.17% 40.26% (30.99%) 7.31%