Getting Started
Magic Link Setup: Passwordless Email Login for WordPress
Want passwordless login in WordPress without writing code? Magic Link lets users sign in with a secure link sent to their email instead of a password. Install the plugin, enable it in Magic Link → Settings → General, add the button to your login form, and test a sign-in in a few minutes. Magic Link is email-based: every sign-in link is delivered by email.
What is Magic Link?
Magic Link is a WordPress plugin that adds passwordless, email-based login to your site. A user enters their username or email, receives a one-time sign-in link by email, and clicks it to log in. All the core login features covered on this page are free.
Install and Activate
- In WordPress admin, go to Plugins → Add New.
- Search for Magic Link.
- Click Install Now, then Activate.
After activation, a Magic Link item appears in the admin menu.
Basic Setup
- Go to Magic Link → Settings → General.
- Turn on Enable Magic Link (on by default).
- Set Token Lifespan — a number plus a unit (Minutes, Hours, or Days) that controls how long a link stays valid. The default is 5 minutes; the accepted range is 1–1440 minutes.
- Set Token Validity — how many times a single link may be used. The default is 1 (single-use).
- Turn on Show on Login Form so a magic-link button appears on
wp-login.php. - Click Save.
First Test
- Open your site login page at
/wp-login.php. - Click the magic-link button.
- Enter your username or email address.
- Open your inbox and click the sign-in link.
- On the "confirm it's you" page, confirm to complete sign-in.
If the login succeeds, your setup is complete. The confirmation step is Intent Confirmation, a free protection that is on by default and stops email scanners from consuming a one-time link before the user clicks it.
Next Steps
- Log in from the WordPress login screen
- Add a login form with a shortcode
- Make Magic Link the default login method
- Compare free vs PRO features
Conclusion
You now have passwordless email login running in WordPress: the plugin is active, magic links are enabled, and a button on your login screen lets users sign in without a password. From here, learn how email magic-link login works, add a login form anywhere with the shortcode, or explore the free vs PRO features. If a link never arrives, see Troubleshooting.
FAQs
Is Magic Link free to use?
Yes. Core passwordless email login is free, including Enable Magic Link, Token Lifespan, Token Validity, Show on Login Form, a single login redirect, and Intent Confirmation scanner protection. Paid PRO plans add email template customization, security controls, integrations, a REST API, and webhooks. You can set up and test passwordless login entirely on the free version.
Do users still need a password?
No. Once Magic Link is enabled, a user can request a sign-in link by email and log in by clicking it, without typing a password. The standard username and password form still appears alongside the magic-link button unless you turn on Force Magic Link Login, which makes the magic link the default method.
How long does a magic link stay valid?
By default a link is valid for 5 minutes and can be used once. You control both in Magic Link → Settings → General: set Token Lifespan to a number plus a unit (Minutes, Hours, or Days, with a 1–1440 minute range) and set Token Validity to the number of times a link may be used.
Does Magic Link work with SMS or QR codes?
No. In the current version Magic Link delivers every sign-in link by email only. There is no SMS or QR-code login in the plugin. If a user does not receive their link, check spam and your site's email delivery, then see Troubleshooting.
What is the "confirm it's you" page?
It is Intent Confirmation, a free feature that is on by default. When a user clicks a magic link, a short confirmation page appears before sign-in completes. This prevents automated email scanners, such as Outlook Safe Links, Mimecast, and Proofpoint, from silently consuming the one-time link before the real user opens it.