Food

How to Make a Candy Machine at Home

By Hayride Live · Updated · 5 min read

Most people searching for how to make a candy machine want a simple vending-style dispenser that releases a handful of candy when you pull a lever or turn a knob. The easiest method uses a cardboard box, a few craft sticks, and a plastic cup as the hopper—no motors or electricity needed. If you want a machine that sorts or counts candy, or one that works with coins, the build is different, so those cases are covered below.

Choose the Type of Candy Machine You Need

Before gathering materials, decide what the machine must do. A gravity dispenser works for loose candy like M&Ms, Skittles, or jelly beans. A gumball-style machine needs a clear globe and a metal or plastic wheel that turns to release one piece at a time. A coin-operated machine adds a simple lever mechanism that blocks the wheel until a coin is inserted.

If this is for a child’s project or a party, the cardboard gravity dispenser is the fastest and safest build. If you want something sturdier for long-term use, use a small wooden crate or a plastic storage box instead of cardboard.

Build a Gravity Dispenser from a Cardboard Box

This build takes about 30 minutes and uses materials you likely have at home. The machine holds about 2 cups (480 ml) of candy and dispenses roughly 1/4 cup (60 ml) per pull.

Materials and Tools

  • Cardboard box (about 12 x 8 x 6 inches / 30 x 20 x 15 cm)
  • Plastic cup (16 oz / 480 ml) with a wide mouth
  • Craft sticks (4–6)
  • Rubber bands (2–3)
  • Cardboard scraps for the chute and lever
  • Hot glue gun and glue sticks
  • Scissors or a craft knife (adult use for cutting)
  • Ruler and pencil

Steps

  1. Cut a hole in the top of the box, just large enough for the mouth of the plastic cup to fit through. The cup will be the hopper that holds the candy.
  2. Cut a small rectangular opening (about 2 x 1 inches / 5 x 2.5 cm) on the front of the box, near the bottom. This is where the candy will drop out.
  3. Cut a piece of cardboard to make a chute that slopes from under the cup hole down to the front opening. Glue it in place with hot glue.
  4. Cut a strip of cardboard about 1 inch (2.5 cm) wide and 6 inches (15 cm) long. This will be the lever. Glue a craft stick perpendicular to one end to act as a stopper.
  5. Insert the lever through a small slot on the side of the box, so the stopper sits inside the chute. When you pull the lever, the stopper moves and lets candy fall through.
  6. Place the cup in the top hole, fill it with candy, and test the lever. Adjust the stopper position so that one pull releases a small handful.
  7. Secure the lever with a rubber band looped around the box to return it to the closed position after each pull.

Safety note: Use a craft knife only with adult supervision. Hot glue can cause burns—let it cool for a few seconds before handling.

Make a Gumball-Style Machine with a Clear Container

For a classic gumball machine look, use a large clear plastic jar (like a peanut butter jar) as the globe and a small wooden wheel as the dispenser. This machine releases one gumball at a time when you turn the wheel.

Materials

  • Clear plastic jar with a wide mouth (about 1 quart / 1 liter)
  • Thin cardboard or craft foam for the wheel
  • A wooden skewer or dowel (about 1/4 inch / 6 mm diameter)
  • Hot glue and scissors
  • A small box or base to mount the jar

Steps

  1. Cut a circle from cardboard about 4 inches (10 cm) in diameter. This is the wheel. Cut a hole in the center large enough for the skewer to pass through.
  2. Cut one notch (about 1/2 inch / 1.25 cm wide) into the edge of the wheel, deep enough to hold one gumball.
  3. Mount the jar upside down on the base, with the mouth facing down. Cut a hole in the base under the jar mouth so gumballs can drop onto the wheel.
  4. Insert the skewer through the wheel and through the base so the wheel sits just below the jar opening. The notch should align with the jar mouth.
  5. Glue the skewer in place so the wheel can rotate freely. Turn the skewer to bring the notch under the jar, catch one gumball, and rotate it to the side opening where it drops out.
  6. Test with a few gumballs. Adjust the notch size if two gumballs fit at once.

This design works best with gumballs that are uniform in size. If you use irregular candy, the notch may jam.

Add a Coin Mechanism for a Vending Machine

If you want the machine to accept coins, you can add a simple gravity-fed coin slot that blocks the lever until a coin is inserted. This is a mechanical add-on, not an electronic one.

How It Works

Cut a slot in the top of the box, just above the lever. Tape a small cardboard tube (like a toilet paper roll) vertically so that a coin dropped into the tube lands on a small platform that is attached to the lever. The weight of the coin pushes the platform down, which moves the lever and releases candy. After the coin is removed, a spring (or rubber band) returns the lever to the closed position.

Steps

  1. Cut a slot in the top of the box, about 1 inch (2.5 cm) long and 1/4 inch (6 mm) wide, directly above the lever.
  2. Attach a cardboard tube over the slot with hot glue.
  3. Cut a small cardboard platform (about 1 x 1 inch / 2.5 x 2.5 cm) and glue it to the top of the lever, so it sits under the tube.
  4. Add a rubber band from the lever to the side of the box to pull the lever back up when the coin is removed.
  5. Test with a coin. The coin must be heavy enough to push the lever down. If not, add a small washer or a second coin as a counterweight.

This coin mechanism is purely decorative and not a real vending system. It works best with large coins like quarters.

Test, Adjust, and Keep It Working

After building, test with the actual candy you plan to use. If candy gets stuck, widen the chute or make the stopper smaller. If too much candy comes out, add a second stopper or reduce the size of the opening.

For a cardboard machine, keep it away from moisture and heat. If you use a plastic container, wash it before refilling. Store the machine in a dry place when not in use.

If you want a more durable machine, replace the cardboard with a wooden box and use metal hinges for the lever. The same basic gravity principle applies.

For a child’s project, supervise cutting and hot gluing. Small parts like craft sticks and rubber bands are a choking hazard for children under 3.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.