XML 17 R1.htm IDEA: XBRL DOCUMENT v3.25.4
Document And Entity Information
12 Months Ended
Nov. 30, 2025
Document Information [Line Items]  
Entity Central Index Key 0001293613
Document Type N-CSR
Entity Registrant Name KAYNE ANDERSON ENERGY INFRASTRUCTURE FUND, INC.
Document Period End Date Nov. 30, 2025
Amendment Flag false