Export & Import Private Keys Between Wallets

Try Tangem secure wallet →

Table of contents


Quick summary

This guide shows how to move a private key from Trust Wallet to MetaMask, and how to export or import a private key in MetaMask on both desktop and mobile. It sticks to the practical steps you actually need, plus explicit warnings where things go wrong. I’ve done this several times while consolidating accounts for daily DeFi use. Short version: export carefully, import carefully, then test with a tiny transfer.

Why export/import private keys?

You might export a private key for several reasons: migrate an account to a different app, recover an account that isn’t covered by a seed phrase, or split control across devices. Importing a private key into MetaMask gives you immediate signing access with the same address — no seed phrase derivation required.

But there’s a trade-off. Private keys are a single-string secret. If anyone else sees it, they control the funds. Hardware wallets avoid this risk by keeping keys offline; software wallets do not. Ask yourself: do you need the convenience of a hot wallet, or the security of cold storage?

Security checklist (before you touch a private key)

And yes, copy-paste is dangerous. I’ve lost time and money copying keys to an exposed clipboard. Don’t be that person.

See Backup & recovery options and Security best practices for deeper reads.

Step-by-step: Export a private key from Trust Wallet

Note: menu labels change across app versions. The pattern below reflects the common flow — the app will ask for your PIN or biometric before revealing a private key.

  1. Open Trust Wallet on your mobile device.
  2. Go to Settings → Wallets (or the wallet/account list screen).
  3. Select the account you want to export (tap the three dots or the account name).
  4. Choose the option to show or export the private key (the app will require your PIN/biometric).
  5. The app will display a private key string (a 64-hex-character string, sometimes prefixed with 0x). Do not share it. Do not paste it into a browser.
  6. If you must move it to another device, prefer an air-gapped transfer (QR or a local cable). If you use the clipboard, clear it immediately after use.

Screenshot placeholder: ![Export private key screen — placeholder alt text]

If you don’t see an option to export a private key, the wallet may only allow seed phrase export. In that case, restore the seed phrase in the destination wallet instead or follow the migrate from Trust or Coinbase guide.

Step-by-step: Import a private key into MetaMask (desktop/browser)

  1. Install and unlock MetaMask in your browser. (Follow install-extension if needed.)
  2. Click the account circle in the top-right, then choose "Import Account."
  3. Select "Private Key" as the import method. Paste the private key string you exported.
  4. Click Import. MetaMask will add the account as an imported account (it won’t be part of your seed phrase).
  5. Verify the address shown matches the source wallet address.
  6. Send a small test transaction (e.g., 0.001 ETH or token equivalent) to confirm signing and network settings.

Note: imported accounts in MetaMask are not derived from your MetaMask seed phrase. If you reset MetaMask and only have the MetaMask seed, imported accounts will not be restored unless you also saved their private keys.

Step-by-step: Import a private key into MetaMask (mobile)

  1. Open the MetaMask mobile app and unlock it. (See setup-mobile if this is your first time.)
  2. Tap the account avatar or the three-dot menu next to the account list, then choose "Import Account."
  3. Choose the private key option and paste the private key string. For some versions you may need to add or remove the 0x prefix.
  4. Confirm and check that the address matches the Trust Wallet address.

Important tip: the phrase private key string metamask mobile describes the raw hex string MetaMask mobile accepts. Avoid extra spaces or line breaks. If the app rejects the key, re-check for any accidental characters.

Verify, test, and common mistakes

I once imported a private key without testing gas settings and paid double the gas because I was on the wrong network. Learn from my mistakes.

Quick comparison: MetaMask vs Trust Wallet vs hardware wallet

Feature MetaMask (extension & mobile) Trust Wallet (mobile) Hardware wallet (cold)
Can import a private key Yes (Import Account) Yes (export private key from app) Generally no (keys stay on device)
Can export a private key Yes (Account → Export Private Key) Yes (requires PIN/biometric) No (designed not to)
Mobile-friendly Yes Yes Limited (requires companion app)
Best for daily DeFi use Yes Yes Not ideal for quick mobile swaps (but most secure)
Recommended for long-term holding Use with hardware for best safety Use with hardware for best safety Best (keeps private keys offline)

This table focuses on private-key handling, not feature parity. For other comparisons see vs-trust-wallet and hardware-wallets.

FAQ

Q: Is it safe to keep crypto in a hot wallet? A: Hot wallets are convenient for DeFi and daily swaps, but they expose keys to the device. For large balances use a hardware wallet. For general safety see security-best-practices.

Q: How do I revoke token approvals after importing an account? A: You can revoke approvals in the same way as any account. Use on-chain tools or see our guide on revoke approvals.

Q: What happens if I lose my phone after importing a private key? A: If the account is only stored as an imported private key and you didn't save that key elsewhere, you can't recover it. That’s why backing up either the seed phrase or the private key beforehand is critical—see backup-and-recovery-options.

Q: Should I import multiple private keys into MetaMask or restore a seed phrase? A: If accounts are all derived from one seed phrase, restoring the seed is cleaner. Importing many separate private keys becomes hard to manage and may not be restored by a single seed.

Bottom line and next steps

Exporting and importing private keys between Trust Wallet and MetaMask is a straightforward process, but the risk is high if you skip the safety steps. Do a test transfer. Keep backups. Prefer hardware wallets for large balances.

If you want step-by-step setup help, check setup-desktop or setup-mobile. To move multiple accounts or migrate tokens and NFTs, see migrate-from-trust-or-coinbase and migrate-nfts-between-wallets.

If you’d like a checklist PDF or a printable safety sheet, grab one from the site’s resources (link at the top of the page). But don’t rush this—take the time to secure the keys before moving real funds.

Try Tangem secure wallet →