Istanbul Atatürk Airport
Named after the founder of modern Turkey, Istanbul Atatürk Airport is located 20km west of the country's largest city of Istanbul. As Istanbul is situated partly in Europe and partly in Asia, it's the only major airport in the world that can be said to serve two continents.
It is no longer possible to purchase a visa on entering Turkey. Visitors are required to purchase a visa in advance online. (Do not use any other website, which will be unofficial and probably charge an excessive fee.)
IST is the main hub for the national carrier Turkish Airlines which is the world's 4th biggest carrier by number of destinations. Also Atlasjet, Freebird Airlines and Onur Air are based here.
People get commissions by persuading you to use special shuttle buses for very high fees (TRY30+) so, for people who wish to travel more economically, the Metro/tram-combination is easy and fairly quick and offers very good value.
From the airport, there are various options for getting into Istanbul: you can take a taxi (about TRY35-40 to Taksim. There are no night fares in Istanbul any more. The price would be the same at midnight or midday.
About the same to Sultanahmet), the express bus service run by the local airport service called "Havataş"  which departs half-hourly 04:00-23:59 and costs TRY10 to Taksim and Aksaray and Kozyatağı), the public bus (line #96T) run by İETT costing TRY5 (TRY3.5 with İstanbulKart), which has fewer departure times now, due to Havatas, which is the municipal bus service.
By light rail
The metro operates 06:00-23:59 and is signposted "light rail" in the airport. When you get outside the baggage claim, it's about a ten minute walk in the airport to the metro line. Just follow the signs, which will take you directly to the Otogar (bus station) or to numerous stops within Istanbul (Aksaray in the city centre is the last stop, transfer stations for tram heading for deeper into old city is available at Zeytinburnu and Aksaray). It costs TRY3, by token (+an extra TRY3 when boarding the tram) and getting to Aksaray takes around 45 minutes. It is possible to be at your bus departing from Otogar within less than one hour after landing by taking the metro.
When entering the metro station, you need to buy a jeton (token) for 3 lira. Just hand the cashier TRY3 and he'll give you a token, or use the automatic dispenser (Jetonmatik), which accepts banknotes (TRY5, TRY10) as well as coins. Use 'select' to choose the number of jetons and then push 'ok'. They don't accept credit cards or foreign currency here. This will get you on the red metro line (towards Aksaray). From this line, if you are going to Sultanahmet, you can transfer at Zeytinburnu you will need a second token for the transfer. From Zeytinburnu, take the blue tram line T1, towards Kabataş which passes by: Sultanahmet, Eminönu and Tophane. The trip from the airport to Sultanahmet takes about 60min. Also consider buying an Istanbulkart (see Get around on Istanbul's page) which will pay for itself within a few trips on public transit.
As of September 2014, Turkish Airlines offers free guided tours of Istanbul's sights to their passengers under a program called "Touristanbul". This program includes transport from and to the airport and a traditional Turkish meal. There are different tours each day of the week taking either six or nine hours. The conditions are: you need to have a layover of at least six hours and at most 24 hours, between 09:00 and 18:00 and, in addition, both your arriving and departing flights must be international and operated by Turkish Airlines. No prior reservation is needed for these tours, you only need to proceed through customs and immigration and after that to the "hotel desk" in the arrival hall. The airline has more detailed information on their home page. Remember to check if you need a visa to enter Turkey.
Eat and Drink
Food and drink at the airport may cost up to five times more than in the city proper, as in other international airports. If you are travelling on a budget and plan to spend some time at the airport, it may be wise to bring your own meals from town instead of buying them there. If you come from the Metro, there is a supermarket in the tunnel leading to the elevators / stairs to the airport proper where you can do some last-minute shopping.
As at most airports, money exchange is more expensive than in the city. In Istanbul the airport money exchange offices accept limited currencies. It is recommended to bring US dollars or euros for the best exchange rates.