Mayweather, who was guaranteed $32 million, was forced to fight every minute of all 12 rounds against the Puerto Rican champion. He did it after weighing in at 151 pounds, the heaviest he has ever been for a fight.
The weight didn't seem to affect Mayweather, and neither did the heavier 10-ounce gloves at super welterweight. But he took some punishment, including a bloody nose during the middle rounds, before coming back to dish some out in the later rounds.
"When you fight on pay-per-view you have to give the fans what they want, and that's excitement," Mayweather said.
Mayweather entered the ring unbeaten in his 16-year pro career, and a 6-1 favorite to stay that way. The fighter who has become the biggest pay-per-view attraction in the sport padded his already thick wallet with the fight, but he was forced to earn every penny of it.
The win gave Mayweather the 154-pound title held by Cotto, and assured him of still being a champion when he reports to jail June 1 for a sentence stemming from a domestic abuse case involving his former girlfriend and their children.
"In life there's obstacles," Mayweather said. "When it comes to June 1, I have to accept it like a man."
Mayweather will be in jail when Manny Pacquiao fights in the same ring June 9 at the MGM Grand against Timothy Bradley. Though boxing fans have clamored for a Mayweather-Pacquiao fight, it has yet to be made — and may never be made.
That's partly because of Mayweather's insistence that Pacquiao submit to Olympic-style drug testing, though Pacquiao has already said he will do that.
"I want to fight Pacquiao but he needs to take the tests before we make that fight," Mayweather said.
Cotto came out looking slow and overmatched in the first round, but quickly settled into a routine, attacking Mayweather from behind his left jab. But Mayweather got more aggressive coming out to start the fourth round, and landed a series of rights to the head that stunned Cotto and kept him from moving forward effectively.
Mayweather fought good portions of the fight on the ropes, using them for leverage and counterpunching to Cotto's head when he opened up. He was not only quicker than Cotto, but more accurate, often landing in between Cotto's defenses.
"He's ready to quit," trainer Roger Mayweather told his nephew after the sixth round.
But Cotto was relentless, coming forward and hitting Mayweather with good shots to the head. Toward the end of the eighth round he landed several punches to the head, prompting Mayweather to shake his head as if they didn't hurt, but by then Mayweather was bleeding from the nose and looked like he had taken some punishment.
Punch stats showed Mayweather landing 179 of 687 punches to 105 of 506 to Cotto.
Cotto, who fell to 37-3, was guaranteed his biggest purse ever, $8 million.