How to Care for Black Swallowtail Caterpillars
If you want black swallowtail caterpillar care that actually works, start with the plant this caterpillar was born to eat. These caterpillars do not thrive on random garden greens, and feeding them the wrong food is the fastest way to lose them. Give them fresh host foliage, clean space, and protection from predators, and they will grow fast and pupate without drama.
What Black Swallowtail Caterpillars Eat
The black swallowtail caterpillar diet is specific: it feeds on plants in the carrot family, also called Apiaceae. In gardens, the main foods are dill, fennel, parsley, cilantro, carrot tops, Queen Anne’s lace, and related herbs and wild plants. A black swallowtail caterpillar food source should be fresh, pesticide free, and never wilted from sun or heat.
The best host plants
Parsley and dill are the easiest choices for home care because caterpillars accept them readily and they regrow after light feeding. Fennel is another strong host plant and can support larger larvae. If you are raising a black swallowtail caterpillar indoors, cut fresh sprigs from one of these plants and replace them daily. Remove yellowing stems and rinse foliage to clear dust and tiny hitchhikers.
What not to feed
Do not feed lettuce, spinach, cabbage, herbs outside the carrot family, or fruit. A black swallowtail caterpillar does not eat these foods. Do not use plants treated with systemic insecticides, neem residues, or any spray that is not labeled safe for caterpillars and edible herbs. One contaminated leaf can kill the larva.
How to Set Up a Safe Caterpillar Container
A simple container gives the best black swallowtail caterpillar care. Use a ventilated tub, mesh cage, or clear container with air holes, then line the bottom with a dry paper towel. Keep the setup out of direct sun and away from kitchen heat. The goal is steady airflow, clean leaves, and enough room for the caterpillar to move without touching wet surfaces.
Basic setup steps
- Choose a container with airflow and a secure lid.
- Add a paper towel or plain dry liner on the bottom.
- Place fresh host stems in a small jar or cup of water.
- Cover the water with foil or cotton so the caterpillar cannot fall in.
- Set the container in bright indirect light at normal room temperature.
- Replace food daily and remove droppings every day.
Keep the inside dry. Damp conditions encourage mold and foul-smelling food, which quickly stress the caterpillar. If you keep multiple larvae, give them extra space or separate them by size so one large caterpillar does not crowd the smaller ones.
Life Cycle and Growth Stages
Black swallowtail caterpillars pass through several growth stages called instars. Early larvae are small, dark, and bird dropping shaped, which helps them avoid predators. As they grow, they become bold green caterpillars with black, yellow, and white bands. A mature larva wanders away from the food plant before pupating.
Signs of a healthy caterpillar
A healthy black swallowtail caterpillar eats steadily, molts cleanly, and gains size quickly. It holds onto stems firmly and moves when disturbed. Before pupation, it stops feeding, becomes restless, and searches for a secure place to form a chrysalis. That behavior is normal and means the caterpillar is ready for the next stage.
Pupation and overwintering
When it is ready, the caterpillar hangs in a silk pad and forms a chrysalis. If you are raising one indoors, leave it undisturbed on a branch, stick, or mesh wall. In cooler climates, some pupae remain dormant through winter. Keep the chrysalis in a dry, protected spot with natural day and night temperature changes, not in standing moisture or direct sunlight.
Behavior, Defense, and Why They Curl Up
Black swallowtail caterpillars are defensive, not aggressive. Young larvae blend in with bird droppings, and older larvae can extend orange forked glands called osmeteria when threatened. This scent gland releases a strong odor that helps scare off ants and small predators. If you see the caterpillar stretch and smell sharply, that is a defense display, not a problem.
Handling rules
Handle the caterpillar only when needed. Use a leaf, stem, or soft paintbrush to move it instead of pinching it with fingers. Avoid frequent touching, shaking the container, or placing it near pets. Stress slows feeding and can cause the caterpillar to fall or refuse food for hours.
Common Problems and Natural Solutions
Most black swallowtail caterpillar care problems come from bad food, poor airflow, or excess moisture. If the caterpillar stops eating, check the host plant first. If the leaves are old, dusty, or sprayed, replace them immediately with fresh parsley, dill, fennel, or carrot tops from a clean source.
Prevent mold and waste buildup
Remove droppings and old leaves every day. Change the paper towel lining when it looks damp or dirty. If you keep stems in water, block the opening so the caterpillar cannot fall into it. Mold spreads fast in sealed containers, so never pack the enclosure full of wet foliage.
Protecting caterpillars outdoors
If you are raising them on garden plants, use fine mesh row cover over parsley, dill, or fennel to reduce bird and wasp predation while still letting in light and air. Keep the cover loose enough that leaves do not press against the fabric. This is one of the simplest natural defenses for a backyard host patch.
Where Black Swallowtails Fit in the Garden
Black swallowtail caterpillars are part of a healthy pollinator garden. The adults visit flowers for nectar, and the larvae depend on host plants in the carrot family. If you want to support them year after year, plant parsley, dill, fennel, and native umbellifers in a sunny spot where you can spare a few stems for caterpillar feeding.
These insects also connect to other garden allies. A diverse herb patch draws bees, hoverflies, lacewings, and parasitic wasps, which creates a balanced garden ecosystem. If you are growing host plants for swallowtails, let a section flower so beneficial insects have nectar and pollen after the caterpillars finish feeding.
Frequently Asked Questions
What is the best black swallowtail caterpillar food?
Fresh parsley, dill, and fennel are the best choices. Carrot tops, cilantro, and other carrot family plants also work. The leaves must be pesticide free and replaced daily so they stay tender and moist enough for feeding.
Can a black swallowtail caterpillar eat parsley from the grocery store?
Yes, if the parsley has no pesticide residue and has not been treated with preservatives. Rinse it well, trim the stems, and place it in clean water. Replace it before it wilts or softens.
How do I know when my black swallowtail caterpillar is ready to pupate?
It stops eating, becomes active and restless, and starts looking for a place to attach. Then it hangs in a firm silk pad and changes into a chrysalis. At that stage, leave it alone and keep the area dry and stable.
Can I keep more than one black swallowtail caterpillar together?
Yes, if the container is large and food is abundant. Give them enough space to avoid crowding and replace foliage daily. If one larva is much larger than the others, separate it so the smaller ones can feed without being pushed aside.