The effectiveness of acyclovir, a selective anti-herpesvirus agent, was tested both in silico and in vitro against two ranaviruses, namely the European catfish virus (ECV) and Frog virus 3 (FV3). ECV can cause significant losses in catfish aquaculture, while FV3 poses a risk to vulnerable amphibian populations. The genome of ranaviruses encodes thymidine kinases (TKs) similar to those of herpesviruses. Molecular docking simulations demonstrated that the acyclovir molecule can bind to the active sites of both investigated viral TKs in an orientation conducive to phosphorylation. Subsequently, the antiviral effect of acyclovir was tested in vitro in Epithelioma Papulosum Cyprini (EPC) cells with endpoint titration and qPCR. Acyclovir was used at a concentration of 800 µM, which significantly reduced the viral loads and titers of the ranaviruses. A similar reduction rate was observed with Ictalurid herpesvirus 2, which was used as a positive control virus. These promising results indicate that acyclovir might have a wider range of uses; besides its effectiveness against herpesviruses, it could also be used against ranavirus infections.