<p>If your passphrase contains spaces or special characters, you will need to wrap it with single quotes (<code>'</code>) so that the debug console can properly parse your passphrase. For example, if your passphrase were <code>This is my passphrase</code>, then your command should be </p>

<pre><code>walletpassphrase 'This is my passphrase'
</code></pre>

CC BY-SA 4.0
2018-06-17T18:30:09.063Z
Wow, this saved my day! Can't believe only *single quotes* (and not double quotes) works!
Bing Han
CC BY-SA 3.0
2017-09-14T04:43:30.547Z
2017-09-14T04:43:30.547Z
Ava Chow
<p>My command line won't accept my passphrase, but on the main system it says it's correct and I can change it. I want to dump private key but no matter what I try, it continues to say incorrect passphrase. What can I do?</p>

CC BY-SA 3.0
2017-09-14T04:34:01.980Z
Can you explain more precisely what works and what doesn't, e.g. specific commands and/or mouseclicks, and what exactly happens?  I don't know what you mean by "the main system".
Nate Eldredge
<bitcoin-core><passphrase><command-line-options>
bitcoin core command line walletpassphrase incorrect but works for the main system?
jessi d.
# bitcoin core command line walletpassphrase incorrect but works for the main system?

(Asked by: username_0 on 2017-09-14)

My command line won't accept my passphrase, but on the main system it says it's correct and I can change it. I want to dump private key but no matter what I try, it continues to say incorrect passphrase. What can I do?

**Tags:** bitcoin-core, passphrase, command-line-options

> **Comments:**
> **username_1**: Can you explain more precisely what works and what doesn't, e.g. specific commands and/or mouseclicks, and what exactly happens?  I don't know what you mean by "the main system".  

---

## 1 answers

### Answer by username_2 on 2017-09-14. Score: 4

If your passphrase contains spaces or special characters, you will need to wrap it with single quotes (') so that the debug console can properly parse your passphrase. For example, if your passphrase were This is my passphrase, then your command should be 
walletpassphrase 'This is my passphrase'

> **Comments:**
> **username_3**: Wow, this saved my day! Can't believe only *single quotes* (and not double quotes) works!  

---

