St. Louis Blues. During game three, he recorded his first goal of the series and included three shots on goal and a hit to beat the Blues 6–3. Philadelphia Flyers Hayes' negotiating rights were traded to the Philadelphia Flyers on June 3, 2019, for a fifth-round draft pick in the 2019 Entry Draft. Later, on June 19, the Flyers signed Hayes to a seven-year, $50 million contract with an annual average of $7.14 million. The trade to Philadelphia meant a reunion for Hayes and Vigneault, who was hired as the Flyers head coach after being fired from the Rangers in 2018. After a strong training camp performance on a line with James van Riemsdyk and Oskar Lindblom, Hayes made his debut in a preseason loss against the New York Islanders. He, Sean Couturier and Jakub Voráček were named alternate captains for the Flyers' 2019–20 season. Hayes scored his first goal with the team on a power play against the New Jersey Devils on October 9, 2019. Hayes played in all 69 regular season games, recording 23 goals and 18 assists by the time the NHL suspended the 2019–20 NHL season because of the COVID-19 pandemic. He recorded four short-handed goals and five game-winning goals, his career-best season in both. On July 6, 2020, Hayes was named the winner of the Gene Hart Memorial Award for the 2019–20 season, awarded to the player who displays the most "heart". When the NHL returned to play, Hayes was one of the 31 players invited to Toronto for the 2020 Stanley Cup playoffs, playing on a line with Scott Laughton and Travis Konecny. He recorded six assists in as many games against the Montreal Canadiens in the first round of the playoffs and scored one goal in game six to advance to the second round. The Flyers fell to the Islanders in the second round of the Eastern Conference playoffs; Hayes finished the playoffs with four goals and nine assists. Hayes was again named an alternate captain for the Flyers in the 2020–21 season, rotating the position with Voráček on away games, with Ivan Provorov serving as home alternate, and Couturier returning as permanent alternate. After a strong offensive start to the season, Hayes' performance began to slow, and he was disappointed in his won "average year", telling reporters, "I want to help the team every single night and I feel like I haven't