v3.26.1
N-2 - $ / shares
3 Months Ended
Mar. 31, 2026
Dec. 31, 2025
Mar. 31, 2025
Dec. 31, 2024
Cover [Abstract]        
Entity Central Index Key 0001655050      
Amendment Flag false      
Securities Act File Number 814-01175      
Document Type 10-Q      
Entity Registrant Name BAIN CAPITAL SPECIALTY FINANCE, INC.      
Entity Address, Address Line One 200 Clarendon Street      
Entity Address, Address Line Two 37th Floor      
Entity Address, City or Town Boston      
Entity Address, State or Province MA      
Entity Address, Postal Zip Code 02116      
City Area Code 617      
Local Phone Number 516‑2000      
Entity Emerging Growth Company false      
General Description of Registrant [Abstract]        
Share Price $ 12.4   $ 16.6  
NAV Per Share $ 16.86 $ 17.23 $ 17.64 $ 17.65