On Stackexchange sites I quite often have to use the backtic which can be got at usually as the key beside 1 (left side ) however when I press it the first time the ` doesn't appear until I press it again (at which point I get `` (2) or if I press another key such as a space.

Is there a historical reason for this or is it just my keyboard?

  • 4
    Might be a keyboard layout thing. May 9, 2014 at 13:45
  • Note: I had an issue on Android with a Samsung keyboard where pressing backtick followed by space / right arrow on a US international style keyboard layout created 'MODIFIER LETTER GRAVE ACCENT' (U+02CB) which shows as a backtick, but isn't one. This is likely a bug, but it took me some time to figure out why my inline code suddenly wasn't rendered anymore. Change to US layout, is what I'm telling you! May 18, 2019 at 12:06
  • Note that pressing ` then SPACE does not insert a space but only `, so it may help to get around this inconvenience. source Jan 4, 2023 at 11:33

4 Answers 4


This is either your keyboard or the software you are using (we can't see that from here). So it is not specific to StackExchange sites.

This is done because the software supports another feature: pressing the apostroph or the backtick followed by another letter (most common a vowel) is an easy way to write diacritical characters like é and è.

Because of this feature the software cannot immediately display the apostroph or backtick, it has to wait for the next character to determine what your intention is. Only when you press the next backtick it knows that you intended to enter a backtick.

This is not bad in itself: just remember to type the backtick twice, then press cursor left, then type what comes between them. That way you won't forget the closing backtick.

This is akin to typing the { } brackets in the C programming language first before entering the code that goes in between. There, having a closing bracket at the correct location is much more important.

This is not only done with apostroph and backtick, but e.g. also with double quotation marks (" and e gives ë) and even with consonants (, and C gives Ç).

  • 10
    This is indeed very likely to be the keyboard layout setting. By default there are 2 layouts set per language and a simple CTRL + SHIFT changes the layout. Additionally if you add a language, ALT + SHIFT changes between keyboard language settings. By using US International, you indeed get the behavior from the question. Setting it to United States will remove it.
    – LPChip
    May 9, 2014 at 14:24
  • The apostrophe (') and the "backtick" (`) are two different symbols. The former is an actual symbol that is supposed to stand for itself, the latter is what could be called misuse of a diacritic mark that normally appears exclusively in combination with other characters. The apostrophe key is often not configured as a dead key, as an apostrophe can perfectly stand for itself, (though certain keyboard layouts that need to accommodate many accented characters might vary) and thus pressing the apostrophe key immediately writes an apostrophe. May 9, 2014 at 20:21
  • @O.R.Mapper: Are there any keyboard layouts available which behave normally for ASCII characters, but still allow accented characters to be typed sensibly? Macintosh could do it 30 years ago using Option+grave as a "grave" dead key, Option+apostrophe as an "aigu" dead key, and Option+shift+apostrophe as an "umlaut" dead key, among others; would something so sensible be beyond Microsoft's comprehension?
    – supercat
    May 9, 2014 at 23:22
  • @supercat: I don't understand what you mean. Having the apostrophe as a non-dead-key that does not combine with characters and an acute and grave accent both as dead keys that do combine with characters is a sensible way to allow accented characters, is it not? That said, nothing stops you from creating your own keyboard layouts for Windows. May 19, 2014 at 6:47
  • @O.R.Mapper: On the classic Macintosh keyboard layout (don't know if it's changed), option+apostrophe, option+shift+apostrophe, and option+grave are dead keys, but the keys without option just type their normal ASCII codes.
    – supercat
    May 19, 2014 at 15:27

This is called a dead key. https://en.wikipedia.org/wiki/Dead_key

It depends on your local settings (i.e. Keyboard layout).

  • 1
    Concretely: "Extended" or "International" layouts may require a double-tap on the backtick key to display a single backtick symbol. Thanks to the other answers! :D
    – Andy
    May 26, 2021 at 19:06

Other answers have mentioned that this can be a keyboard layout thing, but I felt that a concrete example might be useful, so:

On Windows I generally use the "English (UK) Extended" keyboard layout, which has better support for typing accented characters, but means I have to press backtick twice to get the ` character. If I switch to the basic "English (UK)" keyboard layout, I only have to press backtick once. So the latter keyboard is perhaps better for some uses (such as coding), even though the extended version is better for others (such as writing).

If you have more than one keyboard layout installed, on Windows you can use Ctrl + Shift to switch between them.

  • 2
    This deserves more upvotes, since (whilst the primary answer is correct) this is going to more concretely help a majority of users on here with this problem.
    – Brondahl
    Mar 23, 2020 at 11:39
  • 1
    And using CTRL + SHIFT to switch between Extended and non-Extended (as mentioned by LPChip) helped me tremendously!
    – Shiraz
    Nov 10, 2022 at 19:09
  • 1
    Ah, thanks, that's really useful @Shiraz! I often use ALT + SHIFT to switch between languages, but I didn't realise that CTRL + SHIFT switches keyboard layouts! I've added a note about that.
    – Nick F
    Nov 11, 2022 at 23:49

If you added a nodeadkeys variant and still get dead-key-ish behavior, it might be because you have multiple layouts, e.g. German and German (nodeadkeys). You can cycle through them using Super+Space on linux.

(Maybe the key-combination is different for you: see setxkbmap -print -verbose 10 the options: grp:<combination> line).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .