The school announced the deal Friday. It replaces a previous contract that ran through June 2018.
Other perks include bonuses for regular-season and conference tournament titles, Final Four appearances, a national championship and winning AP coach of the year.
Self led Kansas to the 2008 national title. The Jayhawks lost to Kentucky in the championship game in April.