The article presents hyperchaos image encryption using DNA (deoxyribonucleic acid) coding and the chaotic maps in discrete cosine transform. The proposed multilayered security system comprises of advanced levels of confusion and diffusion. Initially, the diffusion among the pixels is attained by employing DNA XOR operation between pixel values and the unpredictable sequence generated from hyperchaotic system. Secondly, the pixels of the partially encrypted image is scrambled by Baker map to permute the image pixels. Finally, the partially encrypted image is diffused through the discrete cosine transform. The significant contribution of this algorithm is to improve the quality of encryption through a DNA encoded scheme. The demonstration results and experimental values are in support the robustness of the proposed scheme and have shown resistance against underlying cryptanalytic attacks.