The phosphorylation of the RNA polymerase II C-terminal domain (CTD) plays a key role in delineating transcribed regions within chromatin by recruiting histone methylases and deacetylases. Using genome-wide nucleosome mapping, we show that CTD S2 phosphorylation controls nucleosome dynamics in the promoter of a subset of 324 genes, including the regulators of cell differentiation ste11 and metabolic adaptation inv1. Mechanistic studies on these genes indicate that during gene activation a local increase of phospho-S2 CTD nearby the promoter impairs the phospho-S5 CTD-dependent recruitment of Set1 and the subsequent recruitment of specific HDACs, which leads to nucleosome depletion and efficient transcription. The early increase of phospho-S2 results from the phosphorylation of the CTD S2 kinase Lsk1 by MAP kinase in response to cellular signalling. The artificial tethering of the Lsk1 kinase at the ste11 promoter is sufficient to activate transcription. Therefore, signalling through the CTD code regulates promoter nucleosomes dynamics. 