Polycystic kidney disease (PKD) is a common human genetic disease with severe medical consequences. Although it is appreciated that the cilium plays a central role in PKD, the underlying mechanism for PKD remains poorly understood and no effective treatment is available. In zebrafish, kidney cyst formation is closely associated with laterality defects and body curvature. To discover potential drug candidates and dissect signaling pathways that interact with ciliary signals, we performed a chemical modifier screen for the two phenotypes using zebrafish pkd2 hi4166 and ift172 hi2211 models. pkd2 is a causal gene for autosomal dominant PKD and ift172 is essential for building and maintaining the cilium. We identified trichostatin A (TSA), a pan-HDAC (histone deacetylase) inhibitor, as a compound that affected both body curvature and laterality. Further analysis verified that TSA inhibited cyst formation in pkd2 knockdown animals. Moreover, we demonstrated that inhibiting class I HDACs, either by valproic acid (VPA), a class I specific HDAC inhibitor structurally unrelated to TSA, or by knocking down hdac1, suppressed kidney cyst formation and body curvature caused by pkd2 deficiency. Finally, we show that VPA was able to reduce the progression of cyst formation and slow the decline of kidney function in a mouse ADPKD model. Together, these data suggest body curvature may be used as a surrogate marker for kidney cyst formation in large-scale high-throughput screens in zebrafish. More importantly, our results also reveal a critical role for HDACs in PKD pathogenesis and point to HDAC inhibitors as drug candidates for PKD treatment.