<p>No, your public key are generated from your private key it cannot be changed.</p>

<p>Private key have one public key and each public key have one adress</p>

CC BY-SA 4.0
2019-10-04T20:10:39.240Z
I would also add that Bitcoin core uses a list of private keys, so unintentionally private keys vary for privacy
vincenzopalazzo
CC BY-SA 4.0
2019-10-04T19:57:18.537Z
2019-10-04T19:57:18.537Z
Saxtheowl
<p>Which key do you want to change? A wallet stores your private keys of your <code>UTXOs</code>. You could change your private key, if you are able to find a hash collision with another (Private,Public)-Key-Pair that equals the <code>OP_HASH160(Orig_Pub_Key) == OP_HASH160(HASHCOLLISIONPUBKEY)</code>.
Hopefully, this is not possible in a finite time...</p>

<p>If it is about your own wallet password, of course you can do that. The only information that is important is your (Pub,Priv)-Keypair. Don't forget that you need the public key too, to unlock your coins!</p>

CC BY-SA 4.0
2019-10-05T13:42:34.770Z
2019-10-05T13:42:34.770Z
user674907
<p>I would like to know if it's possible to change private key of bitcoin wallet via rpc call to bitcoind.</p>

<p>Thank you for your answers</p>

<bitcoin-core><bitcoind>
Is it possible to change private key
p4Leno
# Is it possible to change private key

(Asked by: username_0 on 2019-10-04)

I would like to know if it's possible to change private key of bitcoin wallet via rpc call to bitcoind.

Thank you for your answers

**Tags:** bitcoin-core, bitcoind


---

## 2 answers

### Answer by username_1 on 2019-10-04. Score: 1

No, your public key are generated from your private key it cannot be changed.

Private key have one public key and each public key have one adress

> **Comments:**
> **username_2**: I would also add that Bitcoin core uses a list of private keys, so unintentionally private keys vary for privacy  

---

### Answer by username_3 on 2019-10-05. Score: 1

Which key do you want to change? A wallet stores your private keys of your `UTXOs`. You could change your private key, if you are able to find a hash collision with another (Private,Public)-Key-Pair that equals the `OP_HASH160(Orig_Pub_Key) == OP_HASH160(HASHCOLLISIONPUBKEY)`.
Hopefully, this is not possible in a finite time...

If it is about your own wallet password, of course you can do that. The only information that is important is your (Pub,Priv)-Keypair. Don't forget that you need the public key too, to unlock your coins!


---

