v3.26.1
Average Annual Total Returns
12 Months Ended 60 Months Ended 104 Months Ended 120 Months Ended 481 Months Ended
Dec. 31, 2025
Dec. 31, 2025
Dec. 31, 2025
Dec. 31, 2025
[2]
Dec. 31, 2025
Dec. 31, 2025
Bloomberg U.S. Aggregate Bond Index (reflects no deduction for fees, expenses, or taxes)            
Prospectus [Line Items]            
Average Annual Return, Percent 7.30% (0.36%) 1.83% [1]   2.01%  
Bloomberg U.S. GNMA Index (reflects no deduction for fees, expenses, or taxes)            
Prospectus [Line Items]            
Average Annual Return, Percent 8.08% 0.23% 1.46% [1]   1.50%  
Lipper GNMA Funds Average            
Prospectus [Line Items]            
Average Annual Return, Percent 7.19% 0.05%   1.14% 1.18%  
T. Rowe Price GNMA Fund-Investor Class            
Prospectus [Line Items]            
Average Annual Return, Percent 7.34% (0.17%)     1.18%
Performance Inception Date           Nov. 26, 1985
T. Rowe Price GNMA Fund-Investor Class | After Taxes on Distributions            
Prospectus [Line Items]            
Average Annual Return, Percent 5.71% (1.21%)     0.13%
T. Rowe Price GNMA Fund-Investor Class | After Taxes on Distributions and Sales            
Prospectus [Line Items]            
Average Annual Return, Percent 4.32% (0.58%)     0.44%
T. Rowe Price GNMA Fund-I Class            
Prospectus [Line Items]            
Average Annual Return, Percent 7.70% 0.02% 1.25%    
Performance Inception Date     May 03, 2017      
[1] Return since 5/3/17.
[2] Return since 4/30/17.