Water the soil in the rosemary pot before transplanting it. Allow the soil to absorb the moisture for 30 minutes. A moistened soil ball more easily lifts from the pot.
Dig the planting hole in the garden bed with a trowel. Set the pot in the hole to determine if it's large enough. Make the hole deeper or wider as necessary, so it's the same depth and slightly wider than the pot.
Lift the rosemary from its pot. Thumping the pot's sides and bottom loosens the soil, so the entire soil and rootball slides from the pot.
Set the soil and rootball in the planting hole. Arrange the rosemary plant so the soil ball's top is level with the surrounding soil in the bed. Fill in the hole around the rosemary roots.
Watering the rosemary after transplanting helps the soil settle around the roots. Add more soil to the planting hole if it settles more than the surrounding soil.