New York Yankees closer Mariano Rivera had surgery Tuesday on his right shoulder and is expected to resume throwing in three months, a month ahead of spring training.