A judge told Stephen Rogata, of Great Falls, Virginia, he is prohibited from any contact with President Donald Trump.
The Daily News said that includes mail, Facebook and Twitter.
Rogata used suction cups, a harness and ropes to climb from the fifth floor to the 21st floor when Mr Trump was the Republican presidential nominee.
Mr Trump lived in Trump Tower but was not there at the time.
As part of his plea agreement, Rogata must continue mental health treatment and go to school or work.
If he stays out of trouble for a year, he will be permitted to withdraw his plea to the reckless endangerment charge.