Michigan
Following the season he had a medical procedure on his hip. Matthews was granted his release from the team on May 18, 2016. On June 20, 2016, reports confirmed that Matthews, who would have to sit out the 2016–17 season, had visited both Xavier and Michigan and selected Michigan. Michigan confirmed the story on July 1. He served on the scout team for the 2016–17 Michigan Wolverines.
As a redshirt sophomore, Matthews scored 20 points against North Florida in his first game at Michigan on November 11, 2017. In the game, he and Duncan Robinson became the first Michigan teammates to score 20 points in a game since March 3, 2015. Matthews posted career-highs of 28 points and eight rebounds in the first-round game of the 2017 Maui Invitational Tournament against LSU on November 20 but only made one of two free throws with Michigan trailing by two points with 9 seconds remaining. The following night, he posted his first career double-double with 22 points (on 8-of-8 field goal shooting) and 10 rebounds. On November 26, Matthews posted a points-assists double-double with 17 points and a career-high 12 assists against UC Riverside. Since Moe Wagner added 21 points and 10 rebounds, the team had its first pair of double-doubles in a game since Glenn Robinson III and Trey Burke did so for the 2012–13 national runner-up Wolverines on January 6, 2013. On December 21, Michigan defeated the previously winless Alabama A&M Bulldogs 97–47 as Matthews posted 31 points, another career high. Matthews tallied 20 or more points six different times before the final four, but none in 2017–18 Big Ten Conference play, where he never scored more than 16 points.
Matthews averaged 10 points and 5.5 rebounds during Michigan's four games in the 2018 Big Ten Conference men's basketball tournament, helping the team win its second consecutive Big Ten tournament championship. On March 15, Michigan began play in the 2018 NCAA tournament with a 61–47 victory over Montana in the first round, as Matthews posted 20 points and a career-tying 11 rebounds, for his fourth double-double of the season. On March 21, Matthews became an Academic All-Big Ten honoree. On March 24, Michigan defeated Florida State 58–54 in the West regional finals. Michigan, who established a single-season school-record 32 wins with the win, was led by Matthews with 17 points. Matthews, who averaged 16.5 points and 7.3 rebounds to lead Michigan in the first four games of the NCAA tournament, was named West Region Most Outstanding player. On March 31 in the national semifinals, Matthews contributed 17 as Michigan defeated Loyola–Chicago 69–57. The team lost in the 2018 NCAA Division I men's basketball championship game to (#2 Coaches Poll/#2 AP Poll) Villanova. For the tournament he averaged 14.8 points, 6.2 rebounds, 1.2 assists, and 1.2 steals. For the season, he averaged 13.0 points and 5.5 rebounds. Since the team reached the championship games of both the Big Ten tournament and the NCAA tournament, Matthews shares the Michigan (and NCAA) single-season games played record (41) with teammates Robinson, Muhammad-Ali Abdur-Rahkman, Jon Teske and Zavier Simpson. Members of the 2010–11 Connecticut Huskies also played 41 games (an NCAA record).
Following the season he declared for the 2018 NBA draft without hiring an agent. He didn't receive an invitation to the NBA Draft Combine. Nonetheless, he had workouts with multiple NBA teams. In the 2017 draft class, 84 of the 137 underclassmen that declared were not invited to the NBA draft combine and only 4 remained in the draft. None of the four was drafted in the 2017 NBA draft. Matthews withdrew from the 2018 NBA draft.
Matthews was a preseason All-Big Ten selection by the Big Ten Media. Prior to the season he was one of nine Big Ten players named to the preseason John R. Wooden Award watchlist and one of eight named to the preseason Naismith College Player of the Year watchlist. On December 15, Michigan defeated Western Michigan 70–62 with 25 points and 10 rebounds from Matthews, for his fifth career double-double and first of the season. On January 13, Michigan defeated Northwestern to establish a school record for best start at 17–0 and tied the school's record 17-game win streak. On January 22, Michigan defeated Minnesota 59–57 after a buzzer beater by Matthews. On January 25, Matthews posted 10 points and a career-tying 11 rebounds for his sixth career double-double in a 69–46 victory over Indiana. The 23-point victory marked the largest ever by Michigan on the road against Indiana. On February 6, Matthews was the only Big Ten Athlete named a Julius Erving Award Top 10 finalist. On February 9, Michigan defeated (#19/#19) Wisconsin 61–52. Michigan was led by Matthews with a game-high 18 points. The teams each scored 27 in the first half and 16 of Matthews 18 came in the second half, including 14 of Michigan's 19 points in a decisive stretch taking the score from 38–35 to 57–50 with 23.8 seconds remaining. Matthews missed the final three games of the regular season due to an ankle injury. Following the season, he was a 2019 All-Big Ten honorable mention selection (media). On March 21, Matthews posted a game-high 22 points and ten rebounds for his seventh career double-double in a 74–55 victory over Montana in the first round of the 2019 NCAA tournament. Following the season, on April 9, 2019, Matthews (along with teammates Iggy Brazdeikis and Jordan Poole) declared for the 2019 NBA draft with the intention of hiring agents. On April 17, Matthews announced, via the Michigan basketball Twitter account, that he would forgo his remaining year of eligibility at Michigan.