CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We hereby consent to the incorporation by reference in this Registration Statement on Form N-1A of T. Rowe Price U.S. Treasury Funds, Inc. of our report dated July 20, 2022, relating to the financial statements and financial highlights, which appear in T. Rowe Price U.S. Treasury Intermediate Index Fund, T. Rowe Price U.S. Treasury Long-Term Index Fund, and T. Rowe Price U.S. Treasury Money Fund’s (constituting T. Rowe Price U.S. Treasury Funds, Inc.) Annual Report on Form N-CSR for the year ended May 31, 2022. We also consent to the references to us under the headings “Financial Highlights”, “Independent Registered Public Accounting Firm”, and “Fund Service Providers” in such Registration Statement.
/s/PricewaterhouseCoopers LLP
PricewaterhouseCoopers LLP
Baltimore,
Maryland
September 29. 2022