Firefox Account Server (FxA) is Mozilla's open-source identity backend behind Firefox Sync. See how it works, self-hosting steps, licensing and alternatives.
Researched and fact-checked by Bartu Cavusoglu · Updated July 18, 2026
Category
Productivity
Pricing
Open Source, from Free
Verified
Not yet
Last updated
July 18, 2026
Founded
2014
Headquarters
Mountain View, California, USA (Mozilla Corporation HQ)
Web AppiOSAndroidAPIOpen SourceSelf-Hosted
Overview
Firefox Account Server (FxA) is the open-source identity and authentication backend Mozilla built to power sign-in across Firefox Sync, Mozilla VPN, Pocket, Firefox Add-ons, and other Mozilla relying-party applications. It was rolled out starting around Firefox 29 in 2014 as the replacement for Firefox Sync's older pairing-code system, and the public-facing brand was renamed from 'Firefox accounts' to 'Mozilla accounts' in late 2023, though the accounts.firefox.com URL and underlying FxA codebase were intentionally kept unchanged.
The project lives in the mozilla/fxa monorepo on GitHub and is licensed under the Mozilla Public License 2.0. It is built primarily in TypeScript and JavaScript on Node.js, and is structured as a small set of cooperating microservices: a content-server for the sign-in UI, an auth-server for account and password logic, an oauth-server for OAuth 2.0 flows, and a profile-server for shared profile data.
Key Features
FxA's core technical distinction is its client-side key-stretching protocol (documented as 'onepw'), which combines PBKDF2 and HKDF on the client with a heavier server-side scrypt stretch, so the server never receives or stores a user's raw password and an attacker who steals the account database still faces an expensive scrypt work factor per guess.
The same key-derivation chain produces scoped encryption keys that let Firefox Sync data (bookmarks, history, saved passwords, open tabs) be encrypted end to end with keys the server cannot reconstruct on its own, and it exposes OAuth 2.0 so relying-party apps like Mozilla VPN and Pocket can request limited, scoped access instead of handling credentials directly.
Pricing
There is no purchase price, subscription, or paid tier for Firefox Account Server itself; it is free, open-source software under the MPL-2.0 license that anyone can clone, audit, and self-host. Mozilla runs its own production instance at no direct cost to end users, and organizations that choose to self-host instead pay only for their own infrastructure (servers, database, and, for full Sync compatibility, a self-hosted sync-1.5 storage server) plus the engineering time to deploy and maintain it.
Because it is infrastructure rather than a commercial product, there are no seat-based plans or feature-gated tiers to compare; the single relevant 'plan' is running the open-source stack yourself or relying on Mozilla's hosted Mozilla accounts service that ships with Firefox.
Key Features
Node.js microservices architecture — FxA is split into cooperating services, a content-server for the sign-in UI, an auth-server for account logic, an oauth-server for OAuth 2.0, and a profile-server for shared profile data, all built on Node.js and TypeScript in the mozilla/fxa monorepo.
Client-side key stretching (onepw protocol) — Passwords are run through 1,000 rounds of client-side PBKDF2 plus HKDF before ever reaching the server, and the server applies an additional scrypt-based stretch before storing a verify hash, so raw passwords are never transmitted or stored.
End-to-end encrypted Sync key derivation — The same key-derivation chain produces scoped encryption keys (kA and kB, later generalized as scoped keys) that let Firefox Sync data be encrypted with keys the server itself cannot reconstruct from stored data alone.
OAuth 2.0 support for relying parties — The oauth-server component implements OAuth 2.0 so that Mozilla products like Mozilla VPN and Pocket can request scoped, limited access to a user's account without ever handling that user's credentials directly.
Self-hostable reference implementation — The full stack can be cloned from GitHub and deployed independently of Mozilla's own servers, letting developers run a private, Firefox-Sync-compatible identity backend, provided they also stand up a matching sync-1.5 storage server.
Multi-platform client configuration — Desktop Firefox 52+, iOS 9.0+, and Android (Fennec) 44+ all expose preferences or settings toggles that let a self-hosted FxA instance's auth, content, OAuth, and profile server URLs be substituted for Mozilla's own.
Localized web sign-in experience — The content-server delivers the sign-in and sign-up flow, Terms of Service, and Privacy Policy in the user's preferred locale, reflecting Mozilla's broader multi-language localization program.
Publicly audited security model — Mozilla's security team published a public security audit of Firefox Accounts, and the onepw protocol and API surface are documented openly on the Firefox Ecosystem Platform docs and GitHub wiki for independent review.
Pros & Cons
Pros
Completely free and open source under the permissive-but-copyleft MPL-2.0 license, with no subscription, seat, or usage fees.
Cryptographic design (client-side PBKDF2/HKDF stretching plus server-side scrypt) has been publicly documented and independently audited, which is unusual transparency for an identity backend.
Proven at very large scale as the real authentication system behind hundreds of millions of Firefox and Mozilla product installations.
Fully self-hostable, giving privacy-focused teams and browser forks a way to run Firefox-Sync-compatible authentication without depending on Mozilla's own infrastructure.
Cons
Not a general-purpose identity platform, it lacks the admin dashboards, enterprise SSO, and broad protocol support of platforms like Auth0, Keycloak, or Ory.
Self-hosting requires running and coordinating multiple Node.js services plus a compatible sync-1.5 storage server just to get full Sync functionality working.
Documentation is written primarily for Mozilla's own internal use case rather than third-party adopters, which raises the learning curve for outside self-hosters.
No commercial support channel; help for self-hosters is limited to community Matrix chat rather than a dedicated support team.
Pricing
Open Source Free N/A
Frequently Asked Questions
What is Firefox Account Server (FxA)?
FxA is Mozilla's open-source, Node.js-based identity and authentication backend that lets users sign in once and use that account across Firefox Sync, Mozilla VPN, Pocket, and other Mozilla products. The public brand was renamed from 'Firefox accounts' to 'Mozilla accounts' in November 2023, but the underlying FxA codebase and accounts.firefox.com URL were kept unchanged.
Is Firefox Account Server free to use?
Yes. FxA is free, open-source software released under the Mozilla Public License 2.0. There is no purchase price or subscription; Mozilla's own hosted instance is free for end users, and self-hosters only pay for their own infrastructure.
Can I self-host my own Firefox Accounts server?
Yes. Mozilla publishes a 'Run your own Firefox Accounts Server' guide describing how to clone the mozilla/fxa repository and deploy your own auth-server and content-server instances. Because Mozilla's production Sync storage rejects assertions from non-Mozilla FxA instances, a full self-hosted setup also requires running your own compatible sync-1.5 storage server.
How does FxA protect user passwords?
FxA uses a protocol documented as 'onepw.' The Firefox client runs the password through 1,000 rounds of PBKDF2 and then HKDF before sending anything to the server, so the raw password never leaves the device. The server then applies an additional, much heavier scrypt-based stretch before storing a verify hash, meaning even a compromised database still requires expensive computation per password guess.
When did Firefox Accounts launch?
Firefox Accounts was introduced experimentally in early 2014 and became the default backend for Firefox Sync starting with Firefox 29, replacing Sync's older pairing-code-based setup, in a transition often referred to internally as 'Sync 1.5.'
What are the main alternatives to Firefox Account Server?
For general-purpose identity and authentication needs, comparable platforms include Auth0, AWS Cognito, Keycloak, Ory (Kratos and Hydra), Authelia, and SuperTokens. Unlike FxA, most of these are designed as broadly applicable identity platforms for any application, rather than being purpose-built around one browser vendor's Sync and relying-party ecosystem.
Tool pages we refreshed lately, from across the directory.
OXYGENUpdated Nov 29, 2026 Marketing · The agentic marketing and sales platform for B2B GTM teams. AI agents research accounts and run email, LinkedIn and…
17TRACKUpdated Oct 26, 2026 Ecommerce · 17TRACK is a package tracking platform that pulls shipment updates from 3500+ carriers into one place. It offers a…
Dealroom by SizleUpdated Oct 26, 2026 Documents & E-signature · Dealroom by Sizle is a secure workspace for high-value sales. It combines document sharing, buyer analytics, access…
TrainZillaUpdated Nov 29, 2026 AI · Personal trainer software with an AI that adjusts every client's workout and diet weekly while you approve. Unlimited…
CMGalaxyUpdated Oct 26, 2026 Marketing · CMGalaxy is an AI marketing platform that unifies ad data, first-party conversion tracking, full-funnel attribution…
HyperzodUpdated Oct 26, 2026 Ecommerce · Hyperzod is a white-label, no-code quick commerce platform that gives merchants a branded ordering website and…
FloorGenUpdated Nov 29, 2026 AI · Free floor plan maker: draw to scale in your browser with no sign-up, furnish it and walk through it in 3D. Exports…
FarmbriteUpdated Nov 30, 2026 ERP & Business Management · Farmbrite is an all-in-one cloud farm management platform that helps farmers and ranchers run crop, livestock, and…
EmbedAIUpdated Oct 26, 2026 AI Chatbots · EmbedAI adds an AI assistant to any website with one script tag. It learns from your site content and uploaded…
bondsUpdated Nov 29, 2026 Communication · your friends' chats, with superpowers. every chat gets its own bondi.