Why iPhone Firefox Lacks Gecko: Mozilla's Critique
In this article
Firefox on iPhone does not use Mozilla's Gecko engine because Apple requires all iOS browsers to use WebKit, and Mozilla publicly criticizes this policy as anti-competitive and harmful to web standards. The restriction, enforced since the App Store's launch, means Firefox for iOS is essentially a Safari wrapper, not a true Firefox browser.
The Root: Apple's WebKit Mandate
Since the iPhone's debut in 2007, Apple has required all third-party browsers on iOS to use its WebKit engine as the underlying rendering and JavaScript engine. This policy is part of the App Store Review Guidelines (specifically guideline 2.5.6), which states that apps that browse the web must use the appropriate WebKit framework and WebKit JavaScript. This means that even if a developer like Mozilla wants to ship its own engine, it cannot—Apple will reject the app.
The mandate applies to the entire browsing experience: the rendering engine, the JavaScript engine, and the networking stack must all be WebKit. This is why Firefox, Chrome, Edge, and all other iOS browsers are essentially different skins over Safari's engine, with their own UI, bookmarks, and sync features, but the same core technology underneath.
Why Mozilla Criticizes Apple
Mozilla has been one of the most vocal opponents of Apple's WebKit-only policy. The company argues that the restriction:
- Stifles innovation: Without competition among engines, browser performance and features develop at the pace Apple allows, not at the pace the broader web community could achieve.
- Harms web standards: Gecko and other engines contribute to the evolution of web standards by implementing new proposals and finding bugs. If all iOS users are locked into WebKit, the diversity of implementations that drives standards development is reduced.
- Violates user choice: Users on iOS cannot choose a browser that uses a different engine, even if they prefer Firefox's privacy features or Gecko's rendering behavior.
Mozilla has repeatedly called on Apple to lift the restriction, arguing that it is anti-competitive and goes against the open web principles that both companies claim to support. In 2021, Mozilla submitted a comment to the UK's Competition and Markets Authority (CMA) stating that Apple's WebKit requirement “stifles innovation” and “harms consumers.”
Technical Differences: Gecko vs. WebKit
Gecko is Mozilla's open-source rendering engine, used in Firefox desktop and Android versions. It is designed to be fast, standards-compliant, and privacy-focused. WebKit, originally derived from Apple's KHTML, is the engine behind Safari and all iOS browsers. The two engines have different architectures, performance characteristics, and support for certain web features.
For example, Gecko has its own JavaScript engine called SpiderMonkey, while WebKit uses JavaScriptCore. These engines can behave differently on the same web page, which is why developers sometimes see inconsistencies between Firefox and Safari. On iOS, because Firefox uses WebKit, it renders pages exactly like Safari, which can be a problem for users who prefer Firefox's rendering or privacy extensions that rely on Gecko-specific features.
What Mozilla's Criticism Focuses On
Mozilla's critique is not just about Firefox's own fate; it's about the broader health of the web. The company has argued that Apple's policy creates a “monoculture” on iOS, where one engine controls the experience for hundreds of millions of users. This monoculture means that if a security flaw is found in WebKit, it affects all iOS browsers simultaneously, with no alternative engine to fall back on.
Mozilla also points out that the policy is inconsistent with Apple's own stance on privacy. While Apple markets Safari as a privacy-focused browser, Mozilla argues that true privacy should include the choice of which engine processes your browsing data. By forcing WebKit, Apple controls the entire rendering pipeline, including any potential data collection or telemetry.
In its public statements, Mozilla has emphasized that it does not want special treatment; it simply wants the same opportunity to compete on iOS as it has on desktop and Android, where users can install Firefox with Gecko.
How Firefox for iOS Actually Works
Because of the WebKit mandate, Firefox for iOS is essentially a re-skinned Safari. It uses WebKit for rendering, but Mozilla's own code handles the user interface, bookmarks, history, and sync with Firefox accounts. This means that features like tracking protection, private browsing, and password management work, but they are implemented on top of WebKit, not Gecko.
For example, Firefox for iOS supports content blockers that use WebKit's native content-blocking API, not Gecko's internal mechanisms. Similarly, the “Enhanced Tracking Protection” in Firefox for iOS is a list-based blocker that works within WebKit, not the more sophisticated engine-level protections available on desktop.
This approach allows Mozilla to offer a consistent Firefox experience across platforms, but it also means that some Firefox features are missing or behave differently on iOS. For instance, you cannot install Gecko-based extensions on iOS Firefox; only a limited set of WebKit-compatible extensions are available.
Possible Changes: The Digital Markets Act
The situation may change in the European Union due to the Digital Markets Act (DMA), which came into force in 2024. The DMA designates Apple as a “gatekeeper” and requires it to allow alternative browsers and engines on iOS. As a result, Apple has announced that it will allow third-party browser engines in the EU, starting with iOS 17.4. This means that in the EU, users will be able to install Firefox with Gecko, or Chrome with Blink, for the first time.
However, this change is limited to the EU. In the rest of the world, Apple's WebKit mandate remains in place. Mozilla has welcomed the EU's move but continues to push for a global change, arguing that all users should have the same choice.
It is important to note that even with the EU change, Mozilla will need to invest in maintaining a Gecko-based iOS version, which is a significant engineering effort. As of early 2025, Mozilla has not yet released a Gecko-based Firefox for iOS, but it has said it is working on it.
Common Misconceptions
One common misconception is that Firefox for iOS is a “real” Firefox because it shares the name and sync features. In reality, the core engine is not Mozilla's, which means that some web pages may render differently than on desktop Firefox, and some privacy features are less robust.
Another misconception is that Apple's policy is about security. Apple has claimed that allowing third-party engines would compromise iOS security and performance. However, Mozilla and other critics argue that modern engines like Gecko are just as secure, and that the policy is more about protecting Safari's market share.
Finally, some users think that they can “change” the engine by changing a setting in Firefox for iOS. This is not possible—the engine is fixed at the system level, and no user setting can override it.
Frequently Asked Questions
Can I install Gecko on my iPhone?
No, not currently outside the EU. Apple's App Store policy prohibits any browser from using a non-WebKit engine. In the EU, after the DMA, Apple has allowed alternative engines, but Mozilla has not yet released a Gecko-based Firefox for iOS as of early 2025.
Does Firefox for iOS have the same privacy features as desktop Firefox?
No, not exactly. While it includes tracking protection and private browsing, the implementation is limited by WebKit's capabilities. For example, it cannot block trackers at the engine level, and some advanced privacy features are not available.
Why does Mozilla say Apple is anti-competitive?
Mozilla argues that forcing all browsers to use WebKit eliminates competition in the browser engine market, which reduces innovation and user choice. It also gives Apple an unfair advantage because Safari is pre-installed and uses the same engine that all other browsers must use.
Will Firefox for iOS ever use Gecko?
Possibly, but only in the EU for now, due to the Digital Markets Act. Mozilla has announced plans to bring Gecko to iOS in the EU, but there is no confirmed release date. For the rest of the world, it depends on Apple changing its global policy, which seems unlikely in the near term.
Is there any way to get a Gecko-based browser on iPhone without jailbreaking?
No, not through normal means. The only way would be to sideload an app, which requires a developer account or a third-party app store, and even then, Apple's code signing requirements would likely prevent it. In the EU, after the DMA, users can install alternative app stores, but Gecko-based browsers are not yet available.
In summary, the lack of Gecko in iPhone Firefox is a direct result of Apple's WebKit-only policy, which Mozilla criticizes as harmful to competition and the open web. While the EU's DMA is forcing a change, the rest of the world remains under Apple's thumb, and true Firefox on iPhone is still a distant possibility.