BackgroundHistone modifications are critical in regulating neuronal processes. However, the impacts of individual histone modifications on learning and memory are elusive. Here, we investigated the contributions of histone H3 lysine modifications to learning and memory in Drosophila by using histone lysine-to-alanine mutants.ResultsBehavioural analysis indicated that compared to the H3WT group, mutants overexpressing H3K23A displayed impaired courtship learning. Chromatin immunoprecipitation analysis of H3K23A mutants showed that H3K23 acetylation (H3K23ac) levels were decreased on learning-related genes. Knockdown of CREB-binding protein (CBP) decreased H3K23ac levels, attenuated the expression of learning-related genes, led to a courtship learning defect and altered development of the mushroom bodies. A decline in courtship learning ability was observed in both larvae and adult treatments with ICG-001. Furthermore, treatment of Drosophila overexpressing mutated H3K23A with a CBP inhibitor did not aggravate the learning defect.ConclusionsH3K23ac, catalysed by the acetyltransferases dCBP, contributes to Drosophila learning, likely by controlling the expression of specific genes. This is a novel epigenetic regulatory mechanism underlying neuronal behaviours.Electronic supplementary materialThe online version of this article (10.1186/s12861-018-0179-z) contains supplementary material, which is available to authorized users.