Exhibit (j)
Consent of Independent Registered Public Accounting Firm
We consent to the references to our firm under the captions “Financial Highlights” in the Prospectus and “Other Service Providers -- Custodian and Independent Registered Public Accounting Firm” and “Financial Statements” in the Statement of Additional Information, each dated May 29, 2026, and each included in this Post-Effective Amendment No. 63 to the Registration Statement (Form N-1A, File No. 2-74980) of Morgan Stanley U.S. Government Money Market Trust (the “Registration Statement”).
We also consent to the incorporation by reference of our report dated March 24, 2026, with respect to the financial statements and financial highlights of Morgan Stanley U.S. Government Money Market Trust included in the Annual Report (Form N-CSR) for the year ended January 31, 2026, into this Registration Statement, filed with the Securities and Exchange Commission.
/s/ Ernst & Young LLP
Boston, Massachusetts
May 29, 2026