v3.25.2
Cover Page - shares
6 Months Ended
Jun. 30, 2025
Aug. 01, 2025
Document Information [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Jun. 30, 2025  
Document Fiscal Year Focus 2025  
Document Fiscal Period Focus Q2  
Entity Registrant Name SLR INVESTMENT CORP.  
Securities Act File Number 814-00754  
Entity Tax Identification Number 26-1381340  
Trading Symbol SLRC  
Entity Central Index Key 0001418076  
Current Fiscal Year End Date --12-31  
Document Quarterly Report true  
Document Transition Report false  
Entity Current Reporting Status Yes  
Entity Filer Category Large Accelerated Filer  
Entity Interactive Data Current Yes  
City Area Code 212  
Local Phone Number 993-1670  
Entity Small Business false  
Entity Emerging Growth Company false  
Entity Address, Address Line One 500 Park Avenue  
Entity Shell Company false  
Title of 12(b) Security Common Stock, par value $0.01 per share  
Security Exchange Name NASDAQ  
Entity Address, State or Province NY  
Entity Address, City or Town New York  
Entity Address, Postal Zip Code 10022  
Entity Incorporation, State or Country Code MD  
Entity Common Stock, Shares Outstanding   54,554,634