# Import a Bitcoin vanity WIF key into Electrum

Import or sweep a Bitcoin vanity WIF private key in Electrum, Sparrow or Bitcoin Core, with the address checks and fee notes for legacy addresses.

Published: 2026-11-25T00:00:00Z
Canonical: https://multivanity.com/blog/import-vanity-key-electrum

## How do I import a Bitcoin vanity WIF key into Electrum?

Create a new wallet in Electrum, choose Import Bitcoin addresses or private keys, and paste the WIF key. Electrum cannot import a key into a wallet that has a seed, so the vanity key gets a wallet of its own.

1. Copy the WIF key as soon as the address appears and save an offline backup.
2. In Electrum, choose **File > New/Restore** and name a new wallet.
3. Choose **Import Bitcoin addresses or private keys** and paste the WIF.
4. Set a wallet password, then compare the address with the generator result.
5. Send a small test amount and spend it once before using the address publicly.

The [Bitcoin vanity generator](https://multivanity.com/bitcoin-vanity-address) returns legacy addresses starting with `1` with keys in this format.

On MultiVanity, every search runs in your browser, on your device, for all supported chains, Bitcoin and TRON included. Generated addresses and private keys are created locally and are never sent to or stored on our servers.

## What is a WIF key?

Wallet Import Format is a Base58 string that starts with `5` for an uncompressed key or with `K` or `L` for a compressed one. It controls one Bitcoin address only, unlike an Ethereum key, which controls the same address on every EVM network.

## Import or sweep?

Importing keeps the vanity address in use. Sweeping sends all its funds to an address in a wallet you already have, and the vanity key does not become part of that wallet.

Import and sweep paths

| Wallet | Action | Path |
| --- | --- | --- |
| Electrum | Import | File > New/Restore > Import Bitcoin addresses or private keys |
| Electrum | Sweep | Wallet > Private keys > Sweep |
| Sparrow | Sweep | Tools > Sweep Private Key |
| Bitcoin Core | Import | `importdescriptors` with a `pkh(WIF)` descriptor, after `getdescriptorinfo` adds its checksum |

Use import for a donation or public address you keep using; sweep when you only wanted the funds.

## Checks and costs for a legacy address

- **Explorer:** paste the address into mempool.space or Blockstream Explorer to confirm it is well formed and unused.
- **Fees:** spending from a legacy address costs more than from a SegWit address, because its inputs are larger.
- **Bech32 services:** if a service only accepts `bc1` deposits, check that it accepts legacy addresses too.
- **Backup:** an imported key is not covered by an HD wallet seed. Keep the WIF offline and test recovery first.

The [import and verification checklist](https://multivanity.com/blog/import-and-verify-vanity-keys) has the same steps for the other chains.

## Sources

- [Electrum documentation: FAQ (import and sweep private keys)](https://electrum.readthedocs.io/en/latest/faq.html)
- [Sparrow Wallet documentation](https://sparrowwallet.com/docs/)
- [Bitcoin developer guide: wallets](https://developer.bitcoin.org/devguide/wallets.html)
