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 Prudential Investment Portfolios 2
Entity Central Index Key 0001099692
Entity Investment Company Type N-1A
Document Period End Date Jul. 31, 2026
PGIM Core Ultra Short Bond Fund  
Shareholder Report [Line Items]  
Fund Name PGIM Core Ultra Short Bond Fund
Class Name PGIM Core Ultra Short Bond Fund
No Trading Symbol Flag true
Annual or Semi-Annual Statement [Text Block] This semiannual shareholder report contains important information about the shares of the PGIM Core Ultra Short Bond Fund (the “Fund”) for the period of February 1, 2026 to July 31, 2026.
Shareholder Report Annual or Semi-Annual semi annual shareholder report
Additional Information [Text Block] You can find additional information about the Fund at pgim.com/mutual-fund-documents. You can also request this information by contacting us at (800) 225-1852 or (973) 367-3529 from outside the U.S.
Additional Information Phone Number (800) 225-1852 or (973) 367-3529
Additional Information Website pgim.com/mutual-fund-documents
Expenses [Text Block]
WHAT WERE THE FUND COSTS FOR THE LAST SIX MONTHS?
(Based on a hypothetical $10,000 investment) 
 
Costs of a
$10,000 investment
Costs paid as a percentage
of a $10,000 investment
PGIM Core Ultra Short Bond Fund
$0
0.01%
Expenses Paid, Amount $ 0
Expense Ratio, Percent 0.01%
Net Assets $ 17,021,663,785
Holdings Count | Holding 260
Investment Company, Portfolio Turnover 53.00%
Additional Fund Statistics [Text Block]
WHAT ARE SOME KEY FUND STATISTICS AS OF 7/31/2026? 
Fund’s net assets
$
17,021,663,785
Number of fund holdings
260
Portfolio turnover rate for the period
53%
Holdings [Text Block]
WHAT ARE SOME CHARACTERISTICS OF THE FUND’S HOLDINGS AS OF 7/31/2026? 
Credit Quality expressed as a percentage of total investments as of 7/31/2026 (%)
A-1+/P-1
82.2
A-1/P-1
17.8
Total
100.0
Credit Quality Explanation [Text Block] Credit ratings reflect the highest rating assigned by a nationally recognized statistical rating organization (NRSRO) such as Moody’s Investors Service, Inc. (Moody’s), S&P Global Ratings (S&P), or Fitch Ratings, Inc. (Fitch). Credit ratings reflect the common nomenclature used by both S&P and Fitch. Where applicable, ratings are converted to the comparable S&P/Fitch rating tier nomenclature. The Not Rated (NR) category consists of securities that have not been rated by an NRSRO. Credit ratings are subject to change. Values may not sum to 100.0% due to rounding.
PGIM Institutional Money Market Fund  
Shareholder Report [Line Items]  
Fund Name PGIM Institutional Money Market Fund
Class Name PGIM Institutional Money Market Fund
No Trading Symbol Flag true
Annual or Semi-Annual Statement [Text Block] This semiannual shareholder report contains important information about the shares of the PGIM Institutional Money Market Fund (the “Fund”) for the period of February 1, 2026  to July 31, 2026.
Shareholder Report Annual or Semi-Annual semi annual shareholder report
Additional Information [Text Block] You can find additional information about the Fund at pgim.com/mutual-fund-documents. You can also request this information by contacting us at (800) 225-1852 or (973) 367-3529 from outside the U.S.
Additional Information Phone Number (800) 225-1852 or (973) 367-3529
Additional Information Website pgim.com/mutual-fund-documents
Expenses [Text Block]
WHAT WERE THE FUND COSTS FOR THE LAST SIX MONTHS?
(Based on a hypothetical $10,000 investment) 
 
Costs of a
$10,000 investment
Costs paid as a percentage
of a $10,000 investment
PGIM Institutional Money Market Fund
$3
0.07%
Expenses Paid, Amount $ 3
Expense Ratio, Percent 0.07%
Net Assets $ 10,578,269,093
Holdings Count | Holding 192
Additional Fund Statistics [Text Block]
WHAT ARE SOME KEY FUND STATISTICS AS OF 7/31/2026? 
Fund’s net assets
$
10,578,269,093
Number of fund holdings
192
Holdings [Text Block]
WHAT ARE SOME CHARACTERISTICS OF THE FUND’S HOLDINGS AS OF 7/31/2026? 
Security Allocation
% of Net
Assets
Commercial Paper
40.7%
Repurchase Agreements
17.6%
Time Deposits
14.8%
Certificates of Deposit
11.5%
U.S. Treasury Obligations
10.8%
U.S. Government Agency Obligations
4.7%
 
100.1%
Liabilities in excess of other assets
(0.1)%
 
100.0%