You do not need a transit visa for Turkey if you stay at the airport to board your next flight. However, if you plan to leave the airport and enter the country, a valid transit visa is required.