Post
Topic
Board Bitcoin Technical Support
Re: Can't Import Bitcoin Address to Electrum
by
LoyceV
on 21/04/2023, 07:51:37 UTC
my private key contains
Code:
p2wpkh-p2sh:5H.......
That looks okay. See this post for the differences:
For P2SH-P2WPKH addresses (Addresses starting with "3")
Just add p2wpkh-p2sh: directly in front of your  private key.
For example
Code:
p2wpkh-p2sh:5BitcoinPrivateKey
This should generate the corresponding p2wpkh-p2sh bitcoin address.

For P2WPKH addresses (Bech32, starting with 'bc1')
This time we'll add p2wpkh: in front of the private key.
For example
Code:
p2wpkh:5PrivateKey
This should generate the corresponding Bech32 address

Did you try to create a New Wallet in Electrum? File > New > Next > Import Bitcoin addresses or private keys > <your private key>?