<blockquote>
  <p>How do I view my extended public key?</p>
</blockquote>

<p>For Electrum version 3.1.3 and up.</p>

<p>Wallet => Information</p>

<p>In the information, you can find the xpub (Master Public Key).</p>

CC BY-SA 4.0
2018-05-31T18:09:42.277Z
2019-08-11T21:57:05.590Z
2019-08-11T21:57:05.590Z
Ali
<p>I want to reiterate what @NickODell said: <strong>DO NOT share your private key</strong>. </p>

<p>This rule - to clarify - is <em>not referring to the <strong>master private key</em></strong> (<code>xprv</code>): it means <em>any</em> child address' private key (WIF, hex, etc) will compromise your whole chain, <a href="https://bitcoinmagazine.com/8396/deterministic-wallets-advantages-flaw/" rel="nofollow">as outlined here</a>.</p>

<p>One could understandably assume that because an address has been used and "discarded", that less caution with that old private key is fine (because you'll never use it again). <strong>Don't fall into this trap!</strong></p>

CC BY-SA 3.0
2015-04-17T07:51:59.927Z
2015-04-17T07:51:59.927Z
Wizard Of Ozzie
<blockquote>
  <p>How do I view my extended public key?</p>
</blockquote>

<p>Go to Wallet > Master Public Keys, and copy the text that starts with <code>xpub</code></p>

<blockquote>
  <p>What are the consequences of giving my extended public key to someone?</p>
</blockquote>

<p>They can view all of the transactions and addresses in your wallet. They can generate as many of your addresses as they want.</p>

<blockquote>
  <p>Can they steal my Bitcoins if I give this to someone?</p>
</blockquote>

<p>No, unless you also give them one of your private keys. (All of your private keys are equivalent if they have access to your extended public key.) So, don't do that.</p>

CC BY-SA 4.0
2020-04-19T23:44:05.363Z
in version 3.3.8 wallet>informtion>master public key starts with zpub instead of xpub
wendellmva
CC BY-SA 3.0
2015-04-16T22:38:17.283Z
2015-04-19T19:53:52.577Z
2015-04-19T19:53:52.577Z
Nick ODell
<p>Someone's asking for my extended public key.</p>

<p>How do I view this?</p>

<p>What are the consequences of giving this to someone? Can they steal my Bitcoins if I give this to someone?</p>

<electrum><bip32-hd-wallets>
How do I view the extended public key in Electrum?
Nick ODell
# How do I view the extended public key in Electrum?

(Asked by: username_0 on 2015-04-16)

Someone's asking for my extended public key.

How do I view this?

What are the consequences of giving this to someone? Can they steal my Bitcoins if I give this to someone?

**Tags:** electrum, bip32-hd-wallets


---

## 3 answers

### Answer by username_0 on 2015-04-16. Score: 8 | Accepted answer

> How do I view my extended public key?

Go to Wallet > Master Public Keys, and copy the text that starts with `xpub`

> What are the consequences of giving my extended public key to someone?

They can view all of the transactions and addresses in your wallet. They can generate as many of your addresses as they want.

> Can they steal my Bitcoins if I give this to someone?

No, unless you also give them one of your private keys. (All of your private keys are equivalent if they have access to your extended public key.) So, don't do that.

> **Comments:**
> **username_3**: in version 3.3.8 wallet>informtion>master public key starts with zpub instead of xpub  

---

### Answer by username_1 on 2018-05-31. Score: 5

> How do I view my extended public key?

For Electrum version 3.1.3 and up.

Wallet => Information

In the information, you can find the xpub (Master Public Key).


---

### Answer by username_2 on 2015-04-17. Score: 2

I want to reiterate what @NickODell said: **DO NOT share your private key**.

This rule - to clarify - is *not referring to the **master private key*** (`xprv`): it means *any* child address' private key (WIF, hex, etc) will compromise your whole chain, [as outlined here](https://bitcoinmagazine.com/8396/deterministic-wallets-advantages-flaw/).

One could understandably assume that because an address has been used and "discarded", that less caution with that old private key is fine (because you'll never use it again). **Don't fall into this trap!**


---

