v3.26.1
Fees and Expenses - T. Rowe Price Government Money Fund, Inc.
Jul. 27, 2026
Prospectus [Line Items]  
Expense Heading [Optional Text] Fees and Expenses
Expense Narrative [Text Block]

This table describes the fees and expenses that you may pay if you buy, hold, and sell shares of the fund. You may also incur brokerage commissions and other charges when buying or selling shares of the fund, which are not reflected in the table or example below.

 

Shareholder Fees Caption [Optional Text] Shareholder fees (fees paid directly from your investment)
Shareholder Fees [Table]
Fees and Expenses of the Fund          
  Investor
Class
I
Class
 
Shareholder fees (fees paid directly from your investment)  
Maximum account fee $20 a    
Operating Expenses Caption [Optional Text] Annual fund operating expenses (expenses that you pay each year as a percentage of the value of your investment)
Annual Fund Operating Expenses [Table]

         
Management fees  0.18 %  0.18 %  
             
Other expenses  0.15    0.03    
             
             
             
Total annual fund operating expenses  0.33    0.21    
Expense Footnotes [Text Block]

 

a Subject to certain exceptions and account minimums, accounts are charged an annual $20 fee.

 

Expense Example [Heading] Example
Expense Example Narrative [Text Block]

This example is intended to help you compare the cost of investing in the fund with the cost of investing in other mutual funds. The example assumes that you invest $10,000 in the fund for the time periods indicated and then redeem all of your shares at the end of those periods, that your investment has a 5% return each year, and that the fund’s operating expenses remain the same. Although your actual costs may be higher or lower, based on these assumptions your costs would be:

Expense Example, With Redemption [Table]
  1 Year 3 Years 5 Years 10 Years  
 Investor Class $ 34 $ 106 $ 185 $ 418  
 I Class   22   68   118   268