Trezor Bridge® | Connect Your Trezor to Web Browsers

Trezor Bridge® — Connect Your Trezor to Web Browsers

Trezor Bridge® — Connect Your Trezor to Web Browsers

A small background bridge that creates a secure, local connection between your Trezor hardware wallet and browser-based apps. Fast, minimal, and privacy-first — built for interacting with the web while your device stays offline and safe.

Official • Secure

What is Trezor Bridge?

v2.x • Cross-platform
Local host connector
Bridge runs locally on your machine and allows browser-based wallets to talk to your Trezor device without exposing secrets to the web.
Browser-compatible
Works with Chrome, Edge, Firefox (with Native Messaging), and other modern browsers using secure host messaging APIs.
Small & focused
Lightweight binary, minimal permissions, automatic updates available through official releases.

Why you need it

Browser security models intentionally isolate web pages from direct hardware access. Trezor Bridge creates a deliberate, permissioned pathway so that dapps and wallets can open a channel to your Trezor device — but only after your explicit consent. This preserves the security model of the hardware wallet while enabling modern, convenient web integrations.

How it works — short version

When installed, Bridge listens on a local endpoint (localhost / native messaging) and accepts strictly typed requests from authorized browser clients. When a request requires a user action (e.g., sign transaction), the Trezor device prompts for physical confirmation. Private keys never leave the Trezor.

// Example: a browser wallet calls Bridge
fetch('http://localhost:21324/x/trezor-connect', {method:'POST', body: JSON.stringify({path: 'm/44\'/0\'/0\'/0/0'})})
// Bridge forwards to Trezor device via USB and returns the result to the browser.

Supported platforms

Windows
7/8/10/11 (x64/x86). Installers and MSI available.
macOS
Intel & Apple Silicon (universal binaries). Use the .dmg installer.
Linux
Deb, RPM packages, and AppImage for many distros.

Installation — detailed

Windows

Download the .exe installer. If you see a SmartScreen or driver prompt, confirm the action — Bridge needs to register a local service and may require driver installation for older devices. After install, Bridge runs as a background process and registers the native messaging host for supported browsers.

macOS

Mount the .dmg, drag Bridge to Applications, and open it. On first start macOS will ask for permission to run an app downloaded from the internet — confirm. For Apple Silicon, use the universal binary or Homebrew formula where available.

Linux

Most distributions can use a .deb or .rpm package. AppImage provides a portable option. After installation, you may need to add a udev rule to allow non-root access to USB devices (the package usually installs this for you). If your browser supports native messaging, Bridge will register the host automatically.

Troubleshooting & common issues

My browser can't detect the device — what do I do?
Make sure Bridge is running (check system tray / process list). Restart your browser. Confirm USB cable and port are working (try a different cable/port). For Linux, check udev rules. Finally, ensure the latest firmware on your Trezor is compatible.
Bridge says "connection refused" or "port in use"
A different application may be using the same local port. Restart Bridge or your computer. If you have multiple Bridge versions installed, remove old copies and use the official installer.
I see a Native Messaging error in the browser console
Native messaging hosts are registered in a browser-specific directory. Reinstall Browser extensions or re-run the Bridge installer with admin privileges so registration succeeds.
Bridge crashed after an OS update — how to restore?
Reinstall the latest Bridge release. Ensure that OS security settings (like Gatekeeper on macOS) permit Bridge to run. In Windows, run the installer as Administrator to re-register services.

Security & privacy

Bridge is intentionally minimal: it forwards typed requests between browser and device and does not collect or transmit your keys, transaction data, or personal information to external servers. When you approve an action on-device, the device signs locally and returns only the necessary public payloads to the requesting app. Always download Bridge from the official Trezor website and verify checksums/signatures when possible.

Best practices

  • Only install Bridge from the official site or verified package repositories.
  • Keep firmware and Bridge up to date.
  • Use verified browser wallets and double-check origin URLs before approving requests on the device.
  • When not in use, unplug your Trezor and close Bridge if you prefer an extra layer of physical isolation.

Developer notes

Developers building browser integrations should use the Trezor Connect library or call Bridge's local API following the published JSON-RPC schema. Bridge enforces CORS-like checks and origin validation — requests from unknown origins will be rejected until the user grants permission via a browser prompt.

{
  "type": "call",
  "method": "getAddress",
  "payload": {"path":"m/44'\/0'\/0'\/0/0"}
}
        

Test with the official Trezor Suite and example wallets to verify behavior across browsers. When distributing a dapp, include clear instructions for users about Bridge installation and permissions.

FAQ

Do I always need Bridge to use my Trezor?
No — Bridge is required only for browser-based interactions that cannot access the device directly. Trezor Suite (desktop) and some native apps communicate with the device without Bridge.
Is Bridge open source?
Yes — the Bridge source is published under an open-source license. Inspect the code, build from source, or consult official repositories and release notes for full transparency.
Can Bridge auto-update?
Depending on your OS and the installer you choose, Bridge can offer automatic updates. You can also check release notes and download updates manually.

Change log (high level)

  • v2.0 — Modernized native messaging, improved multi-OS packaging, performance improvements.
  • v1.x — Initial cross-platform support and USB stability fixes.

For detailed release notes and binary checksums, always consult the official Trezor releases page.

Trezor Bridge®
Secure local connection for browser-based wallets
Download
© Trezor

Read more