v3.26.1
Document And Entity Information
6 Months Ended
May 31, 2026
Document Information [Line Items]  
Entity Central Index Key 0001293613
Document Type N-CSRS
Entity Registrant Name KAYNE ANDERSON ENERGY INFRASTRUCTURE FUND, INC.
Document Period End Date May 31, 2026
Amendment Flag false