Swimming at the 2017 World Aquatics Championships – Men's 400 metre individual medley

The Men's 400 metre individual medley competition at the 2017 World Championships was held on 30 July 2017.

Records
Prior to the competition, the existing world and championship records were as follows.

The following new records were set during this competition.

Heats
The heats were held at 09:50.

Final
The final was held at 17:39.