DISCLAIMER: This question is not strictly for Bitcoin but a general question about wallets and any cryptocurrency.

Hi there!

Is it possible to relate 2 different addresses generated from an HD wallet (both deriving from the same seed phrase)?

I mean, being addr-1 the first generated address and addr-2 the second generated, would it be possible somehow for an external viewer to know that both addresses belong to (or were generated from) the same wallet (same seed phrase)?

My understanding is that it is impossible, by the way key-derivation functions work. But I'd like to confirm my thoughts. Any technical detail is appreciated 😊

Thank you!

3 Answers 3


It's not possible to discover that the addresses are related in any way from the addresses alone. It can however be possible to deduce that addresses are owned by the same entity from how funds received to addresses got spent.

  • Hi there, just to be sure, what do you mean by "from how funds received to addresses got spent"? Do you mean an assumption but not a proof, right? Like if I pay my rent from addr-1 even months and from addr-2 odd months, then someone could "assume" but not prove in any way that both addresses are controlled by me? Is that what you mean? Thx! Apr 13, 2022 at 16:15
  • 2
    I mean that when you spend your rent from funds that were received both to addr-1 and addr-2 in one transaction, the common input ownership heuristic suggests that you are in control of both keys. Or if you pay your rent from addr-1 and then use the change output to pay something else, your landlord may guess that the second address was also sent by you. Or if you use funds from addr-2 with the change from the transaction that spent from addr-1 that all addr-1, the change address and addr-2 are owned by you. Check out en.bitcoin.it/wiki/Privacy for more thoughts on this.
    – Murch
    Apr 13, 2022 at 16:27
  • Thanks! But all of these are suggestions or hypothesis, right? In none of these cases they become a proof, does it? I think I get your points, useful to understand. Apr 15, 2022 at 6:30
  • 1
    @GerardBosch: Yes, they all only are indicators, not proof. But if multiple of these indicators overlap and point at the same conclusion, they can become sufficiently reliable.
    – Murch
    Apr 15, 2022 at 18:21

Any technical detail is appreciated

The most common forms of address in Bitcoin (e.g. P2PKH) are the result of a hashing operation using hashing algorithms like SHA256.

As a random website put it:

There are four main characteristics of a good hash function:

  1. The hash value is fully determined by the data being hashed.
  2. The hash function uses all the input data.
  3. The hash function "uniformly" distributes the data across the entire set of possible hash values.
  4. The hash function generates very different hash values for similar strings.

(my emphasis)

So the hashes are indistinguishable from random numbers. Which means you cannot learn anything about the original data by studying them. You cannot tell if two hashes are the results of data that differs by one bit or by a million bits. You cannot tell if two hashes are related. You cannot tell if two addresses are related only by studying the addresses.

Similar characteristics apply to public-keys and some other interesting numbers appearing in the public replicated journal of transactions known as the Bitcoin blockchain. I believe the process that produces a private key or a public key is intended to produce numbers that outside observers will not be able to distinguish from numbers produced completely randomly.

For example given these numbers


From anything above, there is no analytic way to tell how they are related

  • Hi there, I guess from your post that the answer is: "No, it is not possible to relate them", right? :) Apr 13, 2022 at 16:17

There are in fact huge and profitable businesses based on transaction surveillance of the blockchains.

Maintaining any privacy at all is a very difficult technical rabbit hole if you are transacting on chain.

Powerful adversaries of privacy are constantly striving to keep Bitcoin transparent as it was designed.

From a static POV, no the fact that multiple addresses were all generated from the same HD Account-wallet, cannot be deduced mathematically.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.