v3.26.1
Document and Entity Information - shares
3 Months Ended
Mar. 31, 2026
May 05, 2026
Cover [Abstract]    
Document Type 10-Q  
Amendment Flag false  
Document Quarterly Report true  
Document Transition Report false  
Document Period End Date Mar. 31, 2026  
Document Fiscal Year Focus 2026  
Document Fiscal Period Focus Q1  
Securities Act File Number 814-01363  
Trading Symbol KBDC  
Entity Registrant Name Kayne Anderson BDC, Inc.  
Entity Tax Identification Number 83-0531326  
Entity Central Index Key 0001747172  
Current Fiscal Year End Date --12-31  
Entity Filer Category Large Accelerated Filer  
Entity Current Reporting Status Yes  
Entity Emerging Growth Company false  
Entity Shell Company false  
City Area Code (713)  
Local Phone Number 493-2020  
Entity Small Business false  
Title of 12(b) Security Common Stock, par value $0.001 per share  
Security Exchange Name NYSE  
Entity Incorporation, State or Country Code DE  
Entity Address, Address Line One 717 Texas Avenue  
Entity Address, Address Line Two Suite 2200  
Entity Address, City or Town Houston  
Entity Address, State or Province TX  
Entity Address, Postal Zip Code 77002  
Entity Interactive Data Current Yes  
Entity Common Stock, Shares Outstanding   66,350,002