The video-sharing website will be accessible in Turkey later on Tuesday, an official at Prime Minister Tayyip Erdogan's office told Reuters.
"As the Constitutional Court verdict was received today, YouTube will be open to access later today."
Blocks on access to YouTube and Twitter were imposed after illicit audio recordings, purportedly revealing corruption in Erdogan's inner circle, were leaked on the sites.
The block on access to Twitter was lifted in April.
The ban on YouTube was imposed on March 27 in the build-up to local elections after a tape of top security officials discussing possible military intervention in Syria was leaked.
Erdogan condemned the tape recording, which followed a series of other leaked wiretaps, as an act of treason.
He subsequently emerged from local elections on March 30 with his popularity largely intact.
Turkey's highest court, deliberating appeals submitted by individuals challenging the ban, last week ruled that the block was a violation of the right to freedom of speech.