Michigan has agreed on a contract extension with coach Tracy Smith to keep him in Ann Arbor through the 2031 season.