The ankyrin (ANK) repeat is one of the most common protein-protein interaction motifs, found predominantly in eukaryotes and bacteria, but the functions of the ANK repeat are rarely researched in animal viruses, with the exception of poxviruses. Infectious spleen and kidney necrosis virus (ISKNV) is a typical member of the genus Megalocytivirus in the family Iridoviridae and is a causative agent of epizootics in fish. The genome of ISKNV contains four putative viral ANK (vANK) repeat proteins and their functions remain largely unknown. In the present study, it was found that ORF124L, a vANK repeat protein in ISKNV, encodes a protein of 274 aa with three ANK repeats. Transcription of ORF124L was detected at 12 h post-infection (p.i.) and reached a peak at 40 h p.i. ORF124L was found to localize to both the nucleus and the cytoplasm in mandarin fish fry cells. ISKNV ORF124L interacted with the mandarin fish IκB kinase β protein (scIKKβ), and attenuated tumour necrosis factor alpha (TNF-α)- or phorbol myristate acetate (PMA)-induced activity of a nuclear factor κB (NF-κB)-luciferase reporter but did not interfere with the activity of an activator protein 1 (AP-1)-luciferase reporter. Phosphorylation of IκBα and nuclear translocation of NF-κB were also impaired by ISKNV ORF124L. In summary, ORF124L was identified as a vANK repeat protein and its role in inhibition of TNF-α-induced NF-κB signalling was investigated through interaction with the mandarin fish IKKβ. This work may help to improve our understanding of the function of fish iridovirus ANK repeat proteins.