A walk-off in baseball happens when the home team scores the go-ahead run in the bottom of the ninth or extra innings to end the game. The batter who drives home the game-winning run with a hit or walk is only required to touch first base since the game is over once the baserunner touches home plate.