After his playing career, McMahon stayed on at Appalachian State as a student assistant men's basketball coach under head coach Houston Fancher in 2000–01. He rejoined Peterson for a season as a graduate assistant coach at Tennessee before returning to Appalachian State in 2002 as a full-time assistant under Fancher. In 2010, he again joined Peterson, this time as an assistant at UNC-Wilmington before joining Steve Prohm's staff at Murray State as assistant coach in 2011. At Murray State under Prohm, he helped guide the Racers to 104 victories in four years, including appearances in the 2012 NCAA Tournament, the 2015 National Invitation Tournament, and the 2014 CollegeInsider.com Postseason Tournament, where the Racers won the tournament championship. In 2012, FoxSports.com and CollegeInsider.com ranked McMahon as one of college basketball's best assistant coaches, while in 2015 he was tabbed as one of "9 Under-the-Radar Coaches to Watch" by NCAA.com. McMahon was hired as an assistant to Eric Konkol at Louisiana Tech on May 27, 2015. On June 10, 2015, McMahon was hired as head coach of Murray State. He replaced Prohm, who left to take the head coach position at Iowa State University. "I am so excited to know that Coach McMahon will be returning to Murray State to lead the Racers," Murray State athletic director Allen Ward said. "After watching him for four years, I'm convinced he's the right man for the job. He's an outstanding coach, nationally recognized as one of the top assistants in the country, with a tremendous upside. Matt has the talent and integrity to continue the momentum we've built, put his own stamp on the program, and meet the expectations that come with being the head coach at Murray State." McMahon's third Racer team posted a 26–6 record, winning Ohio Valley Conference regular-season and tournament championships. They were awarded a 12 seed in the 2018 NCAA Tournament, where they fell in the first round to West Virginia, 85–68. After the season, he was named National Association of Basketball Coaches District 19 Coach of the Year. In June 2018, Murray State awarded McMahon a contract extension through 2022. In his fourth year with the Racers he led future Top-3 NBA pick Ja Morant and his teammates to their second straight OVC title, after sharing the regular season title with Belmont. The team upset Markus Howard and Marquette in the Round of 64, before falling to Florida State in the NCAA Tournament. The team would finish the season with a 28-5 overall record, while going 16-2 in conference play.