Keyboard and Mouse Ergonomics: How to Set Up Your Desk
What OSHA and CCOHS guidance says about keyboard and mouse height, placement, tilt, pointer settings, and wrist rests, plus when ergonomic equipment is worth it.
Not medical advice. This article is general product information. If you have ongoing pain, numbness, or a health condition, talk to a qualified healthcare professional before changing your setup.
Your hands spend more time on the keyboard and mouse than on anything else at your desk, yet these are usually the last things people adjust. A keyboard that sits too high, a mouse parked a foot to the right, or a pointer speed that forces big wrist movements can each add strain over a full workday. This guide explains what published ergonomics guidance says about keyboard and mouse setup, in the order that matters most, and when it is worth buying different equipment.
This guide is general information about workstation setup. It is not medical advice. If you have pain, numbness, or tingling in your hands, wrists, or arms, talk to a qualified healthcare professional.
The Goal: A Neutral Wrist
Almost every recommendation below aims at the same thing. The Canadian Centre for Occupational Health and Safety’s keyboard guidance describes a neutral position as one where “the wrist is aligned straight with the forearm,” not bent or extended in any direction. The U.S. Occupational Safety and Health Administration’s keyboard eTool adds the rest of the picture: keyboard directly in front of you, shoulders relaxed, elbows close to your body. If you want a matched keyboard and mouse, see our guide to ergonomic keyboard and mouse combos.
Wrists can bend in four directions, and a typical setup can push them in all four:
- Up (extension): the keyboard sits too high, or its back feet are raised.
- Down (flexion): the keyboard sits too low, or you type with your palms dropped below the keys.
- Outward toward the little finger: your hands crowd together on a narrow keyboard.
- Twisted flat: your forearm rotates so your palm faces the desk, as it does on a regular mouse.
Step 1: Set the Height
Height comes first, because no keyboard design fixes a desk that is too high. OSHA recommends adjusting your chair and work surface so your elbows are “about the same height as the keyboard” and hang comfortably at your sides. CCOHS suggests elbows at roughly 90 to 110 degrees with forearms about level with the floor. If your chair arms do not reach the desk, a clamp-on desk armrest can support your forearm.
- Sit with your feet supported and your shoulders relaxed, then let your upper arms hang.
- Bend your elbows until your forearms are about level. Your fingers should land on the home row without lifting your shoulders or bending your wrists up.
- If the desk is too high, raise your chair and support your feet with a footrest, or lower the keyboard with a keyboard tray. OSHA notes a tray may be needed when the desk or chair cannot be adjusted.
- If the desk is too low, lower the chair if you can, or raise the desk. Our standard desk height guide lists the ranges guidelines recommend.
Step 2: Place the Keyboard
Center the part of the keyboard you use most in front of your body. For most people that is the letter keys, not the middle of the whole keyboard including the number pad. CCOHS recommends placing the keyboard close to the front of the desk, about 2 inches from the edge, so you do not reach forward.
Then look at the keyboard’s feet. OSHA warns that tilt from extended rear legs “may cause the wrist to bend upward” and advises against using keyboard feet “if they increase bending of the wrist.” In practice that usually means a flat keyboard, or one that slopes slightly away from you with the front edge a little higher than the back. OSHA notes that people who type with the keyboard in a lower position may keep a neutral wrist by raising the front.
Step 3: Bring the Mouse Close
OSHA’s first mouse tip is to keep the pointer “close to the keyboard.” A mouse placed far out to the side pulls your elbow away from your body and holds your shoulder in a reach. The number pad is the usual culprit. CCOHS compares a regular keyboard about 18 inches long with a shorter one about 14 inches long, and that difference is roughly how much farther a right-handed mouse has to sit. If you mouse with your left hand, see our guide to left-handed keyboards.
- Use a keyboard without a number pad, often called tenkeyless, or a separate number pad you can move out of the way. CCOHS notes a shorter keyboard “will help reduce the need to overreach.”
- Keep the mouse at the same height as the keyboard. If you use a keyboard tray, make sure it is wide enough for the mouse too, rather than leaving the mouse on the desk above.
- Move from the elbow, not by flicking your wrist side to side.
- Consider switching hands. OSHA suggests alternating the hand you use for the mouse. It takes practice, but it splits the load.
Step 4: Adjust the Settings
Software settings are free and often overlooked. OSHA says pointer speed should let you cover the full screen “while the wrist is maintained in a straight, neutral posture,” and sensitivity should be set “so you can control the pointing device with a light touch.”
- Raise the pointer speed if you have to lift and reposition the mouse to cross the screen. Lower it if you clench the mouse to make small movements.
- Use keyboard shortcuts for common tasks. OSHA lists substituting keystrokes such as Ctrl+S and Ctrl+P for mouse clicks as a way to reduce mouse use.
- Loosen your grip. OSHA advises avoiding a tight grip on the mouse. Many people squeeze harder when concentrating.
- Type lightly. CCOHS says you should not need to press keys forcefully. If a keyboard needs a hard press, it is a poor match.
Step 5: Use Rests Only for Resting
CCOHS advises against resting your wrists on the hard edge of a desk because “the pressure on the wrist may contribute to contact stress injuries.” A padded wrist or palm rest spreads that pressure out, and OSHA lists a mouse pad with a palm rest as one way to promote a neutral wrist. The catch is how you use it. A rest works best under the heel of your palm during pauses. Anchoring your wrist on it while you type or mouse turns it into a pivot point and can bend your wrist more, not less.
When to Change Your Equipment
Once height, placement, and settings are right, different equipment can address the angles a standard keyboard and mouse cannot. OSHA suggests considering alternative keyboards to promote neutral wrist postures, with an important caveat: “available research does not provide conclusive evidence that using these keyboards prevents discomfort and injury.” Treat ergonomic equipment as a way to make a good posture easier, not as a treatment.
| If you notice | Consider | Our guide |
|---|---|---|
| Wrists bend outward because your hands crowd together | A split keyboard | Split keyboards |
| Forearms feel twisted with palms flat | A tented keyboard and a vertical mouse | Ergonomic keyboards, vertical mice |
| Your wrist does most of the work moving the mouse | A trackball | Trackball mice |
| Your mouse hand is always reaching | A tenkeyless keyboard, or moving the mouse to the left | Left-handed mice |
| Wrist pain, numbness, or tingling | A doctor’s assessment first, then equipment | Keyboards and mice for carpal tunnel |
New shapes take time. OSHA notes users “may need time to become accustomed to these devices,” and CCOHS points out there is no universally agreed best keyboard design. Use a new keyboard or mouse for part of the day at first, and buy from a seller with a return window so you can switch if it does not suit you. Our main guide to ergonomic mice covers the trade-offs between mouse types.
Take Breaks
Even a well-set-up workstation does not make hours of continuous typing restful. CCOHS notes that a person who spends a lot of time at the keyboard will still tire their hands, arms, shoulders, and back, and recommends short breaks to stretch and let muscles recover. Standing up, changing tasks, or taking a phone call away from the desk all count.
For the rest of your desk, see our monitor height and distance guide and our ergonomic home office setup guide.
Frequently Asked Questions
Should my keyboard be tilted up or flat?
Usually flat, or tilted slightly away from you. Raising the back of the keyboard with its feet tends to bend your wrists upward. OSHA advises against keyboard feet if they increase wrist bending.
Where should my mouse be?
Right next to the keyboard, at the same height, close enough that your elbow stays near your side. If a number pad pushes it out, consider a tenkeyless keyboard or a separate number pad.
Is it better to type with my wrists on a wrist rest?
Ergonomics guidance generally favors keeping your wrists straight and your hands free to move while you type, and resting the heel of your palm on a pad during pauses. A padded rest is better than a hard desk edge, but pressing down on it while typing concentrates pressure on your wrist.
Do I need an ergonomic keyboard and mouse?
Not necessarily. Many people get most of the benefit from setting the right height, moving the mouse closer, and adjusting pointer speed, all of which cost nothing. Ergonomic equipment helps when a standard keyboard or mouse still forces your wrists out of a neutral position after those changes.
How far should the keyboard be from the edge of the desk?
CCOHS suggests about 2 inches from the front edge: close enough that you do not reach forward, but not right at the edge.
