Updated November 2026

CNC wood router programs are the instructions that tell your machine where to move, how fast to run, and how deep to cut. By the end of this guide, you will understand the chain that turns a drawing into a finished part: design in CAD, generate toolpaths in CAM, post-process into G-code, then verify and run the job safely. You will also get a checklist for your first cut and a set of common mistakes to avoid.

How CNC Wood Router Programs Fit Together

Most hobbyists think of a “program” as a single file, but a CNC router job is really a pipeline of three steps. Understanding each one makes it much easier to diagnose problems when a cut goes wrong.

Shopping for one? See our guide: 5 Best Hobby CNC Wood Routers of 2026: Buyer's Guide.

  1. CAD (computer-aided design): You draw the shape, such as a sign outline, a joinery profile or a carved panel. Vectors and 2D geometry are usually enough for signs and cutouts. 3D models are needed for relief carving.
  2. CAM (computer-aided manufacturing): You assign tools, feeds, speeds, cut depths and strategies to the geometry. The output is a toolpath, which is the route the bit will follow.
  3. Post-processing into G-code: The toolpath is converted into G-code, the numeric language your controller reads. Each machine controller expects a slightly different dialect, so the post-processor must match your machine.

Some software combines all three steps in one package. Others split them across separate programs. Either way, the G-code file is the final product you send to the machine.

Step 1: Set Up Your Design in CAD

Start with clean geometry. Most CAM problems trace back to open shapes, duplicate lines or inconsistent units.

Choose the Right Units and Origin

Pick inches or millimeters before you draw anything and stick with it. Set your origin to a repeatable reference point, usually the lower-left corner of the stock or the center of a fixture. Write this origin down so you can match it when you zero the machine.

Clean Up the Drawing

  • Close all open paths. An open curve can cause a cut to stop partway through.
  • Delete duplicate lines stacked on top of each other, since the toolpath may cut them twice.
  • Convert text to outlines before machining if you plan to cut lettering.
  • Check that inside corners will accept your bit. A 1/4-inch end mill cannot cut a perfectly sharp internal corner, so add a fillet or plan for a small radius.

Step 2: Build Toolpaths in CAM

This is where your program takes shape. For each set of geometry, you choose a tool, a strategy and cutting parameters.

Choose Strategies for Each Operation

  • Profile (outside or inside) cuts cut around the edge of a shape. Use outside profiles for parts you want to free from the stock, and inside profiles for pockets or holes.
  • Pocketing removes material from an enclosed area. A zig-zag or spiral pattern is common.
  • Drilling plunges at fixed points for holes and dowel locations.
  • 3D roughing and finishing is used for carvings. Roughing removes bulk material quickly, and finishing takes a smaller stepover for a smooth surface.

Set Feeds, Speeds and Depths

Feeds and speeds depend on your router, bit diameter, flute count, material and dust-collection setup. Always start from the bit manufacturer’s recommended ranges for hardwood, softwood or plywood, then adjust conservatively. The table below shows a general starting framework. Treat these as examples, not universal settings.

Operation Typical Depth per Pass Stepover (Pocketing) Notes
Roughing pockets (hardwood) Up to about one bit diameter 40–60% of bit diameter Leave a small finish allowance
Finishing profile Full depth or in two passes Not applicable Use a clean climb pass if your software supports it
3D finishing Small stepdown 5–15% of bit diameter Smaller stepover gives smoother surfaces but longer runtime

Add Tabs to Hold Parts in Place

When you cut out a part from a sheet, the piece can shift or flip if it is fully freed. Add tabs, which are small uncut bridges, to keep it attached until the end of the job. Three or four tabs per part is a common starting point for panels of moderate size. Remove tabs by hand with a flush knife or a sanding block after the job finishes.

Step 3: Generate and Post-Process G-code

Once your toolpaths are set, export G-code using the post-processor that matches your machine’s controller. Common controller families include GRBL, Mach3, Mach4, LinuxCNC and Fanuc-style dialects. Choosing the wrong post-processor can cause errors such as unsupported commands, wrong spindle behavior or incorrect Z movement.

Before you run anything, open the G-code in a text editor or a simulator and look at the start and end of the file. Confirm that the machine homes correctly, the spindle starts and stops as expected, and the tool retracts to a safe height at the end.

Step 4: Verify, Set Up and Run the Job

Run a Dry Simulation

Most CAM software has a simulation view that shows the toolpath on the stock. Scrub through it and watch for unexpected plunges, sharp reversals and cuts that leave the material boundary.

Zero the Machine and Confirm Stock Position

  1. Clamp the stock flat and secure it. Use screws or clamps that sit outside the cutting area.
  2. Set X and Y zero at the origin you chose in CAD.
  3. Set Z zero by touching the bit to the top of the stock, using a feeler gauge or a zeroing block to account for thickness.
  4. Run the job with the spindle off and the Z axis raised to check clearances. This is called an air cut.

Make a Test Cut

Before committing a full sheet, run a short test on scrap of the same material. Watch the chip load, listen for chatter and check the edge quality. Adjust feed and depth before running the real part.

Checklist: Before Every First Cut

  • Units and origin match between CAD, CAM and the machine.
  • All geometry is closed and free of duplicate lines.
  • Correct post-processor selected for your controller.
  • Bit diameter, flute count and length are entered correctly in CAM.
  • Tabs are placed on parts that must stay attached.
  • Stock is clamped, with fasteners outside the toolpath.
  • Dust collection and eye and hearing protection are in place.
  • Emergency stop is within reach and tested.

Common Mistakes

  • Wrong tool diameter in CAM. If the software thinks you are using a 1/4-inch bit but you installed a 1/8-inch bit, every dimension will be off.
  • Skipping the simulation. A few seconds of review can catch a crash or a wrong toolpath.
  • Cutting all the way through in one pass. Deep single passes overload small routers and burn wood. Use multiple passes.
  • Ignoring Z zero. A bad Z zero either gouges the stock or leaves it uncut.
  • Forgetting tabs. Loose parts can be thrown by the bit or damage the surface under them.
  • Mixing up post-processors. A G-code file written for one controller may fail or behave unpredictably on another.

Tips for Better Results

  • Save your CAM setups as templates for materials you use often.
  • Keep a log of feeds, speeds and results for each material and bit combination.
  • Use climb cutting on finishing passes when your machine has enough rigidity, since it usually leaves a cleaner edge.
  • Keep spare bits on hand, since a dull bit can change your results mid-job.
  • Label your G-code files with the date, material and bit so you can repeat good runs.

Good programs run best on a rigid machine with a reliable spindle and sharp tooling. The items below are useful additions for most hobby setups.

  • Upcut and downcut spiral bits: Upcut bits clear chips well in pockets, while downcut bits hold the surface cleanly on plywood. Choosing the right geometry for each operation improves your finish. View on Amazon
  • Zeroing block or Z-probe: A consistent Z zero reduces setup errors and keeps your depths accurate from job to job. View on Amazon
  • Feeler gauge set: A simple way to set Z height when you do not have a probe, and useful for checking clearances. View on Amazon

FAQ

What is the difference between CAD and CAM for CNC routers?

CAD is used to draw the shape of the part. CAM takes that shape and generates the toolpaths, including the bit, depth, feed and cut order. Some software does both.

What file format do CNC wood routers use?

Most machines read G-code, usually saved with a .nc, .gcode or .tap extension. Your post-processor determines the exact dialect the file uses.

Why does my G-code work on one machine but not another?

Different controllers use different G-code dialects and machine settings. Use a post-processor built for your specific controller, and check start and end codes before running.

How deep should each pass be?

There is no single answer. A common starting point is up to one bit diameter per pass in hardwood for roughing, with finer passes for finishing. Adjust based on your router’s power and the bit manufacturer’s guidance.

Do I need a 3D model to run a program?

No. Signs, cutouts and many joinery parts only need 2D vector geometry. You need a 3D model for relief carving and sculpted surfaces.

Why are my cut edges rough or burned?

Common causes include a dull bit, feed rate too slow for the depth, spindle speed too low, or chips not clearing. Check the bit, adjust feed and speed, and consider an upcut bit for pockets.

How do I avoid losing a part mid-cut?

Use tabs on any part that could move, clamp the stock securely, and make sure fasteners sit outside the cutting path.

Is it safe to run a CNC router unattended?

Never leave a machine running without supervision, especially on a first run of a new program. If you have questions about electrical or dust safety for your workshop, consult a qualified professional.

Conclusion

CNC wood router programs turn a design into a physical part through three connected steps: CAD, CAM and post-processed G-code. Clean geometry, correct tool data, a simulation review and a test cut will prevent most problems. Build good habits on simple projects first, and your programs will become more reliable as your projects grow in complexity.

Claire Whitaker

About Claire Whitaker

Claire Whitaker is part of our editorial team and reviews and edits our woodworking guides, checking product details against manufacturer specifications and owner feedback.