Histone deacetylases are involved in many biological processes and have roles in regulating cell behaviors such as cell cycle entry, cell proliferation and apoptosis. However, the effect of histone deacetylases on the development of hair cells (HCs) has not been fully elucidated. In this study, we examined the influence of histone deacetylases on the early development of neuromasts in the lateral line of zebrafish. Hair cell development was evaluated by fluorescent immunostaining in the absence or presence of histone deacetylase inhibitors. Our results suggested that pharmacological inhibition of histone deacetylases with inhibitors, including trichostatin A, valproic acid and MS-275, reduced the numbers of both HCs and supporting cells in neuromasts. We also found that the treatment of zebrafish larvae with inhibitors caused accumulation of histone acetylation and suppressed proliferation of neuromast cells. Real-time PCR results showed that the expression of both p21 and p27 mRNA was increased following trichostatin A treatment and the increase in p53 mRNA was modest under the same conditions. However, the expression of p53 mRNA was significantly increased by treatment with a high concentration of trichostatin A. A high concentration of trichostatin A also led to increased cell death in neuromasts as detected in a TUNEL assay. Moreover, the nuclei of most of these pyknotic cells were immunohistochemically positive for cleaved caspase-3. These results suggest that histone deacetylase activity is involved in lateral line development in the zebrafish and might have a role in neuromast formation by altering cell proliferation through the expression of cell cycle regulatory proteins.