This article is from the Table Tennis (Ping Pong) FAQ, by ttennis@bu.edu with numerous contributions by others.
14.1 The choice of ends and the right to serve or receive first in a
match shall be decided by toss.
14.2 The winner of the toss may:
14.2.1 Choose to serve or receive first, when the loser shall have the
choice of ends.
14.2.2 Choose an end, when the loser shall have the right to choose to
serve or receive first.
14.2.3 Require the loser to make the first choice.
14.3 In doubles, the pair who have the right to serve first in any game
shall decide which partner shall do so.
14.3.1 In the first game of a match, the opposing pair shall then decide
which partner will receive first.
14.3.2 In subsequent games of a match, the serving pair will choose their
first server and the first receiver will then be established
automatically to correspond to the first server as provided in Rule
16.6.
 
Continue to: