Setting up your keyboard correctly can make a noticeable difference in how your hands, wrists, and shoulders feel after a long day of typing. The Occupational Safety and Health Administration (OSHA) provides detailed guidance on workstation ergonomics that helps reduce awkward postures, repetitive strain, and contact stress. This article walks through the key points from OSHA’s computer workstation eTool so you can arrange your keyboard, desk, and accessories for everyday comfort.
Keyboard placement: height and distance
OSHA’s keyboard quick tips start with a simple rule: put the keyboard directly in front of you. Your shoulders should be relaxed and your elbows close to your body. Your wrists should be straight and in line with your forearms, not bent up, down, or sideways. These positions help you avoid the awkward postures that can lead to hand, wrist, and shoulder discomfort.
Getting the height right
When a keyboard is too high, you may raise your shoulders to elevate your arms. When it is too low, you may type with your wrists bent upward. According to OSHA, both situations can strain muscles and tendons. The goal is to adjust your chair height and work surface so your elbows are about the same height as the keyboard and hang comfortably at your sides. If you cannot raise your chair high enough because a central pencil drawer hits your thighs, OSHA suggests removing that drawer. The work surface itself should generally be no more than 2 inches thick.
A keyboard tray can help when the desk or chair cannot be properly adjusted. OSHA notes that a tray should be adjustable in height and tilt, provide enough leg and foot clearance, and have space for both a keyboard and a pointing device like a mouse. The keyboard’s vertical position should stay within the recommended range, and you may need to raise or lower the keyboard feet to keep your wrists straight as your arm angle changes.
Finding the right distance
A keyboard placed too close or too far away can make you reach with your arms or lean forward with your torso. OSHA warns that these postures may contribute to musculoskeletal disorders of the elbows, shoulders, hands, and wrists. The solution is to position the keyboard so your elbows stay near your body and your forearms are roughly parallel with the floor. If desk space is tight or chair armrests get in the way, a keyboard tray can again be a practical fix.
Wrist and palm rests: when and how to use them
Wrist rests and palm rests can reduce contact stress, but only if they are chosen and used carefully. OSHA’s evaluation checklist states that a wrist or palm rest, if provided, should be padded and free of sharp or square edges that press into the wrists. The height of the rest should match the front edge of the keyboard so your forearms, wrists, and hands stay straight and in line while you type. A rest that is too high or has a hard leading edge can compress nerves and blood vessels, potentially causing tingling or numbness in the fingers.
OSHA also advises that you should not rely on a wrist rest to correct a poorly adjusted workstation. Instead, first adjust the keyboard and chair to achieve a neutral wrist posture, then add a rest if it helps you maintain that alignment without bending your wrists upward or downward. For more on how pointing devices fit into the picture, see our computer mice guide.
Desk height and leg clearance
The desk or work surface plays a big role in keyboard ergonomics. OSHA’s desk guidelines recommend a surface depth that lets you view the monitor at a distance of at least 20 inches (50 cm) and place it directly in front of you. The area under the desk is just as important. Inadequate clearance can force you to sit too far from the keyboard, leading to reaching and shoulder strain. It can also restrict circulation and make it hard to change postures.
OSHA suggests keeping the space under the desk free of items like computer towers, files, and storage boxes. Clearance for the legs, under the desktop, should generally be between 20 and 28 inches (50 to 72 cm) high. This range accommodates at least two of the three seated reference working postures, one of which must be the upright seated posture. If the desk surface is too high, you can try raising your chair and using a footrest. If it is too low, stable risers under the desk legs may help. For setups that involve multiple peripherals, a USB-C hub or docking station can keep cables tidy and free up legroom.
Keyboard design and alternative layouts
A traditional straight keyboard may cause you to bend your wrists sideways to reach all the keys. Keyboard tilt, whether from extended rear legs or a steep built-in angle, can also force the wrists to bend upward. OSHA points out that smaller keyboards, like those on laptops, can contribute to stressful postures as well. The agency recommends reducing awkward wrist angles by adjusting the keyboard or chair height, and by raising or lowering the front or back of the keyboard to find a neutral position. For example, if you sit lower relative to the keyboard, slightly elevating the back of the keyboard may help. If the keyboard is in a lower position, raising the front may keep wrists straight. Do not use the keyboard feet if they increase wrist bending.
Alternative keyboards, such as split or angled designs, are mentioned by OSHA as options that may promote neutral wrist postures. However, the agency notes that available research does not provide conclusive evidence that these keyboards prevent discomfort or injury. They may be provided on a case-by-case basis, and users may need time to get used to them. Keyboards should also have appropriate key spacing to fit most users: generally, the horizontal center-to-center spacing between two keys should be 0.71 to 0.75 inches (18 to 19 mm), and the vertical spacing should be 0.71 to 0.82 inches (18 to 21 mm).
OSHA also addresses left-hand key usage. Many standard keyboards have a 10-key number pad permanently attached to the right side, which can be limiting for left-handed workers or anyone recovering from an injury. Keyboards with a detached keypad or a left-side keypad allow users to switch positions. Programmable standalone keypads are another option that can be set up for either hand. For a broader look at workspace accessories, visit our desk gadgets section.
Evaluating your setup: a practical checklist
OSHA’s evaluation checklist offers a series of yes-or-no questions to help you spot potential problems. A “no” answer suggests an area that may need attention. While the full checklist covers chairs, monitors, and accessories, the keyboard and desk portions are especially relevant for typing comfort.
Key points from the checklist include:
- Head and neck are balanced and in line with the torso, not bent forward or back.
- Shoulders are relaxed, and upper arms hang in line with the torso.
- Elbows are close to the body, not extended forward or outward unless supported.
- Forearms are approximately parallel to the floor and at about 90 to 100 degrees to the upper arm.
- Wrists and hands are straight and aligned with the forearms, not bent up, down, or sideways.
- Thighs are roughly parallel to the floor, with clearance between the top of the thighs and the desk or keyboard platform.
- Feet rest flat on the floor or on a stable footrest.
- The keyboard platform is stable and large enough for both a keyboard and an input device.
- The input device is right next to the keyboard so you can use it without reaching.
- There are no sharp or hard edges contacting the hands or wrists.
OSHA emphasizes that there is no single correct posture for everyone. The workstation should be adjustable enough that you can find a safe, supportive position and easily make small changes throughout the day. If you use a laptop as your primary computer, the same ergonomic principles apply: OSHA recommends a separate keyboard and input device so you can position the screen at eye level and keep your wrists neutral. For more on laptop setups, see our laptop accessories guide.
Frequently asked questions
How high should my keyboard be?
OSHA advises that your elbows should be about the same height as the keyboard and hang comfortably at your sides. Your forearms should be roughly parallel to the floor, and your wrists should stay straight. If your desk is too high, try raising your chair and using a footrest. If it is too low, a keyboard tray with height adjustment can help.
Should I use a wrist rest?
A wrist rest can be helpful if it is padded, free of sharp edges, and matches the height of the keyboard’s front edge. OSHA’s checklist says it should let you keep your forearms, wrists, and hands straight. However, a rest is not a substitute for proper keyboard and chair adjustment. Address the workstation setup first, then add a rest if it helps you maintain a neutral posture.
What if my desk is too high and I cannot adjust it?
OSHA suggests raising your chair until your elbows are level with the keyboard, then supporting your feet with a stable footrest if they no longer rest flat on the floor. If a center drawer blocks your thighs, remove it. In some cases, you may be able to lower the desk by cutting the legs, or raise it with stable risers if it is too low. A height-adjustable keyboard tray is another option that can bring the keyboard to the right level without modifying the desk itself.
For more detailed guidance on choosing and arranging keyboards, mice, and other input devices, browse our keyboards category and the wider computer accessories section.