You can put dried herbs on or around a candle to add fragrance, but loose dried plant material placed directly on or in the wax is a genuine fire hazard and is not the same thing as making a scented candle; the safe approaches are to infuse the wax with herb-scented oil during making, to use a commercially produced herb-scented candle, or to scent the surrounding air with a melt warmer or diffuser rather than putting raw herbs into a flame.
The question contains an ambiguity worth separating out at the start. "Put herbs to a candle" could mean (a) pressing dried herbs onto the surface of a finished pillar candle as decoration, (b) stirring dried herbs into melted wax while making a candle, (c) placing a sprig beside or on a candle holder as a visual and lightly aromatic accent, or (d) trying to make an unscented candle smell by laying herbs on top of it before or during burning. Each of these has a different answer, and only the first three are reasonably safe when done with care. The fourth—scattering loose dried herbs onto a lit candle—is the one that causes fires.
Why raw herbs don't reliably scent a candle anyway
A candle's scent throw depends on fragrance or essential oil being dissolved in the wax and released as the wax melts and pools. Dried herbs sitting on top of solid wax are not in the melt pool, so they contribute almost nothing to the smell while the candle burns normally. They may smell faintly if you hold the unlit candle to your nose, and they may give off a brief toasted-herb odor as the flame approaches them—but that odor is combustion, not fragrance, and it is accompanied by the material catching fire.
Even herbs stirred into melted wax during making are a mixed proposition. Dried leaves and stems are solid plant matter. In a container candle they tend to sink to the bottom or float near the surface, and near the wick they can smolder, clog the wick, or produce an uneven burn. Most candlemaking guidance treats botanical inclusions as decorative rather than as a fragrance source, and directs people to fragrance oils or essential oils for scent.
Essential oils are the concentrated aromatic fraction of a plant and are what actually carry herb scent (lavender, rosemary, peppermint, thyme, basil, and so on). They are not the same as the dried leaf. A small amount of essential oil can be blended into melted wax at the correct temperature for the wax type and at a modest load (commonly cited around 3–10% by weight depending on wax and wick, though exact figures are supplier- and wax-specific and should be checked against the wax manufacturer's instructions). That is a candlemaking procedure, not something you do to a finished candle.
The fire problem with herbs on a burning candle
Loose dried herbs—especially fine, resinous, or leafy material like rosemary needles, thyme, oregano, or crushed bay—are tinder. A dried rosemary sprig laid across the top of a burning pillar candle can ignite, flare, and drop embers or burning fragments onto the surface below. The same is true of herbs pressed into the wax surface near the wick. The wick's flame is small, but it is an open flame, and dry plant material ignites readily. Even a potpourri-style arrangement of dried herbs and petals around the base of a candle is a hazard if any part of it contacts the flame or falling wick trimmings.
There is also the wick-clogging and tunneling issue: herbs that fall into the melt pool can be drawn up the wick, causing a weak, sputtering flame, soot, and an uneven burn. A candle that burns poorly is more likely to be left unattended or relit repeatedly, which compounds the risk.
The safe decorative use is a pillar or votive candle where the herbs are embedded in the outer wax, well away from the wick, and the candle is burned inside a holder that catches any debris. Even then, the herbs should be confined to the sides, never the top surface near the wick, and the candle should never be left burning unattended. Many candlemakers simply set herbs into a separate decorative ring or use a herb-scented candle instead.
What actually works for a herb-scented candle
If the goal is a candle that smells like herbs, the practical routes are:
Buy a herb-scented candle made with fragrance or essential oils. This is the simplest and safest option and avoids any guesswork about wax, wick, and oil load. Make a candle properly, melting wax (soy, paraffin, coconut, or a blend), adding a herb fragrance oil or an appropriate essential oil at the manufacturer's recommended temperature and percentage, stirring, and pouring around a correctly sized wick. Essential oils vary in how well they perform in wax and some are expensive or weak; fragrance oils are formulated for candles and usually give a stronger, more reliable throw. Use a wax melt warmer or an oil diffuser to scent the air with herb oils. This avoids an open flame entirely and is a good choice if the real objective is a herb-scented room rather than a candle specifically. Make a simmer pot (herbs and water gently heated on a stove) if you want a kitchen-style herb aroma, though this requires supervision and is not a candle.
The distinction that matters for the question is between scenting (an oil dissolved in wax or dispersed in air) and decorating (plant material placed on or in the candle). Dried herbs are decoration. The smell comes from the oil.
Where the answer stops applying
This is a general-safety answer for an everyday household question, not a rule that covers every product. Some commercial "botanical" candles contain embedded dried flowers and herbs and are designed and tested so the inclusions sit in the outer wax away from the wick; those are made under controlled conditions and are not a template for adding loose herbs to a candle at home. Similarly, a candle that comes with a decorative herb ring should be used exactly as the maker instructs, and any herbs should be kept clear of the flame.
Regions and venues also matter. Many lease agreements, dormitory rules, and hotel policies prohibit open-flame candles entirely, regardless of what is on them. If you are in a setting where candles are restricted, none of the above applies and a flameless warmer or diffuser is the appropriate substitute.
The most common confusion is thinking that because dried herbs smell good in a jar or a sachet, they will smell good on a candle. In a sachet the herbs release aroma slowly at room temperature; on a candle they are either too far from the heat to do anything or close enough to the flame to burn. The second confusion is treating essential oil and dried herb as interchangeable. They are not: the oil is the scent, the leaf is the plant, and only the oil belongs in the wax in a measured way.
If your actual aim is a pleasant herb smell in a room, the shortest safe path is a herb-scented candle from a reputable maker or a diffuser, not herbs on a flame. If your aim is a decorative candle, keep the herbs on the outside, away from the wick, in a holder, and never leave it burning unattended.