← Projects
laser intermediate Jul 21, 2026 ◑ 1 views ◯ 5 min read

Building a Laser-Cut Mechanical Puzzle Box: Gears, Sliding Locks, and Hidden Compartments

Build time: 1-2 weekends
Tools needed: Longer Ray5 20W laser cutter (or similar diode/CO2 laser), LightBurn software, wood glue, small clamps, sandpaper (150-220 grit), calipers for test-fit measurement, drill or hand punch for the pivot hole, craft knife for masking tape
Parts List
puzzle boxlaser cuttingplywoodmechanical mechanismfinger jointsray5 20wwoodworkingdiyhidden compartment

A laser cutter is a genuinely good tool for building mechanical puzzle boxes — the kind with a hidden latch, a gear train you have to turn in the right sequence, or a sliding panel that only releases once an internal disc lines up. Every part of the mechanism is a flat profile the laser cuts with sub-millimeter repeatability, which is exactly what interlocking gears and sliding bolts need to actually work. This build walks through designing and cutting a box with a rotating-disc lock and a secondary hidden compartment, using a Longer Ray5 20W and plywood, but the same approach scales to acrylic viewing panels, brass hardware accents, or a full gear-train lock if you want to go further.

Design Overview

The box in this build has three functional layers: an outer finger-jointed shell (the box body and lid), an internal locking disc sandwiched inside one wall, and a sliding bolt that only clears its slot when the disc is rotated to the correct position via a small external knob. A second, smaller hidden compartment sits under a false bottom that only lifts out once the main lock is open. None of this requires screws or metal fasteners beyond a single brass rod for the disc's pivot and a couple of small rare-earth magnets for the hidden panel's detent.

Step 1: Design the Box Shell With Finger Joints

Lay out the six box faces (or five plus lid, depending on your lid style) with finger/box joints on every shared edge — this is what makes glue-up accurate without clamps fighting you, since the fingers self-align. Kerf compensation is critical here: if your joints are cut at exact nominal width, they'll be too tight to assemble once you account for the material the beam actually removes. Cut a quick test joint in scrap first and measure the fit — a joint that's a friction-fit snug by hand (not a mallet-required press fit) is what you want for a box that needs to open and close repeatedly rather than being glued permanently shut.

Step 2: Design and Test-Cut the Locking Disc

The lock is a circular disc, roughly 3-4mm plywood, mounted on a brass rod pivot inside one wall cavity. Cut a keyed slot into the disc's edge — when the external knob rotates the disc so the slot aligns with the internal sliding bolt's nose, the bolt can travel through; any other rotation blocks it. Because this is a precision fit between two laser-cut parts, cut several test discs and slots at slightly different kerf-compensation values before committing to your final box panels — a lock that's too tight will jam, one that's too loose will rattle and can be jiggled open without knowing the correct position, which defeats the point.

Step 3: Cut the Sliding Bolt and Guide Channel

The bolt is a flat plywood tongue that rides in a shallow channel glued from two layers — a base layer with the channel cut through, sandwiched under a face layer that caps it. This "layered channel" technique (cutting a slot through one sheet and gluing it between two solid sheets) is the standard way to make enclosed sliding mechanisms on a laser, since the laser can't cut a channel that isn't a straight-through slot in a single flat sheet.

Step 4: Assemble the Shell and Install the Mechanism

  1. Dry-fit every panel and the lock/bolt assembly before any glue touches wood — confirm the disc turns freely, the bolt travels its full range, and the box faces all meet square.
  2. Glue the layered bolt channel first and let it cure fully; sand the channel edges lightly if the bolt drags.
  3. Assemble the box shell around the installed mechanism, working from the bottom up so you're not trying to thread the lock assembly into a mostly-closed box.
  4. Install the external control knob onto the brass pivot rod last, once the disc's resting position is confirmed correct.

Step 5: The Hidden Compartment

Cut a false bottom sized to friction-fit just under the main compartment floor, with two small rare-earth magnets recessed into counterbored pockets — one in the floor, one in the underside of the false bottom — so it seats with a definite magnetic detent rather than just sitting loose. Because it's under the main lid and behind the primary lock, this compartment only becomes accessible after solving the disc-and-bolt puzzle, giving the box a genuine two-stage reveal.

Finishing

Sand all show faces to 220 grit before glue-up wherever possible — it's much harder to sand cleanly around finger joints and mechanism cavities after assembly. A wipe-on danish oil or a few thin coats of spray poly bring out the plywood grain and seal the laser-scorched edges, which otherwise stay slightly darker than the face grain. If you want visible internal mechanics, swap the lock disc or bolt for clear acrylic — cast acrylic engraves and cuts cleanly and lets you show off the moving parts through a cutout window in the lid.

Safety Notes

Plywood glue lines (especially cheaper hobby-grade ply) release more smoke and stronger odor than solid wood when cut — run real ventilation or an exhaust fan, not just air assist, and confirm your extraction setup with our laser ventilation and safety guide if you're cutting more than a panel or two in one sitting. Wear eye protection when test-fitting the brass pivot rod (light press-fit assembly can occasionally send a rod skittering) and keep fingers clear of the sliding bolt channel until you've confirmed there are no sharp laser-cut edges left unsanded — corrugated char edges and fresh-cut plywood edges are sharper than they look.

Parts and Tools

Beyond the sheet stock, you'll want a brass rod for the pivot (a stiff wooden dowel works as a lower-cost substitute if you size the hole tightly), a couple of small rare-earth magnets for the hidden compartment, and wood glue for assembly. See the parts list below for a complete shopping list.

A puzzle box is a satisfying laser project precisely because the challenge isn't the cutting — it's the mechanical design. Budget real time for test-cutting the lock disc and bolt channel before you touch your good plywood; that's where a laser-cut puzzle box succeeds or fails, and it's cheap to iterate on in scrap material before committing to the final build.