Phelps retired after the London 2012 Olympics, where he took his career haul to 18 gold medals, but came out of retirement two years later.
He was banned for six months after being arrested for drink driving and speeding, missing the 2015 world championships, but subsequently qualified for the 100 and 200 meters butterfly plus the 200m individual medley.