<p>To import private keys of <a href="https://en.bitcoin.it/wiki/Pay_to_script_hash" rel="nofollow noreferrer">P2SH addresses</a> (&quot;<a href="https://en.bitcoin.it/wiki/List_of_address_prefixes" rel="nofollow noreferrer"><strong>3</strong></a>EktnHQD7RiAE6uzMj2ZifT9YgRrkSgzQX&quot;) or <a href="https://en.bitcoin.it/wiki/Bech32" rel="nofollow noreferrer">Bech32 addresses</a> (&quot;<a href="https://en.bitcoin.it/wiki/List_of_address_prefixes" rel="nofollow noreferrer"><strong>bc1</strong></a>qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4&quot;) into Electrum, prefix them with &quot;p2wpkh-p2sh:…&quot; or &quot;p2wpkh:…&quot;, respectively.</p>

CC BY-SA 4.0
2022-10-29T21:39:23.190Z
2024-05-18T22:55:34.660Z
2024-05-18T22:55:34.660Z
Geremia
<p>Can Electrum only import private keys of <a href="https://en.bitcoin.it/wiki/Transaction#Pay-to-PubkeyHash" rel="nofollow noreferrer">P2PKH addresses</a> (e.g., &quot;<a href="https://en.bitcoin.it/wiki/List_of_address_prefixes" rel="nofollow noreferrer"><strong>1</strong></a>7VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem&quot;)?</p>
<p>Whenever I import private keys of <a href="https://en.bitcoin.it/wiki/Pay_to_script_hash" rel="nofollow noreferrer">P2SH addresses</a> (&quot;<a href="https://en.bitcoin.it/wiki/List_of_address_prefixes" rel="nofollow noreferrer"><strong>3</strong></a>EktnHQD7RiAE6uzMj2ZifT9YgRrkSgzQX&quot;) or <a href="https://en.bitcoin.it/wiki/Bech32" rel="nofollow noreferrer">Bech32 addresses</a> (&quot;<a href="https://en.bitcoin.it/wiki/List_of_address_prefixes" rel="nofollow noreferrer"><strong>bc1</strong></a>qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4&quot;), Electrum doesn't register their funds.</p>

<address><electrum><private-key-import><import><importaddress>
Can Electrum only import private keys of P2PKH addresses?
Geremia
# Can Electrum only import private keys of P2PKH addresses?

(Asked by: username_0 on 2022-10-29)

Can Electrum only import private keys of [P2PKH addresses](https://en.bitcoin.it/wiki/Transaction#Pay-to-PubkeyHash) (e.g., "[**1**](https://en.bitcoin.it/wiki/List_of_address_prefixes)7VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem")?

Whenever I import private keys of [P2SH addresses](https://en.bitcoin.it/wiki/Pay_to_script_hash) ("[**3**](https://en.bitcoin.it/wiki/List_of_address_prefixes)EktnHQD7RiAE6uzMj2ZifT9YgRrkSgzQX") or [Bech32 addresses](https://en.bitcoin.it/wiki/Bech32) ("[**bc1**](https://en.bitcoin.it/wiki/List_of_address_prefixes)qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4"), Electrum doesn't register their funds.

**Tags:** address, electrum, private-key-import, import, importaddress


---

## 1 answers

### Answer by username_0 on 2022-10-29. Score: 2 | Accepted answer

To import private keys of [P2SH addresses](https://en.bitcoin.it/wiki/Pay_to_script_hash) ("[**3**](https://en.bitcoin.it/wiki/List_of_address_prefixes)EktnHQD7RiAE6uzMj2ZifT9YgRrkSgzQX") or [Bech32 addresses](https://en.bitcoin.it/wiki/Bech32) ("[**bc1**](https://en.bitcoin.it/wiki/List_of_address_prefixes)qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4") into Electrum, prefix them with "p2wpkh-p2sh:…" or "p2wpkh:…", respectively.


---

