Typing Ergonomics: Desk Setup, Posture and Exercises That Prevent Pain
Good typing ergonomics comes down to a few measurements: elbows at 90 to 110 degrees, wrists straight, the keyboard flat or tilted slightly away from you, the mouse right beside it, and the screen at eye level about an arm's length away. Add a break routine and a few minutes of stretches and nerve glides a day, and you take most of the mechanical strain out of typing.
Below: the setup from the chair up, typing technique, breaks, and the exercises that help prevent carpal tunnel. It's general information. If you already have numbness, tingling or pain that won't settle, see a doctor or physiotherapist first.
Why typing ergonomics matter
Most people ignore their setup until something hurts, and by then the strain has usually been building for months. John Cinkay, a physical therapist at the Hospital for Special Surgery, puts it plainly: "Spending eight hours a day reaching, slouching or craning can lead to pain."
Cornell University's ergonomics research found that working in any posture for more than 3 to 4 hours leads to muscle fatigue, however good the setup. Good ergonomics buys you time, not unlimited time, which is why breaks matter as much as positioning.
"Using a computer isn't hazardous in and of itself," says Dr Youssra Marjoua, an orthopaedic surgeon at Cleveland Clinic. The hazard is doing it badly, for too long, without adjustments.
Your wrist pain might not even start in your wrist. Think of your arm like a garden hose: step on it upstream, at the neck or shoulder, and the flow at the wrist suffers. Hunching forward can compress nerves that run to your fingertips, so fixing only your wrist angle often fails. You have to work through the whole chain, from how your head sits to where your elbows rest.
Tingling fingers after typing, wrists that ache more as the day goes on, mid-afternoon neck stiffness or pain shooting up your forearm are all signs to look hard at your setup. For causes, symptoms, tendinitis vs carpal tunnel and when to see someone, read our guide to wrist pain from typing.
Typing ergonomics at a glance
| Part | Target | Common mistake |
|---|---|---|
| Elbows | 90 to 110 degrees, close to your sides | Reaching up to a desk that's too high |
| Wrists | Straight line from forearm to knuckles | Resting on the desk edge while typing |
| Keyboard | Flat or slight negative tilt, at or just below elbow height | Flip-out back feet propping it up |
| Mouse | Next to the keyboard, same height | Parked beyond a number pad |
| Monitor | Top of screen at or just below eye level, 20 to 26 inches away | Laptop screen on the desk |
| Chair | Slight recline of 100 to 110 degrees, feet supported | Sitting bolt upright, feet dangling |
The rest of this guide explains each line.
Step 1: Set your chair to your keyboard, not your feet
This is the foundation. Get it wrong and no accessory will save you.
Most guides start with "keep your feet flat on the floor". That gets the order backwards. Most desks are a fixed 29 to 30 inches tall (as Cinkay notes), so your keyboard height is already decided. Your chair has to match the keyboard, not the other way round.
Adjust to your keyboard first
Sit down with your hands on the keyboard. Adjust the chair until your elbows are by your sides and your forearms run roughly parallel to the floor. Your hands should reach the keys without reaching up or angling down. Cinkay's rule: "Where your hands end up is where your keyboard should be."
If your feet no longer touch the floor, add a footrest (a stack of books works). Dangling feet shift your weight onto your lower back, and that cascades up through your shoulders into your wrists. Your knees should sit at roughly 90 degrees with your hips right at the back of the seat, not perched on the front edge.
The 90-degree elbow test
Let your arms hang naturally, then bend your elbows. The angle should be between 90 and 110 degrees. If you're reaching up to the keyboard, the chair is too low. If your elbows are pinched against the desk edge, it's too high.
A slight recline beats sitting bolt upright
"Sit up straight" is poor advice for long sessions. A perfectly vertical posture makes your core hold you up for hours. A slight recline of 100 to 110 degrees lets the chair back carry some of your weight, reduces pressure on your spine and lets the lumbar support do its job.
Keep your shoulders relaxed, not shrugged. If you catch yourself tensing, drop them on purpose. Shrugged shoulders restrict the nerves and blood flow running down to your hands.
Step 2: Put your monitor at arm's length and eye level
Place your monitor about an arm's length away, roughly 20 to 26 inches. The top of the screen should sit at or just below eye level. That stops you leaning in or tilting your head, both of which feed the neck-to-wrist chain above. If the monitor doesn't adjust, put it on books or a riser.
Two monitors: if one is primary, put it straight in front of you with the second angled to the side. If you use both equally, centre yourself between them.
Laptops: the screen and keyboard are locked together at the wrong height for each other. The fix is a laptop stand to lift the screen to eye level, plus an external keyboard and mouse.
Eyes: every 20 minutes, look at something 20 feet away for 20 seconds. Shifting your gaze tends to shift your body too.
Step 3: Place your keyboard and mouse to protect your wrists
Find the neutral zone
Neutral means your wrist sits in a straight line with your forearm: not bent up, not bent down, not angled to either side. That puts the least stress on your tendons and on the carpal tunnel. Your fingers should curve naturally over the keys rather than flatten out, with your thumbs hovering near the space bar.
Wrist rests should support your palms
Most people plant their wrists on the padded rest and type from there. The underside of the wrist has nerves and blood vessels that don't like sustained pressure. Put the rest under the fleshy base of your palms instead. Better still, float your hands over the keyboard while you're typing and only rest your palms during pauses.
Tilt the keyboard away from you
Those flip-out feet on the back of most keyboards tilt it towards you. It feels natural, but it forces your wrists into extension and raises the pressure inside the carpal tunnel. Cornell's ergonomics guidance favours a negative tilt (front edge higher than the back) to keep wrists neutral. If your keyboard can't do that, flat on the desk is the safe default. Put the keyboard at or slightly below elbow height, and slide it close to the desk edge so you aren't reaching.
Go compact, and consider split
Full-size keyboards push the mouse further right, so your shoulder reaches outwards thousands of times a day. Compact layouts (tenkeyless or 65%) drop the number pad, which brings the mouse closer to centre and takes that reach away.
Split keyboards angle each half to match your natural hand position instead of forcing both hands towards the middle, which reduces sideways bend at the wrist. Tented designs lift the centre to reduce palm-down rotation further. A 2025 scoping review of 58 studies on RSI prevention found ergonomic equipment was the most studied intervention (36 studies), with adapted keyboards appearing in 20. Popular options include the Kinesis Advantage360, ZSA Moonlander and Logitech Ergo K860. The best one is whichever keeps your wrist neutral.
Move the mouse from your elbow
Keep the mouse right next to the keyboard at the same height. Move it by pivoting at the elbow rather than sweeping your whole arm from the shoulder, keep your wrist straight, and don't plant it on the desk. Vertical mice such as the Logitech MX Vertical or Evoluent VerticalMouse put your hand in a handshake grip, which reduces the forearm twist a flat mouse demands. If you're already sore, alternate between mouse and trackpad, or switch hands now and then.
Step 4: Fix your typing technique
Type lighter. Many people press much harder than the keyboard needs. Modern keys register with very little force, and hammering them strains your finger tendons for nothing. Try typing deliberately lightly for an hour and notice the difference.
Move your arm, not just your fingers. When reaching for keys outside the home row, move your whole hand rather than stretching a finger or twisting your wrist. That spreads the effort across bigger muscles instead of the small tendons in your hand.
Use both hands for shortcuts. Don't contort one hand to hit a three-key combination or stretch your little finger to a modifier key. Split the keys between hands.
Cut keystrokes where you can. Text expansion turns short abbreviations into phrases you type all day, and Cmd + arrow keys jump through text without holding a key down.
Step 5: Build a break routine that sticks
The 10 to 15 minute slouch window
Cinkay says everyone starts to slouch after about 10 to 15 minutes of sitting. Postural muscles tire, and it isn't a willpower problem. Small corrections every 10 to 15 minutes do more than one big posture reset an hour. Each time you notice you've slumped, sit back up or shift your weight.
Microbreaks and full breaks
Microbreaks last 30 to 60 seconds, every 20 to 30 minutes: stop typing, shake out your hands, roll your shoulders, let everything go slack. The 2025 scoping review found breaks on a fixed schedule worked better than breaks taken only when people felt like it, so set a timer.
Full breaks last 5 to 10 minutes: stand up and move. Fill your water bottle, walk to the kitchen, do a lap.
Movement snacks between bigger blocks of work: one or two minutes of light activity, such as ten bodyweight squats, a hip flexor stretch or a walk across the room. They break up the 3 to 4 hour window Cornell identified before fatigue sets in regardless of posture.
Get up every hour
Standing all day isn't better than sitting all day. The problem was never sitting, it's staying in one position for hours. Get up at least once an hour. If you have a sit-stand desk, alternate rather than committing to one mode.
Desk exercises for your neck and shoulders
These counter the forward-head, rounded-shoulder posture that screen work builds:
- Chin tucks: pull your chin straight back (not down), making a double chin. Hold 5 seconds, repeat 10 times.
- Upper trap stretch: tilt your head to one side and gently pull with the opposite hand for 15 to 20 seconds per side.
- Neck tilts: ear towards shoulder, hold 10 seconds, 5 per side.
- Shoulder blade squeezes: squeeze your shoulder blades together, hold 5 seconds, repeat 10 times.
- Shoulder rolls: 10 forwards, then 10 backwards.
Exercises to prevent carpal tunnel and typing strain
These target the median nerve, the flexor tendons and the muscles of your forearm and hand, and take about five minutes. None should hurt. If something causes pain, stop. If a nerve glide causes tingling, numbness or an electric feeling, you're either going too fast or there's existing compression that a doctor should look at.
If you already have carpal tunnel symptoms, see a healthcare provider before starting. These exercises are generally fine for mild symptoms, but moderate or severe cases may need splinting or other treatment first, and a hand therapist can tailor a programme to you.
1. Wrist flexor stretch
The flexors on the palm side of your forearm are the most overworked muscles in typing, and their tendons run through the carpal tunnel. The Cleveland Clinic recommends this stretch as a frontline defence against carpal tunnel.
Hold one arm straight out at shoulder height, palm up. With your other hand, gently pull your fingers back towards you until you feel a stretch along the inside of your forearm. Keep your elbow straight. Hold 15 to 30 seconds, 3 to 4 times per side.
2. Wrist extensor stretch
Tight extensors on the back of your forearm change how your wrist moves. Hold your arm straight out, palm down, and let your hand drop towards the floor. Use your other hand to gently press the back of your hand and deepen the stretch. Hold 15 to 30 seconds, 3 to 4 times per side.
3. Tendon glides
These move each finger tendon through its full range inside the wrist and help stop adhesions forming from hours in one position. Start with your hand up and fingers straight, then move through five positions, holding each for 3 to 5 seconds:
- Straight: fingers extended and together
- Hook: bend the top two joints so your fingertips touch the top of your palm, big knuckles straight
- Full fist: thumb over your fingers
- Tabletop: fingers straight but bent 90 degrees at the big knuckles
- Straight fist: fingertips touching the base of your palm
Do 5 to 10 full cycles per hand.
4. Median nerve glide
This is the one most specific to carpal tunnel. It helps the median nerve slide freely through the tunnel. Research published in the Journal of Orthopaedic and Sports Physical Therapy found that nerve and tendon gliding exercises, combined with conventional treatment, improved both symptom severity and function.
Start with your wrist neutral and your hand in a fist, then move slowly through:
- Straighten your fingers and thumb
- Bend your wrist back so your fingers point at the ceiling
- Move your thumb out away from your hand
- Turn your forearm so your palm faces up
- With your other hand, gently pull your thumb back
Hold each position for 3 to 5 seconds, then reverse. Do 3 to 5 cycles per hand.
5. Prayer stretch
Press your palms together in front of your chest, fingers up, elbows out. Slowly lower your hands towards your waist, palms still together, until you feel a stretch in your inner forearms. Hold 15 to 30 seconds, 3 to 4 times. Spread your fingers while keeping your palms together to deepen it.
6. Fist to fan
Make a tight fist and squeeze for 3 to 5 seconds. Then open your hand wide and spread your fingers as far as they go for another 3 to 5 seconds. Repeat 10 to 15 times. It counters the curled position your fingers hold on the keys all day, and your hands should feel warmer after a few reps.
7. Hand shakes and wrist circles
The simplest two on the list. Shake your hands loosely, as if air-drying them, for up to 60 seconds. Then rotate your wrists slowly, 10 circles each way. Do both every hour to keep the flexors from tightening up.
Build forearm strength
Strength work is the piece most typing guides skip. The same 2025 scoping review found a strong level of evidence that resistance training helps prevent upper-body musculoskeletal disorders. Stronger forearm muscles take more of the load, so the tendons (the part that gets injured) take less.
- Grip squeezes: a spring grip trainer at a resistance where 15 to 20 squeezes tires you. 3 sets per hand.
- Wrist curls: forearm resting on your thigh, palm up, a light dumbbell (2 to 5 lb to start). Curl the weight by bending your wrist. 3 sets of 15.
- Reverse wrist curls: the same, palm down. 3 sets of 15.
Do it three times a week on non-consecutive days, about 10 to 12 minutes a session, and increase the resistance gradually. The aim isn't big forearms. It's enough resilience that a full day of typing doesn't overwhelm your tendons.
A daily routine that takes five minutes at a time
| When | What | Time |
|---|---|---|
| Morning, before typing | Flexor and extensor stretches, tendon glides | About 5 minutes |
| Midday | Median nerve glides, prayer stretch, hand shakes | About 4 minutes |
| End of day | All seven hand and wrist exercises | About 5 minutes |
| Every 20 to 30 minutes | Microbreak: stand, shake out, roll shoulders | 30 to 60 seconds |
| Every hour | Get up and move, neck and shoulder exercises | 2 to 5 minutes |
| Three times a week | Grip squeezes and wrist curls | 10 to 12 minutes |
Consistency matters more than duration. A few minutes every day beats a long session once a week.
Type less: voice input as an ergonomic tool
Everything above reduces the strain of each keystroke, not the number of them. Even a perfect setup means thousands of identical finger movements a day, so the last big fix is to type less.
Voice input does that. It suits emails, reports, notes and first drafts. It's less suited to precise code syntax, quick replies and open-plan offices. The sensible split: dictate the bulk text, keep the keyboard for edits, formatting and code.
On a Mac, Blazing Transcribe is built for this. Hold fn, talk, let go, and your words are typed into whatever app you're in: email, Slack, documents or a code editor. Speech recognition runs on the Apple Neural Engine, 155× faster than real time, and your voice never leaves your Mac. It's currently free, there's no account, and the code is open source. This is ours, so weigh that accordingly. It's Mac only (macOS 15 or later on Apple Silicon). For other options, see hands-free typing software or the best dictation apps for Mac.
Frequently asked questions
What is the correct posture for typing?
The correct posture for typing is elbows at 90 to 110 degrees with forearms roughly parallel to the floor, wrists straight, and a slight recline in your chair. Feet go flat on the floor or a footrest, and the monitor sits at eye level an arm's length away. The elbow angle matters most because it sets the alignment of everything else.
How often should you take breaks when typing?
Take a 30 to 60 second microbreak every 20 to 30 minutes when typing, and get up and move at least once an hour. Correct your posture whenever you notice slouching, which typically starts after 10 to 15 minutes. Breaks on a fixed schedule work better than waiting until you feel stiff.
What is the best keyboard angle for typing?
The best keyboard angle for typing is flat or a slight negative tilt, with the front edge a little higher than the back. The flip-out feet on most keyboards create a positive tilt, which bends your wrists back and increases pressure in the carpal tunnel.
Do ergonomic keyboards actually help?
Ergonomic keyboards help with specific problems: split designs reduce sideways wrist bend, tented ones reduce palm-down rotation, and negative-tilt models keep wrists neutral. They don't fix a bad chair height or a day without breaks, so treat one as part of the setup rather than the whole answer.
Can exercises prevent carpal tunnel syndrome?
Exercises can lower carpal tunnel risk by keeping tendons mobile and helping the median nerve glide, but they can't guarantee prevention. Carpal tunnel has causes beyond typing, including heredity and some medical conditions. Exercises work best alongside a neutral setup, regular breaks and less typing overall.
How long do typing ergonomics changes take to reduce pain?
Most people notice improvement within one to two weeks of consistent typing ergonomics changes, and relief from longer-standing problems can take four to six weeks. Consistency is the key: start with chair height and keyboard position, then add breaks and exercises over the first week. If pain persists, see a doctor rather than typing through it.