Upvote:1
The official website states:
If you will not leave the transit lounge at the airport you are not required to have transit visa. Otherwise, you have to make visa application to the nearest Turkish Representation.
So you do not need a transit visa if you have a 2-hour layover at Istanbul.