Acute inhibition of CBP/p300 histone acetyltransferase (HAT) activity restored the altered binding patterns of BRD2 and BRD4 and rescued memory impairment in FXS. Here, CREBBP is linked to fragile X syndrome.