by air, it will take 3 hours and 35 minutes with a connecting flight to Istanbul. Unfortunately, it is not possible to reach it by train.
Transportation in Cappadocia
You can go from Ankara to Cappadocia in 3 hours and 27 minutes by road, approximately 3 hours and 35 minutes by bus, and 7 hours by train if you wish.
Istanbul and Cappadocia host thousands of tourists every year. Since airline companies do not have any direct flights to Cappadocia, those who want to visit prefer to come to the big cities of Turkey such as Istanbul and Ankara first and then travel to Cappadocia from these cities.