Alpaca Login: Sign In, Two-Factor Codes and Getting Back In

You sign in to Alpaca at app.alpaca.markets with your email and password. On a device Alpaca does not recognize, it also asks for a 6-digit code from an authenticator app if you have turned that on. A live account needs it turned on before you can fund or trade. This page covers where to sign in, when the code is asked for, how to set it up, how to get back in if you are locked out, and why a trading bot does not log in this way at all.
Where to sign in to Alpaca
Alpaca's sign-in page is at app.alpaca.markets. It asks for two things: your email and your password. It also has a Remember me box, a Forgot Password? link and a link to create an account.
One sign-in covers both sides of an Alpaca account. The same dashboard holds your live account and your practice account, which Alpaca calls paper. How to open an Alpaca account is covered here, and the practice account has its own guide.
If you have just signed up and cannot get in, check your inbox first. Alpaca's registration guide says that after signing up "you should receive an email that requires a confirmation from your side".
Three ways into an Alpaca account
Signing in on the website is only one of them. Alpaca's guide to multi-factor authentication, dated October 15, 2026, sets out which key opens which door.
| Way in | What it uses | Asks for a 6-digit code? |
|---|---|---|
| The web dashboard | Email and password | Yes, on an unrecognized device or when you manage security settings |
| The trading API, with keys | A key ID and a secret key | No |
| A connected third-party app | Access tokens issued when you approve the app | No, after the approval. Approving an app on a live account needs MFA set up |
Alpaca draws the line plainly: "MFA applies strictly to interactive web logins on the Alpaca Dashboard. Programmatic API endpoints do not challenge for interactive TOTP tokens." TOTP is the kind of code an authenticator app shows, a new one every 30 seconds.
When Alpaca asks for a code
Alpaca's guide says: "Multi-Factor Authentication (MFA) protects your web dashboard." The code comes up in two situations.
- A new device. The guide lists "Recognized devices skip MFA challenges". On a device Alpaca has not seen, it asks for the code after your password.
- Sensitive actions. The guide names these as needing MFA: linking a bank account, starting a deposit or withdrawal, viewing funding and transfer history, moving an account by ACATS, creating or replacing live API keys, approving third-party apps, and managing crypto wallet lists and crypto transfers.
Whether you must turn it on depends on the account.
| Account | MFA | What Alpaca's guide says |
|---|---|---|
| Paper account | Optional | Encouraged, but not required |
| Live brokerage account | Needed to use it | You can open the account without it, but it must be on to deposit, trade and withdraw, to create API keys and to connect third-party apps |
| Crypto wallet lists | Mandatory | Required to add or remove wallet addresses |
The guide puts the live rule this way: "For all accounts created after June 2024, enabling MFA is a prerequisite before funding and trading on a live brokerage account."
Alpaca's two pages do not fully agree on the practice account. The October 2026 guide calls MFA optional there. The registration guide, last updated January 26, 2026, says: "Before you can begin using Alpaca's Trading API (paper or live), you must set up MFA for account security." If the dashboard asks you to activate it before you can go further, that is the stricter of the two at work.
How to set up the code
Alpaca's guide gives these steps.
- Get an authenticator. Alpaca lists Google Authenticator, Microsoft Authenticator, 2FAS and Aegis, and the code feature in 1Password, Bitwarden, Dashlane and Apple Passwords.
- Open the security page. Sign in to the dashboard and go to Profile, then Security. Find the Two-Factor Authentication section.
- Click Activate. A QR code and a secret key appear. Scan the QR code with your authenticator app, or paste the secret key into your password manager.
- Confirm. Enter the 6-digit code your app shows and click Confirm.
- Save the recovery code. The dashboard then shows one single-use Emergency Recovery Code. Store it somewhere safe and offline or in a password manager.
- Test it. Open a private browser window, go to app.alpaca.markets, and sign in. Alpaca says not to test with the recovery code.
Text-message codes are not offered to new set-ups. The guide says "SMS is not supported for new MFA configurations due to SIM-swap vulnerabilities", though older accounts may still have them. Physical security keys, in its words, "are not natively integrated into the web dashboard at this time".
If Alpaca rejects your code
The usual cause is the clock on your phone. The codes are worked out from the current time, and the guide says: "Alpaca authentication servers accept TOTP codes within a +/- 30-second window."
- Wait for the next code, which arrives within 30 seconds, and enter that one.
- In your phone's date and time settings, turn on Set Automatically.
If you lose your phone
This is what the recovery code is for. The guide is blunt about it: "Alpaca issues ONE emergency recovery code upon completing setup." It adds that "this code is the only self-service recovery mechanism on the MFA challenge screen".
- Go to the sign-in page and enter your email and password.
- On the code screen, click Use Recovery Code.
- Enter the saved code. The dashboard shows the message "MFA has been disabled" and takes you in.
- Go straight back to Profile, then Security, and set up your new device. That gives you a fresh recovery code.
If you are locked out completely
With no phone and no recovery code, the only route is Alpaca's support. The guide says to contact the Alpaca Support Portal, and: "Support will initiate a manual identity verification protocol before resetting your authentication settings."
One warning from the same page is worth keeping in mind while you wait: "Alpaca Support will NEVER ask you for your password, API secret key, TOTP verification codes, or recovery codes over email, phone, or tickets." A message that asks for any of those is not from Alpaca.
If you forgot your password
The sign-in page has a Forgot Password? link under the password box. We did not find an Alpaca help page that lists the steps after it, so this page does not describe them. Your email address is your sign-in name, so start with the address you registered.
Why a trading bot does not log in
Automated trading does not go through the sign-in page. Alpaca's authentication docs describe sending a key ID and a secret key with each request. The MFA guide confirms those requests never see a code prompt, and adds: "Dashboard MFA lockouts do not interrupt background trading scripts."
- Being locked out of the dashboard does not stop a running script. Its keys keep working.
- A 401 error is about keys, not codes. In Alpaca's words: "A 401 error indicates invalid API credentials, not an MFA failure."
- New live keys need MFA. You create keys inside the dashboard, and the guide says creating or replacing live keys requires it.
- The secret key is as sensitive as a password. The guide says "API secret keys must be treated with the same confidentiality as a master password". What the keys are and what they cost is covered here.
Third-party apps can also connect by sign-in. Alpaca's OAuth docs say: "Alpaca implements OAuth 2.0 to allow third party applications to access Alpaca Trading API on behalf of the end-users." In that flow you are sent to Alpaca to sign in and approve the app on Alpaca's own page. You enter your password on Alpaca's page, not in the app.
How JorgAI connects to Alpaca
JorgAI connects to an Alpaca account with API keys. You create a key in the Alpaca dashboard and enter the key ID and secret once in JorgAI's settings. The setup is covered step by step here.
From there the rules you set decide what gets placed and when it exits: the stop, the position size and the daily loss limit. Who holds an Alpaca account and what protects it is here. You can set up your rules here.
Quick answers
Where do I log in to Alpaca?
At app.alpaca.markets, with your email and password.
Does Alpaca require two-factor authentication?
For a live account, in practice yes. Alpaca's guide says MFA must be on to deposit, trade and withdraw, and it is a prerequisite for accounts created after June 2024. For a practice account the guide calls it optional.
Can I get Alpaca codes by text message?
Not on a new set-up. Alpaca's guide says SMS is not supported for new MFA configurations. It uses authenticator apps.
What if I lost my phone and cannot log in to Alpaca?
Use the single recovery code Alpaca gave you at set-up. Click Use Recovery Code on the code screen. Without it, contact Alpaca's support, which verifies your identity before resetting.
Will turning on MFA break my trading bot?
No. Alpaca's guide says MFA applies to web logins on the dashboard and that API requests are not asked for a code.
Does Alpaca ask for my code or password by email?
No. Alpaca's guide says its support will never ask for your password, API secret key, codes or recovery codes.
Is the login the same for live and practice accounts?
Yes. One sign-in opens the dashboard, which holds both.
How we put this together. Everything here is from Alpaca's own pages, read December 3, 2026: its guide to multi-factor authentication (October 15, 2026), its sign-in page, its registration guide (updated January 26, 2026) and its authentication and OAuth documentation. Where two Alpaca pages differ, both are shown. Alpaca can change these rules, and its own pages are the authority.
JorgAI is software that carries out the rules you set in your own brokerage account. It is not investment advice and does not predict or promise results. Alpaca is a trademark of its owner, and JorgAI is not affiliated with or endorsed by Alpaca. Trading involves risk of loss.
More in Getting Started
Keep reading
Let the AI do the trading.
Set it up in minutes. 7 day free trial on Starter, Plus and Pro.
Get started freeGet the weekly market read and new tools by email
One email a week: what moved, what the data says, and the next free tool when it ships. No spam, unsubscribe in one click.
More from the blog
Every other post, newest first
373 more posts
Stops, targets and a daily loss limit, enforced for you.
JorgAI runs the rules you set inside your own brokerage account. Zero withdrawal permissions, disconnect anytime.
Showing 18 of 373. Keep scrolling.




















