The Northern Irishman, who captured his fourth major championship in 2014 when it was last played at Valhalla, will face Dustin Johnson and Justin Rose in the first and second rounds.
At 13:37, the reigning champion Brooks Koepka, Max Homa, and Jordan Spieth will set out. If Spieth wins this week, he will have completed the Grand Slam of winning all four majors.
At 13:04, Tiger Woods exits the group ahead of McIlroy.
World No. 1 and Masters champion Scottie Scheffler is one of the later starters at 19:13 and will play alongside Open winner.
At 19:02, Jon Rahm is eliminated, and England’s Matt Fitzpatrick is grouped alongside Phil Mickelson, the 2021 champion, and Collin Morikawa, the 2020 winner.