A domain transfer and a website migration are different operations. Separating them mentally prevents many avoidable surprises.

The registrar and the hosting company have separate roles
A registrar manages the domain registration; a hosting provider serves website files and databases. They can be the same company, but moving a site to another server does not inherently require moving the domain registration. I decide which service actually needs to change before touching any account.
Gather the records before touching the transfer
I save the existing nameservers, DNS zone, renewal details, and account contacts. Depending on the domain, a transfer may require unlocking the registration and obtaining an authorization code. Policies and eligibility periods vary. I consult the current rules for the relevant extension.
Protect the email route
The domain’s email service might depend on records maintained by the old DNS host. If nameservers change unexpectedly, website traffic may recover while mail remains broken. I verify MX, SPF, DKIM, and DMARC values after any DNS cutover and perform a real send-and-receive test.
Keep rollback options realistic
A registrar transfer is not necessarily an emergency-friendly operation, and it is not the same as switching nameservers. For a website migration I often prefer to stabilize the new host first, then update DNS in a planned window. I avoid stacking several risky changes into a single afternoon.
A concrete example
If your only problem is slow hosting, test the new hosting account and update the appropriate DNS records; a registrar transfer may be unnecessary.
A mistake I would avoid
Changing registrar, nameservers, mail provider, and web server together makes troubleshooting much harder.
My practical next step
List exactly what is moving: registration, DNS hosting, website hosting, or email. Perform only the required moves.
Sources and further reading
Technical reference: ICANN — Domain Name Registrants. The commentary and example above are original editorial writing; the illustration was created specifically for this article.