Skip to content
Desk and Daylight

How to set up a keyboard tray

A keyboard tray does two things a desk can't: it drops the input surface to your seated elbow height, and it tilts the keys away from you. This is how to set the height, dial in the negative tilt, get the distance right, keep the mouse on the same surface, and decide when a tray beats simply raising your chair.

By Stephen V.Last reviewed

A keyboard tray looks like a minor convenience — a shelf that slides the keyboard out of the way when you need the desk. It is actually one of the few pieces of hardware that can do something your desk cannot: it drops the input surface below the desktop, down to where your elbows are, and it tilts the keys away from you. Those are two geometric moves a fixed desk simply will not make, and they are the whole reason a tray is worth the trouble of installing one. Set it badly and it is an awkward drawer. Set it well and it fixes the single most common problem in a home office: a desk that sits too high to type at.

This page is the setup, in the order that matters — height first, then tilt, then distance, then the mouse — and it ends on the question of when a tray is the right call versus simply raising your chair. It is a geometry page: it is about angles and heights and where surfaces sit, and it stays there deliberately, because this is a category where the marketing wanders into claims none of us is qualified to make.

Height first: bring the keys to your elbows

Everything starts with height, because height is the reason the tray exists. The target is your seated elbow height: sit back in the chair with your upper arms hanging naturally and your elbows bent to roughly a right angle, and the surface you type on wants to meet your hands right there, so your forearms come roughly parallel to the floor and your shoulders stay down. For most people that height is below the desktop — often noticeably so — which is exactly why a keyboard on the desk sits too high and a tray beneath it does not.

So the first adjustment is to set the tray’s height until the keys land at your elbows, not the desk’s. Most quality trays adjust through a range on their arm; use it, and set it from your body rather than from what looks tidy under the desk. This is the same elbow-height logic that governs every input surface, laid out in full on wrist and keyboard position — the tray is just the tool that finally lets you hit it under a desk that was built too tall to allow it.

Then tilt: down and away from you

With the height right, the second move is the one a tray does that almost nothing else can: negative tilt. Turn a keyboard over and you find flip-out feet that raise its far edge — the standard, and the wrong direction. What you want is the opposite: the far edge of the surface lower than the near edge, so the keys slope gently down and away from you. Set the tray to tilt in that direction, a small amount, so the surface follows the natural downward slope of your forearm from elbow to hand rather than making your hand hinge upward to meet a flat or backward-sloping board.

That is the entire tilt instruction, and it is a claim about angles and nothing else. The reasoning — why the away-from-you direction is what a neutral forearm asks for, drawn straight from the geometry — is on wrist and keyboard position, and it is worth reading before you set the tray, because a tray is one of the few surfaces that can produce a genuine negative angle where a bare keyboard cannot. Dial in a gentle downward tilt, not a dramatic one; the goal is that your hands rest in a straight line with your forearms, and a little tilt gets there.

Distance: close enough to keep your elbows home

The third setting is how far the tray sits from you, and the rule is short: close enough that your elbows stay at your sides while you type. A tray pushed too far under the desk makes you reach forward for the keys, which pulls your shoulders forward and undoes the relaxed position the height and tilt were arranging. Pull the tray out until your upper arms hang straight down and your forearms reach the keys without your body leaning in after them.

Center it on you as well, not on the desk. A full-size keyboard’s number pad shoves the letter keys left of the board’s physical middle, so a keyboard centered on the tray puts your hands off to the side. Line the middle of the letters up with your body, and let the number pad fall wherever it falls. Distance and centring are free adjustments, and they are the ones people skip after the effort of installing the tray — which is a shame, because they decide whether the shoulders benefit along with the wrists.

The mouse goes on the tray, not the desk

Here is the mistake that quietly wastes a good tray: dropping the keyboard down to the tray while leaving the mouse up on the desktop. Now your typing hand is at elbow height and your mousing hand is reaching up and forward to a surface several inches too high, so one arm is set right and the other is worse off than before. Whatever the tray fixed for the keyboard, it broke for the mouse.

The mouse belongs on the same surface as the keyboard, right beside it, at the same height and the same tilt. That means the tray has to be wide enough to hold both, which not all of them are — a keyboard-only tray forces exactly the split-height problem above. A tray with room for the mouse alongside the keyboard, or a dedicated mouse platform at the same level, is the version worth buying; which ones actually manage it, and how much surface they give you, is in the best under-desk keyboard trays. Keep the mouse close to the keyboard on that surface, too, so your elbow stays at your side rather than reaching out past a number pad.

When a tray beats raising the chair

A keyboard tray and a raised chair are two answers to the same problem — a desk too tall to type at — and they are not equally good. Raising the chair lifts your elbows to the desk, which fixes the keyboard height, but it also lifts your feet off the floor, and now you need a footrest to close the gap it opened. You have solved one thing and created another.

A tray solves it the other way, and more cleanly: instead of lifting you up to a too-high surface, it brings the surfacedown to you. Your chair stays at the height that keeps your feet flat on the floor, and the tray drops the keys to your elbows — so both your elbows and your feet end up right, with no footrest required. That is the case for a tray over a raised chair: it fixes the height without stranding your feet. The competing fix, a footrest that props feet a raised chair left dangling, is a perfectly good stopgap and covered on how to use a footrest correctly — but where a tray fits, it addresses the cause rather than managing the consequence. There are limits: a tray hangs into the leg space under the desk, so it has to drop far enough to reach your elbows without banging your thighs, and a desk with a deep front rail or a drawer may not have room for one at all. Check clearance before you buy.

What this page is not

This is a geometry guide, not medical advice, because none of us is qualified to give any. Stephen is a home-office enthusiast who reads standards documents and manufacturer spec sheets — not a physiotherapist, an ergonomist, or a clinician. What this page describes is where a surface sits and which way it slopes: the keys at elbow height, the tilt down and away, the mouse alongside, the whole thing close enough to keep your elbows at your sides. Those are claims about angles and distances that you can check against your own arm.

What it does not do is tell you that a keyboard tray prevents, treats, or cures anything. This is the corner of the home office where that line gets crossed most often, because the whole category is marketed on wrist health, and we are not going to join it. A tray lets you put the input surface where the geometry says it belongs; whether that changes anything a doctor would measure is a question for a doctor, and persistent wrist, hand, or arm pain is a conversation for a clinician who can assess you, not for a tray and not for a website with affiliate links on it.

Common questions

How high should a keyboard tray be?

At your seated elbow height — sit with your upper arms hanging and your elbows at about a right angle, and the tray wants to bring the keys to your hands there, so your forearms are roughly parallel to the floor. That is usually lower than the desktop, which is the entire reason a tray exists: it puts the keys where a too-tall fixed desk won’t. The full case for setting the input surface from your elbows is on wrist and keyboard position.

What is negative tilt and how do I set it?

Negative tilt means the far edge of the tray sits lower than the near edge — the opposite of the flip-out feet on the back of a keyboard, which raise the far edge. Tilt the tray so it slopes gently down and away from you, which lets the surface follow the slight downward slope of your forearm rather than making your hand hinge up to reach it. The geometry behind why away-from-you is the right direction is on wrist and keyboard position.

Where does the mouse go on a keyboard tray?

On the same surface as the keyboard, right beside it, at the same height — not up on the desktop. If the mouse stays on the desk while the keyboard drops to the tray, your mousing arm reaches up and forward all day to a surface at the wrong height, which undoes half the point. A tray wide enough for the keyboard and the mouse together is worth insisting on; the ones that manage it are covered in the best under-desk keyboard trays.

When is a keyboard tray better than just raising my chair?

When raising the chair to reach a too-tall desk leaves your feet dangling. Raising the chair fixes your elbows but strands your feet; a tray fixes your elbows by bringing the keys downto them instead, so your feet stay flat on the floor and no footrest is needed. If your desk is a little too tall and your feet come off the floor when you raise the seat, a tray solves both at once — the height logic is on how to prevent wrist pain when typing.

Do I still need a wrist rest with a tray?

Not necessarily, and possibly less than you think. A wrist rest is meant to support the heel of the palm during pauses, not to prop your wrists on while typing, and a tray set at the right height and tilt already keeps your hands in a neutral line. Whether a wrist rest adds anything on top of that is its own question, which we take up on do you need a wrist rest. We describe how these things sit, not what they do to you medically.