These plants can be grown outdoors near doors and windows to keep ants away or indoors on a windowsill. Since many of the plants used are Mediterranean herbs, they require very bright light if grown indoors, so using an indoor grow light designed for plants is sometimes necessary for northern climates. Another option is to use the plant’s essential oil in areas where ants enter the home. If you don’t have a green thumb, buying essential plant oils can be an alternative method to keep ants away. Soak a cotton ball or cloth in the essential oil to keep ants away and place it in a shallow dish wherever ants enter the home. Remember that many essential oils are toxic to pets before applying them. Alternatively, you can use the leaves or flowers of a plant and crush them to release their aromatic oils. You can place the crushed plant material wherever you see ants, covering both the outside and inside areas for a strong line of defense.

1. ROSEMARY

Rosemary is a beautiful evergreen perennial herb that is easy to grow outdoors. A large rosemary bush near a doorway or under a window will help deter insects from entering the house. Rosemary is not the easiest to grow as a houseplant. If you only have the option of an indoor plant, it might be best to pick an easier option from this list. Rosemary requires full sun, at least eight hours per day. It likes free-draining loose soil and deep but infrequent watering. Rosemary is hardy in USDA Zones 7 and 8. You can find rosemary plants at any garden center or nursery, they are commonly sold in the spring with other vegetables and herbs.

2. LAVENDER

Lavender is another highly aromatic herb that is good at keeping ants away. If purchasing this plant for indoor growth, look for French lavender, as it is more suitable for use as a houseplant. Be sure to place lavender in a spot with direct sunlight. Appropriate locations may be a south-facing windowsill or on the kitchen counter under a grow light set to 12 hours or more. If growing outside, lots of bright sunlight is necessary, as well as an area with excellent airflow, as lavender is susceptible to fungal diseases if grown in crowded or overly damp conditions. Lavender is hardy in USDA Zones 5-10. It is sold as an ornamental plant in most commercial garden centers.

3. MINT

There are numerous mint varieties to choose from that will help keep ants away with their strong scent. You can pick apple mint, chocolate mint, pineapple mint, spearmint, or peppermint. These are edible, make for lovely salads and teas, and keep away ants. Mint is a good choice for indoor or outdoor growing. It doesn’t have as high a light requirement as some of the other options on this list and is also adaptable to indirect light. If growing mint outdoors, be aware that it can be invasive. It will continually spread until it reaches a natural border, so it is best planted in a pot so it cannot take over your garden. Plant in well-drained soil in a spot with a minimum of four hours of sunlight and water only when the soil is fifty percent dry. Mint is hardy in USDA Zones 5-9. You can easily find it for sale in nearly every garden center. You can also get a seedling from a friend with a mint plant, as mint readily self-seeds.

4. THYME

There are over 350 species of thyme, and they are all edible! You can pick from garden thyme, lemon thyme, caraway thyme, german thyme, and many others. Thyme will adapt to indirect lighting, so it is a good choice for an indoor plant. Thyme prefers light, well-drained soil that is allowed to dry out almost completely before watering. Planting in an unglazed pot, such as terracotta, is best to allow for excellent airflow and drainage. If planting outside, place it in an area that receives five or more hours of sunlight per day, preferably near a doorway or under a window to help keep the ants away. Thyme is hardy in USDA Zones 2-10. The best place to find it is from another herb gardener; the tiny seedlings are very easy to propagate. You can also buy thyme from a nursery when herbs are being sold in the spring.

5. TANSY

Tansy isn’t as familiar as many other recommendations on this list, but it is a strong ant-repellant. And tansy will provide you with flowers, whether planted indoors or out! Both the leaves and flowers of tansy are strongly scented and will keep ants away. Be sure to plant tansy in a location that receives six or more hours of sunlight daily. Provide monthly fertilizer during the growing season for best results and abundant flowers. Tansy is hardy in USDA Zones 3-8. It is sold as an ornamental plant in most commercial garden centers in these zones. You can also order tansy seeds from many online seed catalogs.

6. GARLIC

You can grow garlic or use store-bought garlic bulbs to keep ants away. Interplanting garlic bulbs among your flower beds is a time-tested trick to deter insects. Many gardeners have long used a mixture of garlic and onions to keep insects from destroying their other vegetables. You can use this trick to keep ants away! Plant organic garlic bulbs in the soil two or three inches deep in the fall; they will sprout and multiply in the spring. To use store-bought cloves, crush them in a shallow dish and place them on the ground near doors and windows to deter ants. Garlic is hardy in USDA Zones 1-5 but can grow in warmer climates. It requires a ten-week period of cold weather for the best crop. You can use store-bought organic garlic bulbs for planting.

7. MARIGOLDS

This last insect-repellant plant is not an herb. Marigold is a highly fragrant flower that is great at keeping ants away. You can grow marigolds outside during the summer and then take them inside to overwinter. If done this way, you can keep your marigold plant vibrant and healthy for many years. Marigolds are hardy in USDA Zones 2-10 but are usually sold as an annual because they get quite scraggly with age. Marigolds are sold in most commercial garden centers in the spring and summer.

Here is a Summary of the 7 Plants that Keep Ants Away

NEXT UP…

8 Houseplants That Grow in WaterWhat do Insects Eat?9 Flowers to Plant in October