v3.25.2
Revolving Credit Facility - Narrative (Details) - USD ($)
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Line of Credit Facility [Line Items]      
Credit facility outstanding balance $ 856,322,000 $ 794,796,000  
Debt financing costs $ 18,842,000 22,975,000  
Investments Held Benchmark | Net Assets | Affiliated Entity | Prospect Capital Funding LLC      
Line of Credit Facility [Line Items]      
Percentage of total assets at fair value 38.00%    
Revolving Credit Facility | Credit Facility      
Line of Credit Facility [Line Items]      
Maximum borrowing capacity $ 2,121,500,000    
Accordion feature, increase limit $ 2,250,000,000    
Basis spread 2.05%    
Collateralized financings $ 2,554,129,000    
Remaining borrowing capacity 570,532,000 830,124,000  
Credit facility outstanding balance 856,322,000 794,796,000  
Debt issuance costs, gross 38,278,000    
Debt financing costs 18,842,000 22,975,000  
Interest expense $ 68,300,000 $ 87,585,000 $ 64,851,000
Revolving Credit Facility | Credit Facility | More than 60% Drawn      
Line of Credit Facility [Line Items]      
Unused capacity fee rate 0.40%    
Revolving Credit Facility | Credit Facility | More Than 35% and An Amount Less Than or Equal to 60%      
Line of Credit Facility [Line Items]      
Unused capacity fee rate 0.70%    
Revolving Credit Facility | Credit Facility | Less Than 35% or Equal to 35%      
Line of Credit Facility [Line Items]      
Unused capacity fee rate 1.50%