The growing demand for maintaining secure communication channels with the advancements in digital technologies has led to an intensified interest in designing reliable image encryption schemes. Despite various encryption schemes that have been used, some are considered to have insecurity regarding data transmission and multimedia. Motivated by this concern, this paper proposes a new color image encryption algorithm of a multi-key generation-based nD-Hyperchaotic (HC) system. The new algorithm achieves Shannon’s confusion and diffusion principles using a two S-box generation approach, where the first S-box is generated from the proposed nD-HC system and the resulting sequence is used to increase encryption complexity, while the second S-box is generated from ([Formula: see text])D-HC system. Afterward, mathematical analysis is carried out to showcase the robustness and efficiency of the proposed algorithm, as well as its resistance to visual, statistical, differential, and brute-force attacks. The proposed scheme successfully passes all NIST SP 800 suite tests. The cryptographic system demonstrated by the proposed scheme has proven to have outstanding performance through simulation tests, which indicates promising potential applicability aspects in secure and real-time image communication settings.