Rosemary is a hardy Mediterranean herb that thrives in poor, sandy soil and full sun. Companion planting with rosemary helps deter common garden pests, improves the flavor of neighboring crops, and makes efficient use of space. This guide explains which plants make good neighbors for rosemary and which ones to keep apart, so you can plan a healthier, more productive garden.
What You’ll Need
- A garden bed or containers with well-draining soil
- Rosemary plants or seeds (start seeds indoors several weeks before the last frost, or buy young plants)
- Companion plants from the lists below (choose based on your climate and space)
- Basic gardening tools: trowel, watering can or hose, mulch (optional)
- Compost or a low-nutrient fertilizer (rosemary prefers lean soil)
Step-by-Step
- Choose a sunny spot. Rosemary needs at least six hours of direct sunlight daily. Pick a location that is not shaded by taller plants or structures.
- Prepare the soil. Rosemary prefers sandy or loamy soil with a pH between six and seven. If your soil is heavy clay, mix in coarse sand or perlite to improve drainage. Avoid rich, compost-heavy soil—rosemary does better in lean conditions.
- Select companion plants that share similar needs. Good partners include other Mediterranean herbs like thyme, sage, and oregano, which also like dry, sunny conditions. Vegetables that appreciate rosemary’s pest-repelling properties include cabbage, broccoli, cauliflower, and beans. Carrots and parsnips also grow well alongside rosemary.
- Plant rosemary at the right spacing. Space rosemary plants about two to three feet apart, depending on the variety. Dwarf types can be closer. Place companions at their recommended spacing, ensuring they won’t be shaded by the rosemary as it grows.
- Water appropriately. Water rosemary deeply but infrequently, allowing the soil to dry out between waterings. Companions that need more moisture, like lettuce or spinach, should be planted in a separate area or in containers—they don’t mix well with rosemary’s dry preference.
- Mulch lightly. A thin layer of gravel or stone mulch helps keep the soil warm and dry, which rosemary loves. Avoid organic mulches like wood chips that retain moisture.
- Prune regularly. Trim rosemary after flowering to keep it compact and encourage new growth. This also prevents it from becoming woody and overcrowding its companions.
- Monitor for pests. Rosemary naturally deters many insects, but check both rosemary and its companions for aphids, spider mites, or whiteflies. Remove pests by hand or with a strong spray of water.
Common Mistakes
- Planting rosemary with moisture-loving plants. Rosemary hates wet feet. Pairing it with mint, lettuce, or ferns that need constant moisture will stress the rosemary and may cause root rot.
- Over-fertilizing. Too much nitrogen makes rosemary grow lush but weak, reducing its aromatic oils and making it more susceptible to pests. Skip fertilizer or use a very dilute, low-nitrogen feed.
- Placing rosemary too close to tall plants. Tomatoes or corn can shade rosemary, reducing sunlight and airflow. Keep rosemary in an open, sunny position.
- Ignoring soil pH. Rosemary prefers slightly alkaline soil. If your soil is very acidic, add a little lime to raise the pH.
Tips
- Plant rosemary near the edges of vegetable beds to act as a living barrier against carrot fly and cabbage moth.
- Grow rosemary in a pot if your garden soil is heavy or wet. This lets you control drainage and move the plant to a sunnier spot if needed.
- Harvest rosemary regularly to keep the plant bushy. Use the cuttings to propagate new plants—just stick them in moist soil and they often root.
- Pair rosemary with lavender and other drought-tolerant perennials for a low-maintenance, fragrant border.
- In cold climates, bring potted rosemary indoors before the first frost, or mulch heavily around outdoor plants to protect roots.
Troubleshooting
- Rosemary turns yellow and drops leaves. This usually means overwatering or poor drainage. Reduce watering, improve soil drainage, and ensure the pot has drainage holes.
- Rosemary has white, woolly spots on stems. That’s mealybug. Wipe them off with a cotton swab dipped in rubbing alcohol, or spray with insecticidal soap.
- Rosemary grows but has little scent. Lack of sunlight or too much fertilizer are common causes. Move to a sunnier spot and stop feeding.
- Companion plants are wilting. If you planted moisture-loving companions nearby, they may be stressed by rosemary’s dry soil. Move them to a separate bed or water them more frequently in their own containers.
- Rosemary dies back in winter. In cold zones, rosemary is not fully hardy. Protect it with a thick layer of mulch or bring it indoors to a bright, cool room.
Frequently Asked Questions
- Can rosemary grow with tomatoes? Yes, but with caution. Tomatoes need more water and richer soil than rosemary. Plant them a few feet apart, and water the tomatoes directly at the base to keep rosemary’s roots dry.
- Does rosemary repel mosquitoes? Rosemary’s strong scent may help deter some insects, but it is not a reliable mosquito repellent. It’s better to rely on proven repellents for mosquito control.
- Can I plant rosemary with lavender? Absolutely. Both are Mediterranean herbs that love full sun, poor soil, and good drainage. They make excellent companions.
- What should not be planted near rosemary? Avoid moisture-loving plants like mint, lettuce, and ferns. Also, keep rosemary away from cucumbers and pumpkins, which prefer richer, more humid conditions.
- How far apart should rosemary and its companions be? Give rosemary at least two feet of space from other plants to allow air circulation and prevent shading. Smaller herbs like thyme can be closer, but still respect their mature size.
- Can rosemary grow in partial shade? It will survive but grow leggy and less aromatic. For best results, give it full sun—at least six hours a day.
Rosemary Companion Planting: What Grows Well Together