Speed up Mouse Tracking on Mac OS X

by tyler on July 8, 2007

One of my gripes when I switched to using a Mac full time was that I could never get my mouse to track fast enough. Here is a  solution that worked for me.

  1. Open a Terminal Window
  2. Enter the following command to see what your current setting is:
    defaults read -g com.apple.mouse.scaling
  3. This will return a numeric value. To speed up (or slow down) your mouse tracking, you can simply change this number accordingly by typing the following command, replacing the “your_mouse_speed” with a new number such as 5.0. Notice that read has been changed to write:
    defaults write -g com.apple.mouse.scaling your_mouse_speed
  4. The maximum mouse speed on mac desktops is 3.0 (when maxed out in system preferences). I changed my speed to 5.0 for my 24″ iMac and it was noticeably better.
    defaults write -g com.apple.mouse.scaling  5.0
  5. You may need to restart your mac to see the changes take effect.

Update Jan 2010 :  This method also works with the new magic mouse as well.

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

{ 1 trackback }

Windows PC to Apple MAC Transition « Making Usability Better
July 6, 2011 at 5:14 am

{ 44 comments… read them below or add one }

mantis108 March 18, 2008 at 10:34 pm

nice tip..thanks!

Reply

what does it matter? April 12, 2008 at 4:01 pm

Exactly what I need. Speed up my mouse. Just one problem. What is a terminal window? How do I get too it? Can you give me better instructions?

Reply

tyler April 12, 2008 at 4:23 pm

From the finder menu, choose Go -> Utilities -> Terminal

Reply

kush June 4, 2008 at 10:39 pm

Didn’t work.

Reply

palo December 16, 2008 at 4:24 am

after setting the new mouse speed value, tru to logout and login back to reload configuration (works for me, after doing that). Gr8 tip tyler.

Reply

joeyjbarrett January 10, 2009 at 11:58 am

Thank you :)

Reply

tyler January 10, 2009 at 12:24 pm

You’re welcome Joey – Hey cool deal putting a mini in your prius http://www.joeyjbarrett.com/prius/

Did it have any heat issues?

Reply

Tyler Nichols July 6, 2009 at 5:18 pm

That was a really cool idea putting the mini in the prius. Pretty sweet hack.

Reply

Mike Kelly January 7, 2010 at 1:18 pm

Just wanted to say thanks for the tip. It worked great for me with 10.6 and trying to make my new Magic Mouse usable.

Reply

tyler January 7, 2010 at 1:58 pm

Glad it helped Mike!

Reply

Kris Noble January 12, 2010 at 7:18 am

another “thank you” – worked a treat for me, much happier with the mouse speed now :)

Reply

tyler January 12, 2010 at 9:53 am

Your welcome Kris!

Reply

Sean January 18, 2010 at 11:48 pm

Nice… Been looking for something like this. What exactly does the -g flag do though?

Reply

tyler January 19, 2010 at 7:38 am

Hi Sean,

-gd is the same as -globalDomain

Tyler

Reply

B Dave February 2, 2010 at 7:08 pm

hey! That worked. I pushed it up to 7.0 and wow I don’t have to lift up the mouse anymore. Thanks.

Reply

tyler February 2, 2010 at 7:13 pm

Glad it worked for you, Dave.

Reply

Jimmy February 14, 2010 at 11:54 am

Thanks so much Tyler! Works like a dream on my new 27″ iMac. Like B Dave said, it’s so nice to no longer have to pick the mouse up every ten seconds.

Reply

tyler February 17, 2010 at 8:04 am

You’re welcome Jimmy. I am envious of your 27″ iMac!

Reply

Stephan February 18, 2010 at 11:15 am

Thanks a lot for this tip!

Hint for others: I had to restart my iMac before it worked.

Reply

Geo April 28, 2010 at 5:54 pm

How is that terminal command used to see the value already there?

Reply

Geo April 28, 2010 at 6:48 pm

Never mind. Found it in terminal help and “man”.
Just substitute “write” with “read”.
Tnx for the tip anyway. It works perfectly.

Reply

tyler April 30, 2010 at 8:07 am

Thanks for pointing that out Geo. I have updated the instructions to first read what the setting is before changing it.

Reply

Maria May 24, 2010 at 2:06 pm

Hi,

Thanks a lot Tyler, this is exactly what I need. I changed the speed for both trackpad and mouse. But I have problems to keep this setting. It works perfectly and then it just goes back to 3 again..

Do you know why?

Reply

Danny June 13, 2010 at 12:46 pm

Hi,

Great tip. Yesterday I’ve bought my very first Mac and it’s a big one iMac 27″ (core i5) and was wondering why the mouse was so slow cos this supposed to be a fast machine and I was used to a supermouse on my pc :-)
Tx to your tip i’m lookin’ for a speed that fits my needs for now I’m at 8.0

Danny (Belgium)

Reply

tyler June 13, 2010 at 12:51 pm

Glad it worked for you Danny. Congrats on the 27″ iMac. Thats a great system!

Reply

ray July 26, 2010 at 3:19 pm

works great make sure you restart comp after. thanks for the tip much improved

Reply

Loyd Hamilton August 8, 2010 at 10:41 pm

Genius Bar person. Thanks

Reply

Rod August 26, 2010 at 1:28 am

Fantastic. It now works the way I want it. It was driving me nuts. Good to see others had the same problem too. I can’t work with a slow mouse. Thanks.

Reply

geoff September 22, 2010 at 8:12 pm

thanks very helpful!

Reply

anahi October 5, 2010 at 5:49 am

works! I have 19″ mac book pro and it worked for me with 29.0 I need a really fast mouse

thanks

Reply

martin October 11, 2010 at 2:31 pm

this works pretty well, thanks. do you know if there is a way to change the actual scale that is used in the systems setting dialog box for the mouse? i went back and found that it, in fact, is still using the old scaling and i can no longer use that to adjust the tracking speed once i have entered your command.

Reply

anahi October 25, 2010 at 5:40 am

hi, i have a problem….

if i don’t switch on the mouse before starting my mac, my computer doesn’t recognize my mouse. and i have to go to system preferences to make my mac recognize it, but then my mouse returns to be slowly…. so i have to restart my computer again to work your terminal’s tip.

any ideas to my problem??

thanks

Reply

Christopher Kokkila November 3, 2010 at 4:55 pm

Thanks! I just got a new IMac and I was considering returning it because I am unhappy with the font size in the email and the mouse speed. Is there any way to also increase the size of words and numbers on the Internet or make them the same size one every page? I tried adjusting the resolution and size but everything would look good on one page but lousy on another page. Everything will either spread out too much or look like parts of the numbers or letters are clumped up. Will I also have the same problem with size if I get Word, Excel, or Access on the IMac? Will installing Windows have any effect?

Reply

svo November 18, 2010 at 6:40 pm

iMac 27″ – works perfect with 5.0 after restart.
Thank you!

Reply

Marc December 8, 2010 at 3:29 am

Hi Looks good, however iget a rather unusuall error message
The domain/default pair of (kCFPreferencesAnyApplication, com.apple.mouse.scaling) does not exist

Any ideas??

Thanks in advance

Reply

Gabriel Almeida January 14, 2011 at 10:34 am

Thanks! Works like a charm!

Reply

Lea Hayes March 26, 2011 at 7:46 am

Thanks! Worked a treat!!

Reply

Adi Ulici April 14, 2011 at 7:51 am

Thanks a lot! It works like a charm on a OS X 10.6
All you have to do is set it then logout and log back in.

Reply

Hannu A May 5, 2011 at 3:17 pm

Thanks! Exactly what I need.

Reply

Pawel Niemiec June 7, 2011 at 4:49 pm

Hi,

Thanks for a nice tip. The question is, why it’s not possible to set mouse speed via mouse settings in GUI?

Reply

Kris October 3, 2011 at 2:03 pm

I’m looking for a way to speed up my typing on the Mac–this is the first web page I’ve come across that addresses anything like this. I’m coming from a PC environment where I work mostly with keyboard shortcuts, and for example will often use option+shift to select words and replace or otherwise manipulate them. However, on the Mac I’m really frustrated because I can’t work nearly as fast as I can on the PC–the actual typing speed (i.e., the rate at which my typing is registered on the screen) is slower than I’d like, and so is the process of selecting and cutting and pasting. In addition, when I’m working quickly, the cursor will often disappear entirely and I’ll have to stop for a few seconds and “find” it so I can keep track of what I’m doing.

Clearly, the Mac is not made for people who use primarily word processors. Is there a way to fix typing speed similar to this mouse speed trick? TIA

Reply

Damar Nyanyi October 10, 2011 at 10:29 am

Thanks man it’s really help!

Just bought a new iMac 2 weeks ago, first time I have Mac though.
Stressed about magic mouse, really slow in my opinion.
I set for 24.0 on a OS X 10.6, a bit crazy I think; but it’s suit my need:
defaults write -g com.apple.mouse.scaling 24.0
Have a blessed day!

Reply

Rob Z October 13, 2011 at 2:33 am

great tip. worked like a charm!!

Reply

Jason December 4, 2011 at 3:20 am

It’s still way too slow! Is there anything I can do? I’m on Lion 10.7.3 beta and 10.7.2 retail. I need it about 50-100% faster (for speed chess).

Reply

Leave a Comment

Previous post:

Next post: