The swimmer who has won the most Olympic gold medals in history is Michael Phelps, an American swimmer widely regarded as one of the greatest athletes of all time. Michael Phelps achieved unprecedented success in the pool over the course of his Olympic career, accumulating a remarkable total of 23 gold medals.
I have answered in previous question about this.
Read More - Who won the most Olympic gold medals in swimming?