If you set out from Taiyuan, it is recommended to go to Xuankong Temple first, and then go to Yungang Grottoes. Xuan Kong Temple was located in Hunyuan County, about an hour and a half's bus ride away from Da Tong. The Yungang Grottoes are west of Datong. Xuan Kong Temple and Heng Mountain were very close, so they could go to Heng Mountain first and then go back to Xuan Kong Temple. The Yungang Grottoes could be visited alone for half a day. Therefore, it was a smoother itinerary to go to Xuankong Temple first and then to Yungang Grotto.

If you set out from Taiyuan, it is recommended to go to Xuankong Temple first, and then go to Yungang Grottoes. Xuankong Temple was located in Hunyuan County, about an hour and a half away from Datong by bus, while Yungang Grotto was to the west of Datong. Xuankong Temple and Yungang Grotto were both famous scenic spots in Datong, but according to the information provided, it was more convenient to go to Xuankong Temple first and then to Yungang Grotto.
Xuankong Temple and Yungang Grotto were not in the same direction. Yungang Grottoes was located in the northwest of Datong City, while Xuankong Temple was located in the southeast of Datong City. Therefore, if one wanted to visit these two scenic spots, they had to go in different directions.
It was possible to visit Xuankong Temple and Yungang Grotto within a day. The tour of Yungang Grotto took about 1.5 to 2 hours, and the tour of Xuankong Temple took about 1.5 to 2 hours. The entire journey from Datong City to Yungang Grottoes and then to Xuankong Temple took about 7-8 hours. Therefore, if the tourists planned their trip in advance and arranged their time reasonably, one day was enough to visit Xuankong Temple and Yungang Grottoes.
The exact distance between Xuankong Temple and Yungang Grotto was not explicitly mentioned. Therefore, I don't know how far Xuankong Temple is from Yungang Grotto.
The distance between Xuankong Temple and Yungang Grotto was about 82.8 kilometers.
It was possible to visit Xuankong Temple and Yungang Grotto within a day. The tour of Yungang Grotto took about 1.5 to 2 hours, and the tour of Xuankong Temple took about 1.5 to 2 hours. The entire journey from Datong City to Yungang Grottoes and then to Xuankong Temple took about 7-8 hours. Therefore, as long as the tourists planned their itinerary in advance and arranged their time reasonably, one day was enough to visit Xuankong Temple and Yungang Grottoes.
The answer to the question of whether Xuankong Temple and Yungang Grotto were enough for one day was different. Some documents indicated that they could visit these two scenic spots in one day, but it would be a bit rushed. Some documents indicated that there was not enough time because Yungang Grotto was far from Xuankong Temple. Therefore, based on the information provided, it was impossible to determine if one day was enough.
The distance between Yungang Grotto and Xuankong Temple was about 82.8 kilometers.
The tour of Yungang Grottoes and Xuankong Temple could be completed in two days. According to Hornet's Nest users, it took three to four hours to climb Mount Heng, one hour to visit Xuankong Temple, and three to four hours to visit Yungang Grotto. Therefore, if the arrangement was reasonable, even without a car, two days was enough to visit these two scenic spots.
Yungang Grottoes and Xuankong Temple were two famous scenic spots in Datong City, Shanxi Province. Yungang Grottoes was one of the three major grottoes in China and was listed as a World Cultural Heritage. The tour time was about 2.5 hours. Xuankong Temple was a temple built on a cliff. It was built 1400 years ago and was the only unique temple in China that combined Buddhism, Taoism, and Confucianism. Xuan Kong Temple was open from 8 am to 5 pm every day. You need to climb the stairs to visit Xuankong Temple. It is recommended to wear suitable shoes and stay safe. As for the specific transportation and ticket information, they needed to book in advance and consult the official customer service of the scenic spot.