# Use a Custom Bitcoin Address WIF Key in Electrum

Source: https://www.custombtcaddress.com/blog/import-bitcoin-vanity-wif-electrum

Published: 2026-11-25

Updated: 2026-11-25

![A paper key entering an open wallet beside a ticked checklist, preparing to import or sweep a WIF key](https://www.custombtcaddress.com/images/blog/import-sweep-custom-bitcoin-wif-checklist.webp)

Give the WIF its own Electrum wallet or sweep it. Import: Keep using a key through a supported wallet; Sweep: Move funds to a separate wallet destination; Recovery: Check what the wallet backup actually restores.

[Full-size diagram (SVG)](https://www.custombtcaddress.com/images/blog/import-sweep-custom-bitcoin-wif-checklist-diagram.svg)

[Diagram download (PNG)](https://www.custombtcaddress.com/images/blog/import-sweep-custom-bitcoin-wif-checklist-diagram.png)

In Electrum, choose File > New/Restore, name a new wallet, select Import Bitcoin addresses or private keys and paste the WIF. A wallet that has a seed cannot hold imported keys.

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

Give the key its own Electrum wallet: start a new wallet, pick Import Bitcoin addresses or private keys and paste the WIF. Electrum does not accept imported keys in a wallet that has a seed, as its FAQ explains.

1. In Electrum, open File > New/Restore.

2. Type a name for the new wallet. Your seed wallet stays untouched.

3. Select Import Bitcoin addresses or private keys.

4. Paste the WIF from your [custom address result](https://www.custombtcaddress.com/) and complete the remaining wallet setup.

5. Read the address Electrum now lists and compare it, character by character, with the complete generated address.


## Know what you are pasting

A WIF is a single private key written in Base58. Uncompressed keys start with 5; compressed keys start with K or L. Either way it unlocks exactly one address, here the legacy P2PKH address beginning with 1.

A WIF is not a recovery phrase. Electrum will not derive more receiving addresses from it, so every payment you expect should go to that one custom address.


## Confirm the setup with real checks

Finish these checks before the address goes on an invoice, a profile or a donation page.

- Match the full address, not just the pattern you chose. Then search the address, never the key, on mempool.space or Blockstream to see its history.
- Send a small test amount and spend it once from the Electrum wallet. Receiving alone does not prove the key controls the address.
- Plan for spending fees. Legacy inputs take more space than SegWit inputs, so spending from this address costs more than spending from a bc1 address. The [first payment checklist](https://www.custombtcaddress.com/blog/bitcoin-vanity-address-transaction-fees) covers the payer’s side.
- Check any exchange or service that only lists bc1 deposits or withdrawals. Confirm it accepts a legacy destination before relying on it.

## Plan the backup before funding

No HD seed covers an imported key, not even the seed of another Electrum wallet you own. Store the WIF offline and rehearse recovery: import it into a fresh Electrum wallet and confirm the same address appears.

All addresses and private keys are generated entirely client-side in your browser, directly on your device. Your private keys never leave your device. Keep the WIF out of messages, screenshots and support chats. We will never ask for your private key or seed phrase.


## Other routes: sweep, Sparrow, Bitcoin Core and hardware wallets

Sweeping suits you when you want the funds but not the address. In a normal Electrum wallet, use Wallet > Private keys > Sweep; the funds move to that wallet and the key does not become part of it. In Sparrow the option is Tools > Sweep Private Key.

Bitcoin Core imports the key through importdescriptors with a pkh(WIF) descriptor. Call getdescriptorinfo first: it returns the checksum the descriptor needs. Keep "now" as the timestamp for a fresh address; an address that already received funds needs an earlier time so the wallet rescans.

A hardware wallet cannot import an external private key. Use the custom address to receive, then sweep larger amounts to the device.


```sh
bitcoin-cli getdescriptorinfo "pkh(YOUR_WIF)"
bitcoin-cli -rpcwallet=custom importdescriptors '[{"desc":"pkh(YOUR_WIF)#CHECKSUM","timestamp":"now"}]'
```


## Continue the practical setup

- [Import or Sweep a Custom Bitcoin WIF: A Preparation Checklist](https://www.custombtcaddress.com/blog/import-bitcoin-vanity-wif-wallet) — Understand the difference between importing a Bitcoin WIF and sweeping its funds before choosing your wallet setup.
- [Confirm a Generated Bitcoin Address in Your Wallet](https://www.custombtcaddress.com/blog/how-bitcoin-addresses-are-derived) — Compare the complete wallet-derived address with the generated Bitcoin result before treating the setup as complete.
- [Read the questions on WIF backups](https://www.custombtcaddress.com/faq) before you move anything.
- [Open the address generator](https://www.custombtcaddress.com/) when you have chosen a compatible format and pattern.

## Sources

- [Electrum FAQ: import or sweep private keys](https://electrum.readthedocs.io/en/latest/faq.html)

- [Sparrow Wallet documentation](https://sparrowwallet.com/docs/)

- [Bitcoin developer wallets guide](https://developer.bitcoin.org/devguide/wallets.html)

- [Bitcoin Core descriptor documentation](https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md)



Editorial method: https://www.custombtcaddress.com/about#publication-method
