Goldman Sachs US Mortgages Fund Average Annual Total Returns - Class P Shares [Member] |
12 Months Ended | 60 Months Ended | 73 Months Ended | 92 Months Ended | |||
|---|---|---|---|---|---|---|---|
Mar. 31, 2026 |
Dec. 31, 2025 |
Dec. 31, 2025 |
Dec. 31, 2025 |
Dec. 31, 2025 |
Dec. 31, 2025 |
Dec. 31, 2025 |
|
| Bloomberg U.S. Securitized Bond Index[Member] | |||||||
| Prospectus [Line Items] | |||||||
| Average Annual Return, Percent | 8.49% | 0.22% | 1.86% | ||||
| Bloomberg U.S. Aggregate Bond Index[Member] | |||||||
| Prospectus [Line Items] | |||||||
| Average Annual Return, Percent | 7.30% | (0.36%) | 0.83% | 2.11% | 2.11% | 2.11% | |
| Class P Shares | |||||||
| Prospectus [Line Items] | |||||||
| Average Annual Return, Percent | 8.31% | (0.08%) | 1.80% | ||||
| Performance Inception Date | Apr. 20, 2018 | ||||||
| Class P Shares | After Taxes on Distributions | |||||||
| Prospectus [Line Items] | |||||||
| Average Annual Return, Percent | 6.53% | (1.38%) | 0.50% | ||||
| Class P Shares | After Taxes on Distributions and Sales | |||||||
| Prospectus [Line Items] | |||||||
| Average Annual Return, Percent | 4.88% | (0.63%) | 0.82% | ||||