Black swallowtail caterpillars are among the most recognizable garden caterpillars in North America. Often found on parsley, dill, and fennel plants, they attract attention for their bold color changes and fascinating defense behavior. These caterpillars are the larval stage of the black swallowtail butterfly and play an important role in pollinator life cycles. Understanding how to identify them, where they live, and how they grow helps gardeners and nature lovers protect them rather than mistake them for pests.
What Is a Black Swallowtail Caterpillar?
The black swallowtail caterpillar is the larval form of the black swallowtail butterfly, scientifically known as Papilio polyxenes. It belongs to the swallowtail family, a group of butterflies famous for their large size and tail-like wing extensions. During the caterpillar stage, its main purpose is to eat, grow, and store energy for metamorphosis.
These caterpillars are especially common in vegetable and herb gardens because they rely on plants from the carrot family. While many gardeners first notice them because of chewed leaves, black swallowtail caterpillars are not harmful in the long term. Instead, they represent an important phase in the life of a pollinator that will later help fertilize flowering plants.
How to Identify a Black Swallowtail Caterpillar

Black swallowtail caterpillars go through several visual changes as they grow, which often confuses beginners. Young caterpillars look very different from mature ones, but there are consistent features that help confirm their identity.
- Body color stages: Young caterpillars are mostly black with a white saddle marking, while older caterpillars turn bright green.
- Yellow and black banding: Mature caterpillars have bold black bands with yellow or yellow-orange dots.
- Orange eye-like spots: These spots run along the black bands and help deter predators.
- Size and shape: Full-grown caterpillars usually reach about 1.5 to 2 inches in length and are smooth-bodied.
- Osmeterium: When threatened, they extend a bright orange, forked organ from behind the head.
- Young vs mature appearance: Early stages mimic bird droppings, while later stages are colorful and highly visible.
These features together make black swallowtail caterpillars easier to distinguish from monarchs and other striped caterpillars.
Black Swallowtail Caterpillar Lifecycle

Egg Stage
The lifecycle begins when a female black swallowtail butterfly lays tiny, pale yellow eggs on host plants. Eggs are usually laid singly on the leaves or stems rather than in clusters. Under warm conditions, they hatch in about three to seven days. The newly emerged caterpillar is extremely small and immediately begins feeding on the leaf surface.
Caterpillar (Larval) Stage
This is the longest and most active phase of the lifecycle. The caterpillar passes through several growth stages called instars. Early instars are black with white markings, helping them resemble bird droppings. As they grow, they molt and gradually develop the green body with black and yellow bands.
During this time, black swallowtail caterpillars feed almost constantly. Their main goal is to store enough energy to survive metamorphosis. When disturbed, they may rear up slightly and display the orange osmeterium, which releases a strong smell to repel predators.
Chrysalis (Pupa) Stage
Once fully grown, the caterpillar leaves its host plant and attaches itself to a stem, fence, or wall using silk. It forms a chrysalis that may be green or brown, depending on surroundings. Inside, the caterpillar completely reorganizes its body. This stage lasts about 10 to 20 days in warm seasons, but late-season chrysalises may overwinter.
Adult Butterfly Stage
The adult black swallowtail butterfly emerges from the chrysalis with soft, crumpled wings. After several hours, the wings expand and harden. Adults feed on flower nectar, mate, and females begin laying eggs to restart the cycle. Several generations may occur in warmer regions each year.
Host Plants and What They Eat

Black swallowtail caterpillars depend on specific plants to survive. These host plants contain chemicals that not only nourish them but also help make them unappealing to predators.
- Parsley
- Dill
- Fennel
- Queen Anne’s lace
- Carrot tops
- Rue
They usually begin feeding on tender leaves and growing tips. Although a single caterpillar can strip a small plant, established gardens rarely suffer long-term damage. Many gardeners intentionally plant extra herbs to support swallowtail populations.
Habitat and Geographic Range
Black swallowtail caterpillars are widely distributed across North America, from southern Canada through most of the United States and into northern Mexico. They thrive anywhere their host plants grow, which makes gardens, roadsides, meadows, and farmland edges ideal habitats.
They are most commonly seen from late spring through early fall. In warm regions, multiple generations appear each year, while cooler climates may only support one or two. Urban gardens often act as important refuges, providing steady food sources and protection from habitat loss in the wild.
Behavior and Defense Mechanisms
Feeding Behavior
Black swallowtail caterpillars are slow but constant feeders. They usually remain on the same plant where they hatched, moving from leaf to leaf and gradually consuming tender growth. Feeding is most active during warm daylight hours, although they may also eat at night in quiet garden environments. Their chewing often starts along leaf edges and progresses inward, creating irregular holes. Despite their appetite, they rarely destroy large, healthy plants, especially when several host plants are available.
Defense Strategies
Although they lack stingers or venom, black swallowtail caterpillars are well protected. Their most famous defense is the osmeterium, a bright orange, forked organ hidden behind the head. When disturbed, it pops out and releases a strong, unpleasant odor that mimics rotten citrus, discouraging birds and small predators. Their bold green, black, and yellow coloring also serves as a warning pattern. In early life stages, their dark body with white patches mimics bird droppings, helping them avoid detection altogether.
Black Swallowtail Caterpillar vs Monarch Caterpillar

| Feature | Black Swallowtail Caterpillar | Monarch Caterpillar |
| Main colors | Green with black bands and yellow spots (older stage) | White, black, and yellow stripes |
| Host plants | Parsley, dill, fennel, carrot family | Milkweed only |
| Body shape | Smooth, slightly thicker body | Smooth, slimmer with long filaments |
| Defense method | Osmeterium with strong odor | Toxic chemicals from milkweed |
| Adult butterfly | Black swallowtail butterfly | Monarch butterfly |
Although they are often confused, their host plants and defensive strategies make them easy to separate once observed closely.
Is the Black Swallowtail Caterpillar Poisonous?
Black swallowtail caterpillars are not poisonous to humans or pets and are safe to touch gently. They do not sting, bite, or release toxins that cause skin irritation. However, they feed on plants that contain natural chemicals, which makes them distasteful to many predators.
Birds and small animals often avoid them because of both their odor and the plant compounds stored in their bodies. This creates the common myth that they are poisonous. In reality, their defenses are mainly chemical deterrents and scent-based protection, not true venom or poison that affects people.
How to Raise Black Swallowtail Caterpillars at Home
Many gardeners enjoy raising black swallowtail caterpillars and releasing the butterflies. With the right care, the process is simple and educational.
- Finding eggs or caterpillars: Look on parsley, dill, or fennel plants, especially on the undersides of leaves.
- Choosing the right host plant: Always provide fresh cuttings from the same plant species they were found on.
- Housing setup: Use a well-ventilated container with paper towels and fresh stems placed in water.
- Cleaning and care: Remove droppings and wilted leaves daily to prevent mold.
- Pupation support: Add small sticks or mesh so the caterpillar can attach and form a chrysalis.
- Releasing the butterfly: Once emerged and wings harden, release it outdoors near flowers.
Raising them helps support declining butterfly populations while offering a close look at metamorphosis.
Importance in Gardens and Ecosystems
Black swallowtail caterpillars are more than garden visitors; they are vital parts of local ecosystems. As caterpillars, they serve as food for specialized predators and help regulate plant growth. As adult butterflies, they become efficient pollinators, transferring pollen between wildflowers, vegetables, and ornamental plants.
Their presence often indicates a healthy, pesticide-free environment. Gardens that host black swallowtails usually support a wider range of insects, birds, and beneficial organisms. Protecting these caterpillars contributes directly to pollinator conservation and biodiversity.
FAQs
What does a black swallowtail caterpillar turn into?
A black swallowtail caterpillar transforms into a black swallowtail butterfly. After forming a chrysalis, the caterpillar’s body completely reorganizes, producing a large black butterfly with yellow markings and blue and orange spots. The adult butterfly feeds on nectar and begins the next reproductive cycle.
Are black swallowtail caterpillars harmful to plants?
They can eat a noticeable amount of leaves, especially on small herb plants, but they rarely cause long-term damage. Most healthy parsley, dill, and fennel plants recover quickly. Many gardeners plant extra herbs specifically to support black swallowtail caterpillars without affecting harvests.
How long does a black swallowtail caterpillar stay a caterpillar?
The caterpillar stage usually lasts about two to four weeks, depending on temperature and food supply. Warmer weather speeds up growth, while cooler conditions slow it down. After reaching full size, the caterpillar pupates and enters the chrysalis stage.
Can you touch a black swallowtail caterpillar?
Yes, black swallowtail caterpillars are harmless to humans and can be gently handled. They may extend their orange osmeterium if frightened, which produces a strong smell but is not dangerous. Always wash hands afterward and avoid excessive handling to reduce stress.
How can I attract black swallowtail caterpillars to my garden?
Plant host plants such as parsley, dill, fennel, and Queen Anne’s lace, and avoid using pesticides. Providing nectar flowers for adult butterflies and leaving some plants unharvested increases the chances that black swallowtails will lay eggs in your garden.
