How to Build CNC Machines for a Router
This guide covers the mechanical and electrical decisions behind a router-type CNC build: frame material, linear motion, drive system, spindle, and control electronics. It is written for engineers and shop owners who want a machine that holds tolerance on real parts, not just a hobby project. You will finish with a step order and the numbers that decide whether your build works.

Key takeaways
Frame material decides what you can cut
The frame does two jobs: it holds the rails in alignment and it absorbs the vibration the cutter makes. A router cutting aluminum at 12 mm depth and 1,200 mm/min sends a lot of energy back into the structure. If the frame flexes, the tool deflects and the wall tapers. If it rings, the surface finish goes from Ra 1.6–3.2 μm to something you have to sand.
Aluminum extrusion is the cheapest path and the most common mistake. It is easy to drill and tap, but bolted joints slip under load. If you go this route, use 90 mm × 90 mm heavy profile, brace the gantry with a diagonal plate, and torque every joint to spec. Expect to re-tram the machine after the first month of cutting.
Steel weldment is the next step up. A 100 mm × 100 mm × 6 mm square tube frame, stress-relieved and machined flat on the rail faces, will hold alignment for years. The cost is weight and the need for a machine shop to face the mounting pads. Epoxy granite is the third option: it damps roughly 6–10× better than steel, but you cannot weld it, and repairing a cracked casting means a new casting.
For a benchtop router under 600 mm × 900 mm travel, 6 mm steel plate bolted to a welded base is enough. For anything over 1,200 mm in X, go to a welded steel frame with a moving gantry, or accept that you are building a light-duty machine.
- 1ExtrusionCheap, easy to modify, creeps under load. Use only for wood and plastic.
- 2Welded steelBest cost-to-stiffness for a 1,200 mm machine. Needs stress relief.
- 3Epoxy graniteBest damping. Heavy, hard to modify, expensive to repair.
- 4Cast ironIdeal, but you need a foundry and a planer. Not a garage build.
Rails and screws set the accuracy ceiling
The linear motion system is where your tolerance number actually comes from. You can build a perfect frame and still get 0.1 mm of backlash if the rails are loose or the screw is undersized. Profile rails with preloaded carriages hold ±0.005 mm repeatability when mounted on a flat, machined surface. Round shaft and skate bearings do not. They are fine for a plasma table, not for a router cutting aluminum.
Ball screws are the default for the X, Y, and Z axes. A 16 mm diameter screw with a 5 mm lead and C7 accuracy is the minimum for a router. C5 ground screws are better if you need ±0.005 mm over 500 mm. Rolled screws are cheaper but have more lead error. Rack and pinion is the alternative for long axes: above 1,500 mm of travel, a ball screw will whip at high RPM, and a helical rack with a 20° pressure angle handles the speed without the whip.
Mount the rails on a machined surface, not on extrusion. The rail must sit flat within 0.02 mm over its length, or the carriage will bind at the ends. Check with a dial indicator on a magnetic base. If you cannot machine the surface, use a epoxy leveling compound and scrape it flat.
Bearing preload matters. A carriage with zero preload will rattle and lose position on direction changes. A carriage with heavy preload will run hot and wear the rail. Medium preload is the right choice for a router.
- 1X and Y under 1,200 mm16 mm ball screw, C7 or better, medium preload.
- 2X over 1,500 mmHelical rack and pinion, 20° pressure angle, spring preload.
- 3Z axis16 mm ball screw with a brake or a counterbalance spring.
Steppers, servos, and the torque you actually need
The drive system has to move the mass of the gantry plus the cutting force. A common failure is picking a motor by holding torque alone. Holding torque is measured at zero speed. At 600 RPM, a stepper loses 40–60% of that number. Size the motor for the torque you need at your rapid speed, not the torque on the datasheet.
For a benchtop router with a 20 kg gantry, a NEMA 23 stepper at 3 N·m with a 48 V power supply will move the axis at 5,000 mm/min and cut aluminum at 1,200 mm/min. For a 100 kg gantry, go to NEMA 34 closed-loop steppers or AC servos. Closed-loop steppers cost more but they will not lose position when you push the feed too hard.
The control electronics are the second half. A 24 V or 48 V DC power supply, a stepper driver with at least 4.2 A per phase, and a breakout board that accepts a 0–10 V spindle signal. If you plan to run a 2.2 kW spindle, the VFD needs its own circuit. Do not share the logic supply with the spindle drive.
Ground everything to one point. Motor frames, spindle body, and control cabinet all tie to the same earth lug. A floating ground will cause missed steps that look like a software problem.
- 1NEMA 23, 3 N·mGantry under 25 kg. 48 V supply, 4.2 A driver.
- 2NEMA 34, 8–12 N·mGantry 25–100 kg. Closed loop strongly preferred.
- 3AC servo, 750 WGantry over 100 kg or high-speed rapids above 15,000 mm/min.
Spindle choice follows the material
A router spindle is not a milling spindle. A 2.2 kW air-cooled spindle at 24,000 RPM is built for wood, plastic, and light aluminum. It has ceramic bearings and low runout, but it has no gearbox. If you try to run a 50 mm face mill in steel, you will stall it or destroy the bearings.
Match the spindle to the chip load. For aluminum, a 6 mm two-flute carbide end mill at 18,000 RPM and 1,200 mm/min gives a 0.025 mm chip per tooth. That is a comfortable cut for a 2.2 kW spindle. For steel, you need a lower speed and more torque, which means a belt-driven spindle or a milling head, not a high-speed router spindle.
The collet matters more than most builders think. An ER20 collet with 0.01 mm runout will give you a better surface finish than a cheap ER32 with 0.05 mm runout. Check runout with a dial indicator on a gauge pin. If it is over 0.02 mm, the collet or the spindle taper is bad.
Cooling is not optional on long cuts. Air-cooled spindles need a clean airflow path. Water-cooled spindles need a chiller and a 5–10 L/min flow. If you run a water-cooled spindle without a chiller, the water heats up in 20 minutes and the spindle expands.
- 1Wood and plastic1.5–2.2 kW air-cooled, 18,000–24,000 RPM.
- 2Aluminum2.2–3.0 kW water-cooled, 12,000–18,000 RPM, chiller required.
- 3SteelBelt-driven milling head, 3,000–6,000 RPM. Not a router spindle.
Step by step
- 11. Fix the work envelopeWrite down the largest part you will cut: length × width × height. Add 100 mm to X and Y for clamping and tool clearance. Add 50 mm to Z. Do not design around a guess. A 400 mm × 400 mm part needs at least 500 mm × 500 mm of travel.
- 22. Choose the frame and machine the rail padsWeld or bolt the base, then face the rail mounting surfaces flat within 0.02 mm over the full length. If you cannot machine them, use epoxy leveling compound and scrape. A rail bolted to a bowed surface will bind.
- 33. Install the linear rails and measure parallelismMount the first rail, then use it as the reference for the second. Measure parallelism with a dial indicator: the two rails must be parallel within 0.02 mm over 500 mm. Tighten the rail bolts in a star pattern to 20–25 N·m for M6.
- 44. Fit the ball screws and check backlashMount the screw, then measure backlash at the nut with a dial indicator. Push and pull the axis by hand. If backlash is over 0.02 mm, adjust the preload or replace the nut. A double nut with a shim is a common fix.
- 55. Mount the motors and set the couplingUse a flexible coupling with a 0.1 mm max misalignment. Do not use a rigid coupling unless the motor and screw are on the same centerline within 0.02 mm. A rigid coupling with misalignment will fatigue the screw end.
- 66. Wire the control cabinet and ground itRun the stepper cables away from the spindle cable. Use shielded cable for the spindle signal. Ground the motor frames, spindle body, and cabinet to one earth point. Check continuity from every metal part to that point.
- 77. Tram the spindle and cut a test partTram the spindle to the table within 0.02 mm over 100 mm. Then cut a 100 mm × 100 mm pocket in aluminum with a 0.05 mm stepover. Measure the walls with a micrometer. If the taper is over 0.03 mm, the machine is flexing.
Machine class by build budget and material
Pick the row that matches your material and part size. The tolerance column is what the build can realistically hold, not what the datasheet claims.
| Build class | Frame | Drive | Realistic tolerance |
|---|---|---|---|
| Hobby wood router | Aluminum extrusion | NEMA 23 stepper, belt | ±0.1 mm |
| Benchtop aluminum | 6 mm steel plate | NEMA 23 ball screw | ±0.05 mm |
| Production router | Welded steel, stress relieved | NEMA 34 closed loop | ±0.02 mm |
| High-precision router | Epoxy granite or cast iron | AC servo, ground screws | ±0.005 mm |
Build the frame first, then the electronics
If you want a router that holds tolerance on aluminum, spend your budget on the frame, the rails, and the screws. The control electronics are the last 20% of the build. If you would rather not build at all, send us the drawing and we will quote the machined parts.
Frequently asked questions
How much does it cost to build a router-type CNC machine?
The cost depends on the frame and drive system. A benchtop build with an extrusion frame, NEMA 23 steppers, and a 1.5 kW spindle is the lowest-cost path. A welded steel frame with closed-loop steppers and a 2.2 kW water-cooled spindle costs more, but it holds ±0.02 mm and cuts aluminum all day.
The parts that drive cost are the linear rails, the ball screws, and the spindle. Do not save money on the rails. A cheap rail will cost you more in scrap parts than the price difference.
Can a router build cut steel?
A high-speed router spindle cannot cut steel efficiently. The surface speed is too high and the torque is too low. You can scratch a shallow pocket in mild steel with a 3 mm carbide tool at low feed, but you will burn tools and get a poor finish.
If you need steel, build a milling machine with a belt-driven head at 3,000–6,000 RPM, or send the part to a CNC shop with 5-axis capability.
What is the most common mistake in a first router build?
Undersizing the frame and the drive. Builders pick a motor by holding torque and a frame by price. The machine then flexes under load and the finish is bad. Fix the frame first, then size the motor for the torque at cutting speed.
The second mistake is not machining the rail mounting surfaces. A rail on a bowed surface will bind and wear out the carriage.
Do I need a closed-loop stepper or a servo?
A closed-loop stepper is enough for a benchtop or mid-size router. It will not lose position when you push the feed. An AC servo is better if you need high rapids above 15,000 mm/min or if the gantry is over 100 kg.
For most builders, a closed-loop stepper with a 48 V supply is the best balance of cost and reliability.
How do I check the machine after the build?
Cut a test part that has a pocket, a boss, and a drilled hole. Measure the pocket walls with a micrometer at the top and bottom. Measure the boss diameter. Measure the hole position with a pin gauge.
If the pocket tapers more than 0.03 mm, the spindle or the frame is flexing. If the hole is off position, the backlash or the screw lead error is the cause.
Need the parts machined instead?
Upload your CAD and we will return a quotation and a free DFM analysis within 12 hours. No minimum order quantity, from one prototype to 10,000+ parts.
12-hour quote100% inspectionNo minimum order