If Your MetaMask Wallet Was Compromised

Try Tangem secure wallet →

Table of contents

If Your MetaMask Wallet Was Compromised

You opened MetaMask and noticed strange transactions. Or a friend messaged: “someone hacked my metamask wallet.” What now? Short answer: act fast, assume the account is controlled by someone else, and treat the wallet like a leaking pipeline — stop more water from flowing out and try to recover what's left.

I've handled a few real incidents. I paid attention to mempool race conditions once and lost a small amount because I hesitated. Learn from that.

Quick checklist — first 5 minutes

And take screenshots for evidence. But don’t panic — act.

Assess the breach: what was taken and how

Two common scenarios:

  1. A dApp or malicious site got a token approval (token allowance) and drained tokens without stealing your private keys.
  2. Your seed phrase/private keys were exposed and an attacker controls the account.

How to tell? Look at the activity. Approvals show up as on‑chain transactions calling approve/permit. Full control shows up when the attacker submits transfers from your address. (A screenshot of an approval transaction helps when reporting.)

Check the transaction list in MetaMask and on the block explorer. Compare the timestamp of approvals to transfers. That tells you whether an allowance was used.

Immediate damage control — revoke, disconnect, isolate

If the issue is a malicious dApp approval, revoking approvals can stop future drains. If the private key was stolen, revoking alone won't help because the attacker can reapprove or move funds.

Actions:

Quick note: disconnecting a site locally does not remove on‑chain approvals. You must revoke allowances on chain.

Move funds: safe steps and race conditions

Can you transfer assets out of a compromised account? Possibly — but it’s a race. The attacker watches the mempool and can front‑run outgoing transactions.

A practical sequence I use:

  1. Create a new wallet on a clean device. Prefer hardware for large amounts. (See [/hardware-wallets] and [/backup-and-recovery-options].)
  2. Fund the compromised account with a tiny amount of native token if needed for gas (only if you control the account and the attacker doesn't). If the attacker controls it, skip — they'll intercept.
  3. From the compromised account, send high‑priority transactions moving the highest‑value assets first (native token, stablecoins, then others). Increase priority fee to get mined sooner.
  4. Transfer NFTs individually — they can be drained by the same approvals.

If you suspect the private key is compromised, the robust option is: create the new wallet first, move what you can immediately, and accept that some assets may be unrecoverable. Private keys cannot be revoked on chain. You cannot terminate MetaMask wallet once hacked — an address on the blockchain cannot be deleted.

When funds are already drained: tracing and reporting

If the attacker already drained funds you'll need two tracks: technical tracing and official reporting.

Technical:

Reporting:

Recovery from a drain is rare. But when funds land at a KYC'd exchange, there’s a chance support will freeze assets with enough evidence.

Post-incident hardening: change the model

Don't just restore the same risk posture. Change it.

What I’ve found: setting allowances to minimal amounts and using a hardware wallet for signing reduces most casual exploits.

Quick comparison: immediate options

Action Speed Likelihood to stop further loss When to use
Revoke approvals on‑chain Fast (1 tx) Moderate — only if keys safe When a dApp approval is the issue (/revoke-approvals)
Move funds to new wallet Fast but racey Good if you can sign before attacker When you still control keys and can prioritize txs
Create hardware wallet and migrate Medium High for future safety After crisis to prevent repeat attacks (/hardware-wallets)
Contact exchanges & report Slow Low-to-moderate When drained funds went to KYC exchange (/phishing-scams-and-email-frauds)

How to revoke approvals after a hack — step by step

  1. Identify token contract addresses and approval txs from your wallet activity.
  2. Open a trusted revoke tool or follow the guide on [/revoke-approvals].
  3. Set allowance to zero or revoke the spender entry. Sign the revoke transaction from the compromised address.
  4. Verify the allowance is zero on the block explorer.

If you don’t trust the device you're using, move to a clean device first. (Yes, that matters.)

FAQ

Q: Is it safe to keep crypto in a hot wallet?

A: Hot wallets are convenient for daily DeFi and swaps but expose you to phishing and approvals. For small, active balances they’re fine. For large holdings, use hardware or multisig. See [/security-best-practices].

Q: How do I revoke token approvals after a hack?

A: See the step‑by‑step above and our full guide at [/revoke-approvals]. Revoke on chain — disconnecting a site in MetaMask alone won't remove the on‑chain allowance.

Q: What happens if I lose my phone or seed phrase?

A: If you lose only the phone but the seed phrase is safe, restore on a new device via [/restore-wallet] and revoke old connections. If the seed phrase is compromised, assume loss and move funds to a new seed phrase (ideally on hardware). See [/backup-and-recovery-options].

Q: Can I terminate MetaMask wallet once hacked? How to prevent MetaMask wallet termination?

A: You cannot terminate an on‑chain address. You can only move funds away and revoke approvals where possible. To prevent future incidents, use hardware wallets, reduce token allowances, enable transaction simulation, and consider smart-contract wallets with session controls.

Conclusion and next steps

If your MetaMask wallet was compromised, quick triage matters: identify whether it’s an approval or a full key compromise, revoke approvals where possible, disconnect malicious dApps, and prepare a new secure wallet (hardware if funds matter). If funds were drained, gather tx hashes, trace flows, and report to exchanges and law enforcement.

For detailed, step‑by‑step instructions, see our guides on [/revoke-approvals], [/backup-and-recovery-options], and [/hardware-wallets]. If you want a checklist to follow right now, open our restore wallet tutorial and keep a calm head — decisive action beats panic every time.

Try Tangem secure wallet →