How to fix space bar performing enter key function

Kerry Oates 0 Reputation points
2026-12-01T20:29:24.63+00:00

When I type # followed by space bar, the space bar causes "enter" instead of space. How do I stop this?

Microsoft 365 and Office | Word | For home | Windows
0 comments No comments

Answer accepted by question author

AI answer

2026-12-01T20:30:05.1366667+00:00

Disable Word’s Markdown automatic formatting option so that typing # followed by the spacebar inserts the characters normally instead of creating a heading and moving to a new paragraph.

Turn off the Markdown option

In Word for Windows:

  1. Select File > Options.
  2. Select Proofing.
  3. Select AutoCorrect Options.
  4. Open the AutoFormat As You Type tab.
  5. Clear the Markdown check box.
  6. Select OK, and then OK again.

This exact # followed by a space behavior has been resolved by clearing the Markdown option in that location ^1^. Microsoft also documents File > Options > Proofing > AutoCorrect Options > AutoFormat As You Type as the path for controlling Word’s automatic formatting features ^2^.

After changing the setting, test in a new paragraph by typing:

# followed by a space

The # should remain visible, and the spacebar should insert an ordinary space without applying a heading style or starting another paragraph.

Correct text already reformatted

For an affected paragraph:

  • Press Ctrl+Z immediately after Word performs the conversion, or
  • Select the paragraph and press Ctrl+Shift+N to apply the Normal style ^3^.

References

  1. Win/11, Office 365 Word, Having issues with fonts/font sizing randomly changing - Microsoft Q&A
  2. Turn on or off automatic bullets or numbering in Word | Microsoft Support
  3. [Windows](https://support.microsoft.com/accessibility/word/keyboard-shortcuts-in-word#edit-text-and-graphics)
AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.