Upvote:2
Yes, you need a visa if you're going for a visit.
The Turkish Ministry of Foreign Affairs lists requirements for each country:
Iraq: Ordinary and official passport holders are required to have visa to enter Turkey. Ordinary passport holders with a valid Schengen members or USA, UK, Ireland visa or residence permit may get their single entry e-Visas valid for one month e-Visas via the website www.evisa.gov.tr, provided that they meet certain conditions.
If you're just transiting and have proof of onward travel in less than 24h you may transit without a visa (that means not leaving the airport though)
TWOV (Transit Without Visa): Holders of confirmed onward tickets for a max. transit time of 24 hours.
Note that if you have an S series passport Turkey will automatically refuse you entry