Skip to main content
31 events
when toggle format what by license comment
S Feb 7 at 15:57 history suggested CommunityBot CC BY-SA 4.0
bold the log out
Feb 6 at 21:14 review Suggested edits
S Feb 7 at 15:57
S May 9, 2025 at 21:39 history suggested CommunityBot CC BY-SA 4.0
there are now floats, at least in macOS Sonoma and later
May 9, 2025 at 17:53 review Suggested edits
S May 9, 2025 at 21:39
Jan 4, 2025 at 19:45 comment added anthumchris could launchctl be used to restart a service to avoid logout/login?
Mar 10, 2022 at 14:11 comment added robskrob Ok this solved my issue apple.stackexchange.com/questions/411531/…
Mar 9, 2022 at 16:30 comment added robskrob I've run the above commands but when I press and hold the enter key on my MacBook (macOS Big Sur), the repeat is still very slow. I've also restarted my MacBook. Are these instructions still valid?
Feb 5, 2022 at 4:59 comment added xji Note that you may also want to first run defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false so that you can repeat the key in all apps in the first place.
Nov 14, 2021 at 20:10 comment added Soheil Time wasted over a decade = 30ms wasted per repeated key X 10% of all keypresses are repeated X 10k keystrokes per hour X 8 hours per day X 5/7 days per week X 365 per year X 10 years = 7 days thus not the end of the world.
Aug 11, 2021 at 22:42 comment added NReilingh Reporting that on Big Sur, logging out and back in is required for the change to take effect. Also: don't go lower than 10 (150ms) on InitialKeyRepeat, you maniac (future me).
May 10, 2021 at 19:52 comment added sleighty I come to this answer every time I need to set up a MacBook. Much love.
Nov 6, 2020 at 0:14 comment added karmakaze If you don't want to log out/in, you can alternatively switch to another user and switch back (or log out the other user and log back into same running user).
S Sep 9, 2020 at 12:22 history edited nohillside CC BY-SA 4.0
No explanation of where or how to run commands.
S Sep 9, 2020 at 12:22 history suggested tomglynch CC BY-SA 4.0
No explanation of where or how to run commands.
Sep 9, 2020 at 10:00 review Suggested edits
S Sep 9, 2020 at 12:22
Aug 9, 2020 at 2:36 comment added Chris Any idea how to avoid having to logout/restart to have this change take effect? When you use the UI to change this it takes effect immediately without any delay. There must be some way to get macOS to re-read this configuration value.
Jul 1, 2020 at 18:45 comment added ruslaniv BTW, which is which? On Catalina I have Key Repeat and Delay Until Repeat
Feb 27, 2020 at 11:13 comment added Yarek T Moving to linux I found that xset r rate 225 33 is about the same as the above defaults. Its amasing how much impact small things like this have on workflows.
Nov 8, 2019 at 22:06 comment added Blake Frederick God bless you, still working on macOS Catalina
Apr 6, 2019 at 7:01 comment added Nikita Shilnikov Putting to sleep and back is enough, no need to restart, re-login
Nov 15, 2018 at 15:52 comment added cjauvin Mojave update: I find these two commands are still needed for me, as the default values (as well as their max values as settable through the UI) are still not good for me. I'm not sure about the default values though, because personally I use KeyRepeat=2 and InitialKeyRepeat=15. Also, to make the update effective, I had to logout/login.
Oct 13, 2017 at 9:14 comment added Rushi Agrawal Works perfectly fine on macOS High Sierra
Oct 4, 2017 at 17:36 comment added ONMNZ Make sure you don't set InitialKeyRepeat to a rate that is too fast. I experienced an issue where suddenly every key press caused every key to double the input. For example, pressing the "a" key once would input "aa". This effectively made it impossible to login as I was unable to input my password correctly. I believe I was able to get around the issue by booting in safe-boot mode, I revisited this page by going through my browser's history, selecting and pasting the command defaults write -g InitialKeyRepeat -int 10 into iTerm and restarting the Mac.
Apr 4, 2017 at 19:22 comment added ryantuck one note you might miss in the answer - log out/in or restart your machine to have changes take effect
Jan 23, 2017 at 19:53 comment added bratsche How do you determine how many milliseconds a value is? Are they just 15ms multiplied by the defaults value? How did you determine that, or is it documented somewhere?
Oct 16, 2016 at 17:22 comment added the Looks like I had to do this again after upgrading to macOS Sierra.
May 31, 2016 at 4:20 comment added nehem Regretting the wasted time of a decade. 😂
May 27, 2016 at 9:18 comment added sdgfsdh This answer worked for me. Note that 10 is very fast. I found 12 similar to what I use in Windows.
Jan 15, 2016 at 0:35 comment added SgtPooki I can't believe it took me so long to look for the answer. This is amazing. Also, I did not have to log out and back in with Yosemite.
Sep 22, 2014 at 7:38 vote accept sorin
Mar 1, 2013 at 13:54 history answered Lri CC BY-SA 3.0