Histone deacetylases (HDACs) are key enzymes in the transcriptional regulation of gene expression in eukaryotic cells. In recent years HDACs have attracted considerable attention as promising new targets in anticancer therapy. Currently, different histone deacetylase subtypes are divided into four groups denoted as classes 1-4. Here, we compare in more detail representatives of class 1 HDACs and FB188 HDAH as a close bacterial homologue of class 2 HDAC6, in regard of substrate and inhibitor specificity. Structure comparison is used to identify candidate regions responsible for observed specificity differences. Knowledge of these structural elements expedite studies on the biochemical role of different HDAC subtypes as well as the development of highly selective HDAC inhibitors as antitumor agents.