Thyme does not need rich soil. It needs soil that drains. Get the structure right and the plant will look after itself; plant it in sticky, enriched ground and no amount of care will keep the roots healthy. Preparing a bed properly takes about half an hour per plant and saves seasons of guessing.
Start with a simple drainage test
Dig a hole about 30 cm deep and wide, fill it with water, and let it drain. Refill it and time how long the second lot takes to disappear. Water that is gone within a couple of hours means you have usable ground; if it lingers overnight, that patch will rot thyme, and you should plant on a mound, in a raised bed, or in a pot.
While the hole is open, look at what came out. Pale, sticky clay, or dark soil that smells sour, tells you to break up the subsoil and add grit. Loose, gritty, brown soil is already close to what thyme wants.
Improve structure, not fertility
Thyme evolved on thin, stony ground, so the goal is air and drainage rather than richness. Fork the top 15-20 cm to loosen it, then spread a 5 cm layer of horticultural grit or coarse sand over the area and work it into the top layer.
Do not dig in manure, mushroom compost, or bagged soil improver. All of them hold water and push soft, sappy growth that flops and winter-kills. On heavy clay, add grit generously and consider raising the whole bed by 15 cm instead of fighting the ground each season.
Get the pH and the planting hole right
Thyme is not fussy but leans towards neutral to slightly alkaline soil. If you garden on very acid ground, a light dressing of garden lime worked into the top layer helps, though it is rarely the limiting factor. What matters more is the hole.
Dig a hole wider than the root ball but no deeper, so the plant sits at the same level it was in its pot. Mix a handful of grit into the backfill, firm it in gently, and water once. Planting slightly high, with the crown just above the soil surface, is safer than planting low.
Finish with a gravel mulch
Spread 3-5 cm of grit or gravel around the plant, leaving a small clear gap around the stems. This keeps the collar dry, suppresses weeds that would compete for water, and warms the soil early in spring.
After that, leave the bed alone. Thyme settles best in ground that is not disturbed, so resist the urge to dig around it every season.
Good thyme soil is gritty, open, and lean, with the crown sitting high and dry. Prepare it once, at planting time, and you will spend the following years harvesting instead of repairing.