Turning medicine into gummies involves suspending an active ingredient in a gelled candy base made from gelatin or pectin, sweetener, and liquid. The process is straightforward in concept but requires careful attention to dosing accuracy, ingredient compatibility, and storage. Whether you’re a parent looking to help a child take supplements or someone exploring gummy formats for vitamins or herbal ingredients, understanding the basics of formulation will help you get consistent, safe results.
Choosing Your Gelling Agent
The two main options for a gummy base are gelatin and pectin, and they behave very differently. Gelatin, derived from animal collagen, produces the classic chewy gummy texture most people recognize. It dissolves in warm water and sets slowly, typically taking 24 to 48 hours in the refrigerator to fully firm up. Gelatin gummies melt easily in heat, which matters if you live in a warm climate or plan to store them outside a fridge.
Pectin is a plant-based alternative that creates a slightly softer, less chewy texture. It sets much faster, firming up in 5 to 10 minutes, and stays stable at higher temperatures. Pectin activates during cooking at around 185 to 203°F and sets below 158°F, giving you a narrow window to pour into molds before it firms. Unlike gelatin, pectin needs acid and sugar to gel properly. For a firm gummy, you want roughly 60 to 65% sugar content in the mixture. Dropping to 55 to 58% sugar produces a softer result. The standard pectin concentration for gummies is 1 to 1.5%, going up to 2% if you want something firmer.
Pectin works well for vegan formulations. Gelatin gives a more traditional gummy chew. Either can carry an active ingredient, so the choice comes down to dietary preferences and the texture you’re after.
A Basic Gummy Base Recipe
A simple starting point for a small batch uses about half a cup of fruit juice, two tablespoons of a sweetener like honey or sugar, and either two tablespoons of gelatin powder or the equivalent amount of pectin (following the package ratio for your specific brand). You’ll also need silicone gummy molds and a way to measure your active ingredient precisely.
For gelatin-based gummies, combine the juice and sweetener in a small saucepan over low heat. Sprinkle the gelatin over the surface and let it sit for a minute to absorb liquid (this is called “blooming”). Then stir gently over low heat until everything dissolves. Do not boil, as high heat breaks down gelatin and weakens the gel. Once smooth, remove from heat, stir in your active ingredient, and pour into molds. Refrigerate for at least four hours, though overnight is better.
For pectin-based gummies, the process is similar but you cook at a higher temperature. Combine your liquid and pectin first, bring to a boil while stirring, then add sugar and acid (a teaspoon of citric acid or lemon juice works). The target pH for a good texture is around 3.0 to 3.2, which is about as tart as a sour candy. Cook until the mixture thickens, remove from heat, add your active ingredient, and pour into molds quickly before it sets.
Getting the Dose Right
This is the hardest part and the one that matters most. If your active ingredient isn’t evenly mixed into the liquid before pouring, some gummies will contain more than intended and others less. In pharmaceutical manufacturing, this problem of uneven distribution is a well-known challenge, and professionals use specific mixing protocols to address it.
At home, the best approach is to calculate your total dose for the entire batch, then divide by the number of mold cavities. If you’re making 30 gummies and want 5 mg of an ingredient per gummy, you need 150 mg total dissolved into your base. Stir thoroughly for at least two to three minutes after adding the active ingredient, and pour quickly before anything has a chance to settle.
Use a kitchen scale that reads in milligrams if you’re working with potent ingredients. Measuring spoons are not accurate enough for anything where dose precision matters. If you’re working with a liquid supplement like a tincture or extract, measure with a graduated dropper or syringe rather than eyeballing it.
Handling Ingredients That Don’t Mix Easily
Some supplements and active ingredients are oil-soluble, meaning they don’t dissolve well in the water-based gummy mixture. This is a common issue with ingredients like CBD, fat-soluble vitamins (A, D, E, K), and certain herbal extracts. If you simply stir an oily ingredient into an aqueous base, it will separate and pool unevenly.
The simplest home solution is to use a small amount of an emulsifier, something that helps oil and water mix. Sunflower lecithin is widely available and food-safe. Dissolve your oil-soluble ingredient in a tiny amount of a carrier like MCT oil, blend it with the lecithin, and then incorporate that mixture into your warm gummy base while stirring vigorously. Professional formulators sometimes pre-dissolve hydrophobic ingredients in a small amount of food-grade ethanol or propylene glycol before adding them to the main mixture, but lecithin is the most accessible option for home use.
Another approach is to use cyclodextrin, a ring-shaped sugar molecule with a water-friendly outside and an oil-friendly inside. It essentially wraps around oil-soluble molecules and makes them dissolve in water. This is used in commercial supplement manufacturing, and food-grade cyclodextrin powder is available online, though it adds cost and complexity.
Why Gummies May Absorb Differently Than Pills
Gummies aren’t just a different shape for the same medicine. The format can change how your body absorbs the active ingredient. A crossover study comparing vitamin D in gummy form versus tablets found that gummies produced significantly higher peak blood concentrations: 47.3 ng/mL for gummies compared to 23.4 ng/mL for tablets. The gummy format showed greater overall bioavailability, likely because the chewing process and the sugary, fat-containing base begin breaking down the ingredient in the mouth and stomach more efficiently.
This is worth keeping in mind. If you’re converting a supplement you already take in pill form, the gummy version might absorb more effectively, which could mean you need a slightly lower dose to achieve the same effect. It also means that for some ingredients, gummies are genuinely a better delivery method, not just a more pleasant one.
Keeping Gummies Safe and Shelf-Stable
Gummies have a natural advantage when it comes to microbial safety. Their combination of low water activity (typically between 0.51 and 0.76) and low pH (below 4.5) creates an environment that doesn’t support bacterial growth. When both of these factors are in the right range, they work together to provide effective microbial control, even at levels that would be considered risky for either one alone.
The main enemy of homemade gummies is moisture. Store them in an airtight container, and if your home is humid, keep them in the refrigerator. Gelatin gummies in particular can get sticky and start to melt at room temperature in warm environments. Adding a light coating of cornstarch or citric acid powder to the finished gummies helps prevent them from sticking together. Homemade gummies without preservatives generally stay good for one to two weeks in the fridge. If you want longer shelf life, you can add a small amount of potassium sorbate, a common food preservative, to the base during cooking.
For gummies that contain active ingredients sensitive to light or heat, store them in an opaque container in a cool location. Vitamin C and certain herbal extracts degrade faster when exposed to light.
Child Safety Considerations
Making medicine look and taste like candy introduces a real risk, especially in homes with young children. A study analyzing over 1,000 pediatric exposures to gummy medications found that the median age of accidental ingestion was 3 years old. Seventy-four percent of those cases involved vitamins, and 24% involved melatonin. Children who ingested gummy melatonin were 8.4 times more likely to develop symptoms compared to other gummy exposures, and nearly 5 times more likely to end up in the emergency department.
If you’re making medicated gummies in a household with children, treat them exactly like you would any medication. Store them in child-resistant containers, out of reach and out of sight. Never refer to them as candy around kids. The appealing taste and texture that makes gummies useful for medication compliance is the same thing that makes them dangerous if a child finds the container unsupervised.
What Works Best in Gummy Form
Not every medication or supplement translates well into a gummy. The format works best for ingredients that are effective at relatively low doses, remain stable at cooking temperatures, and don’t taste so bitter that no amount of sweetener can mask them. Vitamins, minerals like zinc and magnesium, melatonin, elderberry extract, and CBD are all commonly made into gummies with good results.
Ingredients that require high doses (500 mg or more per serving) are harder to fit into a single gummy, since the candy base can only hold so much active ingredient before the texture breaks down. You’d either need to take multiple gummies per dose or increase the size of each one. Ingredients that are heat-sensitive may lose potency during cooking. Probiotics, for example, are largely destroyed at the temperatures needed to make a gummy base. If you’re unsure whether a specific ingredient can survive the process, check whether the manufacturer lists a maximum temperature on the label.
Prescription medications should not be reformulated into gummies at home. Dose precision, drug stability, and potential interactions with gummy ingredients make this a task for a licensed compounding pharmacy, which operates under strict quality standards to ensure safety and accuracy.

