An energy‐preserving scheme is proposed for the three‐coupled nonlinear Schrödinger (T‐CNLS) equation. The T‐CNLS equation is rewritten into the classical Hamiltonian form. Then the spatial variable is discretized by using high‐order compact method to convert it into a finite‐dimensional Hamiltonian system. Next, a second‐order averaged vector field (AVF) method is employed in time which results in an energy‐preserving scheme. Some theoretical results such as convergence are investigated. In addition, it provides some numerical examples to illustrate the robustness and reliability of the theoretical results. It also explores the role of the parameters in the model and initial condition on the wave propagation.