Dunleavy was dealt to the Indiana Pacers along with teammates Troy Murphy, Ike Diogu, and Keith McLeod for Stephen Jackson, Al Harrington, Šarūnas Jasikevičius, and Josh Powell. In his first full season with the Pacers, Dunleavy started all 82 games and averaged a career-high 19.1 points per game. During the 2010–2011 season, the Indiana Pacers advanced to the NBA playoffs for the first time since 2006 thanks to an end of the season win over the Washington Wizards coupled with a Charlotte Bobcats loss to the Orlando Magic. Dunleavy scored 14 points in the 136–112 victory. Dunleavy also ended his career playoff drought of 9 years and 624 games. He was the second active leader in this category behind former Warriors and Pacers teammate Troy Murphy, who also ended his drought as a part of the Boston Celtics. Chris Wilcox of the Boston Celtics now holds the record. Milwaukee Bucks (2011–2013) Following the 2011 NBA lockout, Dunleavy signed a two-year, $7.5 million contract with the Milwaukee Bucks on December 10. His best game as a Buck came on November 3, 2012 when he recorded 29 points and 12 rebounds against the Cleveland Cavaliers. Chicago Bulls (2013–2016) On July 10, 2013, Dunleavy signed with the Chicago Bulls, on a reported two-year deal worth about $6 million. On April 25, 2014, Dunleavy set a playoff career-high 35 points including a franchise playoff record for most three-point field goals with 8 against the Washington Wizards in game three of their 2014 NBA Playoffs first round match-up, which the Bulls won 100–97. Dunleavy injured his right ankle against the Denver Nuggets on January 1, 2015 and was sidelined for over a month. On July 14, 2015, Dunleavy re-signed with the Bulls to a reported three-year, $14.4 million contract. After missing the Bulls' first 16 games of the season due to a back injury, he was ruled out for a further four-to-six weeks on December 3 due to the injury requiring additional rehabilitation. On February 1, 2016, using the flexible assignment rule, Dunleavy was assigned to the Santa Cruz Warriors, the D-League affiliate of the Golden State Warriors, with the goal to practice there during the Bulls' West Coast road trip. Two days later, he was recalled by the Bulls. On February 6, Dunleavy made his season debut for the Bulls after missing the first 49 games. He played 14 minutes and scored five points