v3.25.2
Performance Management - Prospectus Summary - Dreyfus Institutional Preferred Government Money Market Fund
Mar. 31, 2025
Prospectus [Line Items]  
Bar Chart and Performance Table [Heading] Performance
Performance Narrative [Text Block]

The following bar chart and table provide some indication of the risks of investing in the fund. The bar chart shows changes in the performance of the fund's Hamilton shares from year to year. The table shows the average annual total returns of the fund's Hamilton shares over time. The fund's past performance is not necessarily an indication of how the fund will perform in the future. More recent performance information may be available at www.dreyfus.com.

Performance Past Does Not Indicate Future [Text] The fund's past performance is not necessarily an indication of how the fund will perform in the future.
Performance Information Illustrates Variability of Returns [Text] The following bar chart and table provide some indication of the risks of investing in the fund.
Bar Chart [Heading] Year-by-Year Total Returns as of 12/31 each year (%)
Bar Chart Closing [Text Block]

During the periods shown in the chart:
Best Quarter
2023, Q4: 1.33
Worst Quarter
2021, Q4: 0.00

The year-to-date total return of the fund's Hamilton shares as of June 30, 2025 was 2.12%.

Performance [Table]
Average Annual Total Returns
12 Months Ended 60 Months Ended 120 Months Ended
Dec. 31, 2024
Dec. 31, 2024
Dec. 31, 2024
Prospectus Summary | Dreyfus Institutional Preferred Government Money Market Fund | Hamilton Shares | Average Annual Return, Percent 5.19% 2.42% 1.69%
Average Annual Return, Caption [Optional Text] Average Annual Total Returns (as of 12/31/24)
Performance Table Closing [Text Block]

Institutions may call toll-free 1-800-373-9387 for the current yield of the fund's Hamilton shares. Individuals or entities for whom institutions may purchase or redeem shares should call the institution directly.

Money Market Seven Day Yield Phone 1-800-373-9387
Performance Availability Website Address [Text] www.dreyfus.com
Hamilton Shares  
Prospectus [Line Items]  
Year to Date Return, Label [Optional Text] The year-to-date total return of the fund's Hamilton shares as of
Bar Chart, Year to Date Return 2.12%
Bar Chart, Year to Date Return, Date Jun. 30, 2025
Highest Quarterly Return, Label [Optional Text] Best Quarter
Highest Quarterly Return 1.33%
Highest Quarterly Return, Date Dec. 31, 2023
Lowest Quarterly Return, Label [Optional Text] Worst Quarter
Lowest Quarterly Return none
Lowest Quarterly Return, Date Dec. 31, 2021
Bar Chart and Performance Table [Heading] Performance
Performance Narrative [Text Block]

The following bar chart and table provide some indication of the risks of investing in the fund. The bar chart shows changes in the performance of the fund's Institutional shares from year to year. The table shows the average annual total returns of the fund's Institutional shares over time. The fund's past performance is not necessarily an indication of how the fund will perform in the future. More recent performance information may be available at www.dreyfus.com.

Performance Past Does Not Indicate Future [Text] The fund's past performance is not necessarily an indication of how the fund will perform in the future.
Performance Information Illustrates Variability of Returns [Text] The following bar chart and table provide some indication of the risks of investing in the fund.
Bar Chart [Heading] Year-by-Year Total Returns as of 12/31 each year (%)
Bar Chart Closing [Text Block]

During the periods shown in the chart:
Best Quarter
2023, Q4: 1.34
Worst Quarter
2021, Q4: 0.00

The year-to-date total return of the fund's Institutional shares as of June 30, 2025 was 2.14%.

Performance [Table]
Average Annual Total Returns
12 Months Ended 60 Months Ended 120 Months Ended
Dec. 31, 2024
Dec. 31, 2024
Dec. 31, 2024
Prospectus Summary | Dreyfus Institutional Preferred Government Money Market Fund | Institutional Shares | Average Annual Return, Percent 5.24% 2.45% 1.74%
Average Annual Return, Caption [Optional Text] Average Annual Total Returns (as of 12/31/24)
Performance Table Closing [Text Block]

Institutions may call toll-free 1-800-373-9387 (inside the U.S. only) for the current yield of the fund's Institutional shares. Individuals or entities for whom institutions may purchase or redeem shares should call the institution directly.

Money Market Seven Day Yield Phone 1-800-373-9387
Performance Availability Website Address [Text] www.dreyfus.com
Institutional Shares  
Prospectus [Line Items]  
Year to Date Return, Label [Optional Text] The year-to-date total return of the fund's Institutional shares as of
Bar Chart, Year to Date Return 2.14%
Bar Chart, Year to Date Return, Date Jun. 30, 2025
Highest Quarterly Return, Label [Optional Text] Best Quarter
Highest Quarterly Return 1.34%
Highest Quarterly Return, Date Dec. 31, 2023
Lowest Quarterly Return, Label [Optional Text] Worst Quarter
Lowest Quarterly Return none
Lowest Quarterly Return, Date Dec. 31, 2021