Keyboard Double Space Problem Fix: Step-by-Step Guide
In this article
The keyboard double space problem is usually a software setting, not a broken keyboard. The most common cause on Windows is the "Use Sticky Keys" or "Filter Keys" accessibility feature, or a language/input setting that inserts a space after certain characters. On Mac, it is often the "Press Fn key to" or a text replacement rule. On phones, it is almost always the "double-tap space to insert period" setting. The fix is to turn off the feature that is adding the extra space. Before you start, confirm the problem happens in every app (Notepad, browser, Word) so you know it is system-wide. If it only happens in one app, check that app's own settings first.
What You'll Need
- Your keyboard and computer or phone
- Access to system settings (you may need an administrator account on a work PC)
- A plain text editor like Notepad (Windows) or TextEdit (Mac) to test the fix
Step-by-Step
- Test in a plain text editor. Open Notepad on Windows or TextEdit on Mac. Type a sentence with normal spaces. If the double space appears here, the problem is system-wide. If it does not, the problem is in the app you were using, so check that app's settings instead.
- Turn off Sticky Keys and Filter Keys (Windows). Open Settings > Accessibility > Keyboard. Turn off Sticky Keys, Filter Keys, and Toggle Keys. These features can change how spaces register. Labels may differ slightly by Windows version, but they are under Accessibility > Keyboard.
- Check the keyboard language and layout (Windows). Go to Settings > Time & Language > Language & Region. Make sure only the keyboard layout you actually use is listed. Remove any extra layouts. Some layouts insert non-breaking spaces or behave differently with the spacebar.
- Check text replacement or autocorrect (Windows and Mac). In Windows, open Settings > Bluetooth & Devices > Typing and turn off autocorrect and text suggestions if they are on. On Mac, open System Settings > Keyboard > Text and remove any replacement rules that add a space. Also check the app you are typing in for its own autocorrect setting.
- Turn off double-space period on iPhone and Android. On iPhone: Settings > General > Keyboard and turn off "." Shortcut. On Android: open Settings > System > Languages & input > On-screen keyboard > Gboard > Text correction and turn off "Double-space period." The exact path varies by phone maker, so look for "Keyboard" in Settings and then "Text correction."
- Check for a stuck or dirty key. Shut down the computer, unplug the keyboard, and gently clean around the spacebar with compressed air. On a laptop, use a soft brush. Reconnect and test. If the spacebar feels mushy or repeats without you pressing twice, the hardware may be failing.
- Test with another keyboard. Plug in a different USB keyboard. If the double space stops, the original keyboard is the problem. If it continues, the issue is in software or settings.
- Run the keyboard troubleshooter (Windows). Go to Settings > System > Troubleshoot > Other troubleshooters and run the Keyboard troubleshooter if it is listed. On Mac, there is no equivalent; restart and test again.
- Update or reinstall the keyboard driver (Windows). Right-click Start, choose Device Manager, expand Keyboards, right-click your keyboard, and choose Update driver. If that does not help, choose Uninstall device, then restart the PC so Windows reinstalls it. This does not delete your files.
- Check for third-party keyboard software. If you use a gaming keyboard with its own software (for example Logitech G Hub or Razer Synapse), open it and check for macros or key remaps assigned to the spacebar. Disable any macro that inserts a space.
Common Mistakes
- Blaming the keyboard first. Most double-space problems are settings, not hardware. Test in Notepad before buying a new keyboard.
- Changing settings in the wrong app. If the problem only happens in one program, fix that program's autocorrect, not Windows.
- Leaving multiple keyboard layouts installed. Extra layouts can change how the spacebar behaves. Remove the ones you do not use.
- Forgetting phone settings. On phones, the double-space period feature is on by default and is the most common cause.
- Ignoring macros. Gaming keyboard software can assign a double-space macro to a key without you realizing it.
Tips
- Test after each change so you know which fix worked.
- Write down the settings you change so you can undo them if needed.
- If you share the computer, check whether another user account has the same problem. If only your account does, the cause is in your user settings.
- On Windows, you can open Settings quickly with Windows key + I.
- On Mac, open System Settings from the Apple menu.
Troubleshooting
If the double space continues after the steps above, try these in order. First, restart the computer. Second, create a new user account and test there. If the problem does not appear in the new account, your original user profile has a corrupted setting; you can copy your files to the new account. Third, on Windows, run a full malware scan with Windows Security, because some unwanted programs change keyboard behavior. Fourth, check the keyboard on another computer. If it double-spaces there too, replace the keyboard. If none of this works, the issue may be a hardware fault in the keyboard controller, and a replacement keyboard is the practical fix.
Frequently Asked Questions
Why does my keyboard add a double space automatically?
Usually an accessibility feature (Sticky Keys or Filter Keys), an autocorrect setting, or a phone keyboard's double-space period feature is turned on. Turn those off first.
Is the double space a virus?
It is rarely a virus, but malware can change keyboard settings. Run a scan with your built-in security tool if settings keep changing on their own.
Why does it only happen in one app?
That app has its own autocorrect or text replacement setting. Check the app's preferences for autocorrect, smart punctuation, or text substitution.
How do I stop double space on my phone?
Turn off the double-space period shortcut in your keyboard settings. On iPhone it is under Settings > General > Keyboard. On Android it is in Gboard's Text correction settings.
Can a stuck spacebar cause this?
Yes. If the spacebar is physically sticking, it can register two presses. Clean the key or test with another keyboard to confirm.
Will resetting my PC fix it?
A reset can fix software causes, but it deletes apps and settings, so try the steps above first. Back up your files before any reset.