CNC Tech for Phone Buttons
A handset side key is a 0.4 g part that lives or dies on fit. This page explains how CNC tech for phone buttons actually works: which geometry suits milling, where the tolerance budget goes, and which materials and finishes still hold up after 20,000 presses.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
What the button actually has to do
A side key, a volume rocker, a power button or a camera shutter key is a small cantilever. The user presses one end, the part pivots, and a dome or tact switch underneath closes. Three things decide whether that feels right: the gap around the key, the travel distance, and the force curve as the dome collapses.
CNC tech for phone buttons starts from that mechanism, not from the drawing outline. If the key sits 0.05 mm too deep in its frame, the press feels mushy. If it sits 0.05 mm proud, it catches on pockets and cases. That is why the tolerance budget is written around the gap, not around the part's overall length.
The frame is usually the harder part. On a unibody aluminum or titanium housing, the button slot is cut into a wall that may be only 1.2 mm thick. A thin wall moves under cutting load. So the slot dimensions and the key dimensions have to be planned as one pair, even when they are machined in two different setups or at two different suppliers.
- 1Gap firstSet the nominal gap before choosing the key tolerance.
- 2Wall thicknessBelow 1.5 mm wall, expect to slow the finishing pass.
- 3Travel0.25–0.40 mm is a common press travel band.
Which button shapes suit CNC, and which do not
CNC handles the shapes a phone button actually needs. A raised cap with a 0.3 mm chamfer, a concave finger dish, an internal pocket for the dome, a small boss for a retaining clip, a light pipe channel beside the key. All of that can come off one 5-axis setup with no secondary stamping die.
Where it gets awkward is very thin, very long, flat parts. A 40 mm long rocker that is 0.35 mm thick will chatter during the finishing pass. It can be machined, but you need soft jaws or a vacuum fixture, light radial engagement, and a slower spindle ramp. The cost per part creeps up fast at that point.
Shapes with undercuts on three sides also force a decision. Either you pay for a 5-axis cycle with a small ball nose tool, or you split the part into two pieces and assemble. For a volume key, splitting often wins on cost once the annual quantity passes a few thousand. For a low-volume or prototype key, one 5-axis cycle is cheaper and keeps the geometry in one piece.
- 1Good fitCaps with chamfers, pockets, dishes and bosses.
- 2Watch outLong, thin flats under 0.5 mm thick.
- 3UndercutsOne 5-axis cycle below ~3,000 pcs; split above.
Where the tolerance budget goes
On a typical handset key, the total gap between key and frame runs 0.10–0.20 mm. Half of that budget disappears into plating or anodizing thickness, paint, and assembly stack-up. What is left for machining is usually ±0.03 mm on the key outline and ±0.02 mm on the frame slot.
GreatLight machines to ±0.005 mm on critical features, which sounds like a lot of headroom. It is not wasted. That headroom absorbs thermal drift across a run, tool wear between offsets, and fixture reset between the first article and the production batch. A shop that can only hold ±0.03 mm has no margin left for anything.
The features that matter most are the ones you cannot measure with calipers on the bench. The depth of the dome pocket, the flatness of the key underside, the position of the clip boss. Those three control the press feel. Put them in the drawing as datum-referenced features, not as general notes, and ask for a first article report with the actual numbers.
- 1Outline±0.03 mm is often enough for the key body.
- 2Frame slotTighter than the key, since the gap is shared.
- 3Dome pocketDepth controls click force more than any other surface.
Surface finish and how it changes the fit
Anodizing, plating and powder coating all add thickness. Type II anodize typically grows 10–25 μm per surface depending on the alloy and bath. Hardcoat can add more. If you machine the key to the final nominal size and then anodize, the key grows and the gap closes. Every dimension that touches another part has to be pre-compensated in the CAM model.
Finish also changes the feel. Bead blasting at Ra 0.8–1.6 μm gives a matte, fingerprint-resistant cap. Polishing to Ra 0.2–0.8 μm gives the glossy look but shows scratches quickly on aluminum. For a key that rubs against a case or a pocket lining, a hardcoat or an electroless nickel layer holds up far longer than bare anodize.
Laser marking is the last step and it has a floor. Minimum character height is 1.5 mm. On a 3 mm wide key, that leaves room for roughly two characters or one small icon. Plan the marking area in the CAD model before the toolpath, not after the parts come back.
- 1Pre-compensateSubtract coating thickness from machined dimensions.
- 2FeelBead blast for matte, polish for gloss.
- 3Marking1.5 mm minimum character height.
Where CNC stops making sense for buttons
CNC stops making sense when the part is flat, thin and needed in the millions. A stamped steel key with a plated finish costs a fraction of a machined one at that volume. The trade is gap control: stamping cannot hold the slot-to-key relationship as tightly, so the design has to open up the gap.
It also stops making sense when the geometry is mostly cosmetic. If the key is a plastic cap over a membrane switch and no one will ever feel the edge, injection molding wins on every axis. CNC is for the parts where a person touches metal and notices the difference.
There is a middle ground worth knowing. Cast the key body and machine only the fit surfaces: the outline, the dome pocket, the pivot hole. That keeps tight control where it matters and drops the cycle time to a couple of minutes. GreatLight runs this combination for handset hardware and for automotive switchgear with the same tolerance targets.
- 1Millions of flat keysStamping or molding, not CNC.
- 2Hybrid routeCast the blank, machine the fit surfaces.
- 3Prototype routeOne 5-axis cycle, no tooling cost.
Machining sequence for a side key
A representative route for a 5-axis aluminum or stainless key.
- 11. Fixture and first opBar stock or plate in soft jaws. Face the top, rough the outline leaving 0.3 mm stock.
- 22. Profile the capFinish the cap and chamfer with a Ø3 mm or Ø2 mm end mill, 8,000–12,000 rpm.
- 33. Machine the undersideFlip onto a machined nest. Cut the dome pocket and clip boss to ±0.02 mm depth.
- 44. Drill and ream the pivotPivot holes reamed to H7 if the key rotates on a pin; otherwise a slot is enough.
- 55. Deburr and finishHand deburr the edges, then bead blast or brush before anodizing.
- 66. InspectCheck outline, pocket depth and boss position. 100% inspection before shipment.
Material and process fit for phone buttons
Pick the row that matches your housing and press count.
| Option | Best for | Watch out for |
|---|---|---|
| Aluminum 6061-T6 | Anodized colored keys, prototypes | Softer surface, anodize adds 10–25 μm |
| Aluminum 7075-T6 | Thin keys needing stiffness | Harder to anodize evenly in color |
| Stainless 316L | Wear-resistant camera keys | Heavier, slower to cut, needs passivation |
| Titanium TC4 | Premium housings and keys | Tool wear, heat, longer cycle time |
| POM or PC | Internal plungers, low-friction pads | Dimensional drift with humidity and heat |
| Zinc die casting | High-volume key bodies | Porosity, thicker walls, plating needed |
Choosing between CNC and other processes
Same part, different volume and tolerance needs.
| Process | Tolerance band | When it wins |
|---|---|---|
| 5-axis CNC | ±0.005 mm | Prototypes, low volume, tight gaps |
| CNC + die casting | ±0.05 mm after machining | 10,000+ pcs with machined fit surfaces |
| Stamping | ±0.05 mm | Flat keys, very high volume, loose gap |
| Injection molding | ±0.05 mm | Plastic keys, complex ribs, high volume |
| 3D printing | ±0.10 mm | Form studies, no press function |
The verdict
If the key is touched by a finger and the gap has to stay under 0.20 mm, machine it from aluminum or stainless on 5-axis and pre-compensate for the coating. If it is a flat cosmetic cap made in the millions, switch to stamping or molding and open the gap.
Questions engineers ask
What tolerance can you hold on a phone button?
Critical features such as the outline, dome pocket and pivot hole are machined to ±0.005 mm. General non-fitting surfaces are usually held at ±0.05 mm to keep the cycle time down.
Tell us which dimensions control the press feel and we will put the tight tolerance only there.
Can you machine the housing slot as well as the button?
Yes. Both parts can be cut in the same shop so the gap is planned as one pair. Machining them at two suppliers usually means two tolerance stacks and a wider gap.
For unibody frames, the slot wall may be thin. We slow the finishing pass to control deflection.
How does anodizing change the fit?
Type II anodize adds roughly 10–25 μm per surface. On a 0.15 mm gap that is a meaningful share of the budget.
We subtract the expected coating thickness from the machined dimension so the finished part lands on nominal.
Which material gives the best press feel?
Aluminum 6061-T6 is the usual choice for anodized keys. Stainless 316L feels firmer and resists wear better but weighs more.
Titanium TC4 is used on premium housings where the key must match the frame material.
What is the minimum order quantity?
There is no minimum order quantity. We run from one prototype to 10,000+ part runs.
A single key is machined from bar stock; a production run may move to a cast blank with machined fit surfaces.
How fast can parts ship?
Quotation and DFM analysis come back within 12 hours. Production can start within 24 hours and parts typically ship in 3–5 days.
One hundred percent inspection happens before shipment, and reports are available on request.
Send us your button drawing
Upload the STEP file and we will return a quote with DFM notes on the gap, the dome pocket and the finish thickness within 12 hours.
12-hour quoteNo MOQ±0.005 mmNDA on request