It can take a few minutes to nearly an hour to transfer all the data from an old iPhone to a new iPhone over WiFi. The time varies depending on how large the files are that you’re transferring and how fast the local internet connection is.