Aetiologic agents of diseases such as malaria and toxoplasmosis are found in representatives of the phylum Apicomplexa. Therefore, apicomplexan parasites are known to have a significant impact on public health. Epigenetic factors such as histone acetylation/deacetylation are among the main mechanisms of gene regulation in these parasites. Histone deacetylases (HDACs) have aroused a great deal of interest over the past 20 years for being promising targets in the development of drugs for treating several diseases such as cancer. In addition, they have also been shown to be effective for parasitic diseases. However, little is known about the structure of these proteins, as well as their interactions with specific ligands. In this paper, we modelled 14 HDACs from different apicomplexan parasites and performed molecular docking with 12 ligands analogous to the HDAC inhibitors FR235222 and apicidin, which had previously been tested against Toxoplasma gondii and Plasmodium falciparum. In this in silico study, we were able to gather relevant structural data regarding these proteins as well as insights into protein–ligand interactions for testing and developing drugs for these diseases.