Wiki source

Once all of a player's (or team's) group of object balls are pocketed, the player attempts to sink the 8 ball. In order to win the game the player first designates which pocket the 8 ball will be pocketed into and then successfully pockets the 8 ball into that pocket. If the player knocks the 8 ball off the table then the player loses the game. If the player pockets the 8 ball and commits a foul or pockets it into another pocket than the one designated, then the player loses the game. (For regional amateur variations, such as fouling while trying to pocket the 8 ball resulting in instant loss despite not pocketing the 8 ball, see "Informal rule variations", below. ) Otherwise (i. e. , if the 8 ball is neither pocketed nor knocked off the table) the shooter's turn is simply over, even if a foul occurs. In short, a World Standardized Rules game of eight-ball, like a game of nine-ball, is not over until the "money ball" is no longer on the table. This rule may be unfamiliar to some bar and league (e. g. , APA) players, for whom such a foul normally means losing the game. The rule has been increasingly adopted by amateur leagues, including VNEA beginning with the 2008/2009 season, BCAPL, and USAPL.