v3.26.3
Shareholder Report
6 Months Ended
Jul. 31, 2026
USD ($)
Holding
Shareholder Report [Line Items]  
Document Type N-CSRS
Amendment Flag false
Registrant Name Morgan Stanley U.S. Government Money Market Trust
Entity Central Index Key 0000356409
Entity Investment Company Type N-1A
Document Period End Date Jul. 31, 2026
Shareholder Report Annual or Semi-Annual Semi-Annual Shareholder Report
C000011343  
Shareholder Report [Line Items]  
Fund Name Morgan Stanley U.S. Government Money Market Trust
Class Name Class R
Trading Symbol DWGXX
Annual or Semi-Annual Statement [Text Block] This semi-annual shareholder report contains important information about Morgan Stanley U.S. Government Money Market Trust for the period of February 1, 2026 to July 31, 2026.
Additional Information [Text Block] You can find additional information about the Fund at www.morganstanley.com/im/shareholderreports. You can also request this information by contacting us at 1-800-869-6397.
Additional Information Phone Number 1-800-869-6397
Additional Information Website <span style="box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 10.6667px; font-weight: 400; grid-area: auto; line-height: 16px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: preserve-breaks;">www.morganstanley.com/im/shareholderreports</span>
Expenses [Text Block]

What were the Fund costs for the last six months?

(based on a hypothetical $10,000 investment)

Table Summary
Class Name
Costs of a $10,000 investment
Costs paid as a percentage of a $10,000 investment
Class R
$18
0.35%Footnote Reference1
FootnoteDescription
Footnote1
Annualized
Expenses Paid, Amount $ 18
Expense Ratio, Percent 0.35% [1]
AssetsNet $ 1,163,417,113
Holdings Count | Holding 180
Additional Fund Statistics [Text Block]

Key Fund Statistics

Table Summary
Total Net Assets
$1,163,417,113
# of Portfolio Holdings
180
Holdings [Text Block]

Asset Allocation (% of total investments)

Credit Rating Chart
Table Summary
Value
Value
U.S. Agency Securities
21.5%
U.S. Treasury Securities
24.6%
Repurchase Agreements
53.9%

Maturity Schedule (% of total investments)

Group By Asset Type Chart
Table Summary
Value
Value
121 + Days
29.5%
91 - 120 Days
3.9%
61 - 90 Days
4.1%
31 - 60 Days
6.4%
1 - 30 Days
56.1%
Material Fund Change [Text Block]
Updated Prospectus Web Address <span style="box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 10.6667px; font-weight: 400; grid-area: auto; line-height: 16px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: preserve-breaks;">www.morganstanley.com/im/shareholderreports</span>
C000171230  
Shareholder Report [Line Items]  
Fund Name Morgan Stanley U.S. Government Money Market Trust
Class Name Class S
Trading Symbol DGEXX
Annual or Semi-Annual Statement [Text Block] This semi-annual shareholder report contains important information about Morgan Stanley U.S. Government Money Market Trust for the period of February 1, 2026 to July 31, 2026.
Additional Information [Text Block] You can find additional information about the Fund at www.morganstanley.com/im/shareholderreports. You can also request this information by contacting us at 1-800-869-6397.
Additional Information Phone Number 1-800-869-6397
Additional Information Website <span style="box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 10.6667px; font-weight: 400; grid-area: auto; line-height: 16px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: preserve-breaks;">www.morganstanley.com/im/shareholderreports</span>
Expenses [Text Block]

What were the Fund costs for the last six months?

(based on a hypothetical $10,000 investment)

Table Summary
Class Name
Costs of a $10,000 investment
Costs paid as a percentage of a $10,000 investment
Class S
$18
0.35%Footnote Reference1
FootnoteDescription
Footnote1
Annualized
Expenses Paid, Amount $ 18
Expense Ratio, Percent 0.35% [2]
AssetsNet $ 1,163,417,113
Holdings Count | Holding 180
Additional Fund Statistics [Text Block]

Key Fund Statistics

Table Summary
Total Net Assets
$1,163,417,113
# of Portfolio Holdings
180
Holdings [Text Block]

Asset Allocation (% of total investments)

Credit Rating Chart
Table Summary
Value
Value
U.S. Agency Securities
21.5%
U.S. Treasury Securities
24.6%
Repurchase Agreements
53.9%

Maturity Schedule (% of total investments)

Group By Asset Type Chart
Table Summary
Value
Value
121 + Days
29.5%
91 - 120 Days
3.9%
61 - 90 Days
4.1%
31 - 60 Days
6.4%
1 - 30 Days
56.1%
Material Fund Change [Text Block]
Updated Prospectus Web Address <span style="box-sizing: border-box; color: rgb(0, 0, 0); display: inline; flex-wrap: nowrap; font-size: 10.6667px; font-weight: 400; grid-area: auto; line-height: 16px; margin: 0px; overflow: visible; text-align: left; text-align-last: auto; white-space-collapse: preserve-breaks;">www.morganstanley.com/im/shareholderreports</span>
[1] Annualized
[2] Annualized