Functions of many proteins are affected by posttranslational modifications of intrinsically disordered (ID) regions, yet little is known about the underlying molecular mechanisms. By combining molecular dynamics simulations and protein docking, we demonstrate that the addition of phosphates to an ID segment adjacent to the PNT domain of Ets1 directs conformational sampling toward substates that are most compatible with high-affinity binding of the TAZ1 domain of its coactivator CBP. The phosphate charges disrupt salt bridges and thereby open a hydrophobic cleft and expose hydrophobic residues at the ID N terminus. The structure of the PNT-TAZ1 complex that we determined shows that PNT binds to TAZ1 via these hydrophobic regions in a similar manner to how it interacts with other partners. Our calculations reveal a dual effect of phosphorylation in that it changes the dynamics of PNT so that it becomes more compatible for TAZ1 binding and increases complementarity with this binding partner.