v3.26.1
Investment Risks - T. Rowe Price Government Money Fund, Inc.
Jul. 27, 2026
Stable net asset value [Member]  
Prospectus [Line Items]  
Risk [Text Block]

Stable net asset value: The fund may not be able to maintain a stable $1.00 share price at all times. The fund’s shareholders should not rely on or expect the fund or an affiliate to purchase distressed assets from the fund, enter into capital support agreements with the fund, make capital infusions into the fund, or take other actions to help the fund maintain a stable $1.00 share price.

Interest rates [Member]  
Prospectus [Line Items]  
Risk [Text Block]

Interest rates: A decline in interest rates may lower the fund’s yield, or a rise in the overall level of interest rates may cause a decline in the prices of fixed income securities held by the fund.

The fund’s yield will vary; it is not fixed for a specific period like the yield on a bank certificate of deposit. This is a disadvantage when interest rates are falling because the fund would have to reinvest proceeds of maturing securities at lower interest rates. During periods of extremely low short-term interest rates, the fund may not be able to maintain a positive yield. An elevated inflation environment may heighten risks associated with rising interest rates.

Repurchase Agreements [Member]  
Prospectus [Line Items]  
Risk [Text Block]

Repurchase agreements: A counterparty to a repurchase agreement may become insolvent or fail to repurchase securities from the fund as required, which could increase the fund’s costs or prevent the fund from immediately accessing its collateral.

Redemptions [Member]  
Prospectus [Line Items]  
Risk [Text Block]

Redemptions: The fund may be subject to periods of increased redemptions that could cause the fund to sell its assets at disadvantageous times or at a depressed value or loss, particularly during periods of declining or illiquid markets, and that could affect the fund’s ability to maintain a stable $1.00 share price.

Liquidity [Member]  
Prospectus [Line Items]  
Risk [Text Block]

Liquidity: The fund may not be able to sell a holding in a timely manner at its current carrying value. Periods of reduced liquidity in money markets could require the fund to liquidate its assets at inopportune times or at a depressed value, cause the fund to be unable to meet redemption requests without dilution of the remaining shareholders’ interests in the fund, and potentially affect the fund’s ability to maintain a $1.00 share price.

Credit quality [Member]  
Prospectus [Line Items]  
Risk [Text Block]

Credit quality: An issuer of a debt instrument or a provider of credit support could suffer an adverse change in financial condition that results in a payment default (failure to make scheduled interest or principal payments), a rating downgrade, or an inability to meet a financial obligation. Although the fund only purchases securities that present minimal credit risk in the opinion of T. Rowe Price, the credit quality of the fund’s holdings could change rapidly during periods of market stress.

Market conditions [Member]  
Prospectus [Line Items]  
Risk [Text Block]

Market conditions: The value of the fund’s investments may decrease, sometimes rapidly or unexpectedly, due to factors affecting an issuer held by the fund, particular industries, or the overall securities markets. A variety of factors can increase the volatility of the fund’s holdings and markets generally, including geopolitical developments (such as trade and tariff arrangements, sanctions, and cybersecurity attacks), recessions, inflation, rapid interest rate changes, war, military conflict, acts of terrorism, natural disasters, and outbreaks of infectious illnesses or other widespread public health issues (such as pandemics) and related governmental and public responses. Certain events may cause instability across global markets, including reduced liquidity and disruptions in trading markets, while some events may affect certain geographic regions, countries, sectors, and industries more significantly than others. Government intervention in markets may impact interest rates, market volatility, and security pricing. These adverse developments may cause broad declines in market value due to short-term market movements or for significantly longer periods during more prolonged market downturns.

Cybersecurity breaches [Member]  
Prospectus [Line Items]  
Risk [Text Block]

Cybersecurity breaches: The fund could be harmed by intentional cyberattacks and other cybersecurity breaches, including unauthorized access to the fund’s assets, confidential information, or other proprietary information. In addition, a cybersecurity breach could cause one of the fund’s service providers or financial intermediaries to suffer unauthorized data access, data corruption, or loss of operational functionality. A cybersecurity breach could result in a loss for the fund or affect its ability to operate as intended either temporarily or for an extended period, which may include limits on the ability to obtain pricing information for the fund’s investments, calculate its net asset value, and satisfy redemptions.

Risk Lose Money [Member]  
Prospectus [Line Items]  
Risk [Text Block] You could lose money by investing in the fund.
Risk Not Insured [Member]  
Prospectus [Line Items]  
Risk [Text Block] An investment in the fund is not a bank account and is not insured or guaranteed by the Federal Deposit Insurance Corporation or any other government agency.