Also known asBlack SwallowtailEastern Black SwallowtailParsley WormBlack Swallowtail Caterpillar
Name TagsWhat they’re called
♂MaleMale
♀FemaleFemale
YoungLarva (Instar)
GroupSolitary
Overview
The Black Swallowtail Caterpillar is the larval stage of the Eastern Black Swallowtail butterfly, a prominent swallowtail insect native to North America. Throughout its development across five growth stages known as instars, the caterpillar undergoes an extraordinary morphological transformation. Upon hatching from a tiny yellow egg, the young caterpillar appears predominantly black or dark brown with a white saddle mark on its middle segments, closely resembling bird droppings, a defensive adaptation known as aggressive mimicry that discourages early avian predation.
As the caterpillar grows and molts into its later instars, it turns striking lime green and white, banded with black stripes that feature bright yellow or orange spots. Beyond its visual warning colors, the caterpillar possesses a specialized defensive organ called an osmeterium. Situated hidden behind the head, this bright orange, Y-shaped gland rapidly erects when the caterpillar feels threatened, emitting a pungent, foul-smelling chemical mixture composed of butyric and isobutyric acids designed to repel ants, spiders, and predatory insects.
This species is widely distributed across North America east of the Rocky Mountains, extending from southern Canada through the midwestern and eastern United States into Mexico and Central America. Its preferred habitats include open fields, meadows, prairies, roadsides, agricultural landscapes, suburban gardens, and urban parks. It thrives wherever host plants from the Apiaceae (parsley/carrot) family are abundant, particularly wild carrot (Queen Anne's lace), fennel, dill, cilantro, and cultivated parsley.
The caterpillar is an obligate herbivore with a rapid growth rate, consuming foliage nearly continuously to build up lipid reserves required for metamorphosis. Once fully grown at roughly two inches in length, the larva seeks a firm vertical stem, wooden fence, or structure to construct a silk harness and pupate into a chrysalis, which can hibernate through winter depending on seasonal temperature and daylight hours.
Quick Answers about the Black Swallowtail Butterfly Caterpillar
What does the Black Swallowtail Butterfly Caterpillar eat?
Parsley, dill, fennel, Queen Anne's lace (Daucus carota), poison hemlock (Conium maculatum), yellow pimpernel, celery. It feeds as a herbivore. Its favourite food is dill (Anethum graveolens).
Where does the Black Swallowtail Butterfly Caterpillar live?
Meadows, fields, pastures, vegetable gardens, flower beds, roadsides, and open woodland edges rich in Apiaceae foliage. In the wild it is native to United States, Canada, Mexico, Guatemala. Populations are mapped at Eastern United States and Central Mexico. Non-migratory.
How long does the Black Swallowtail Butterfly Caterpillar live?
10 to 30 days in larval state (adult butterflies live 10 to 14 days)
Is the Black Swallowtail Butterfly Caterpillar endangered?
Black Swallowtail Butterfly Caterpillar is listed as Least Concern on the IUCN Red List. There are no major threat recorded for this species. However, due to its large distribution across North America, it is likely that there are localized threats acting at small scales.
What is the scientific name of the Black Swallowtail Butterfly Caterpillar?
The scientific name of Black Swallowtail Butterfly Caterpillar is Papilio polyxenes, in the family Papilionidae.
How does the Black Swallowtail Butterfly Caterpillar interact with people?
Papilio polyxenes is one of nine butterfly species permitted for release across state lines by the US Department of Agriculture. It is therefore often reared by commercial breeders to be sold for release, usually for educational or ceremonial purposes.
How does the Black Swallowtail Butterfly Caterpillar reproduce?
Females lay individual spherical yellow eggs on host plants. Eggs hatch within 3 to 5 days into first-instar caterpillars. Breeding takes place spring through early autumn. Eggs incubate for 3–5 days (egg phase). A typical clutch is 200–400 eggs laid per female. Breeding frequency: 2–3 generations per year.
Etymology & Name
The generic name 'Papilio' is Latin for 'butterfly', while the specific epithet 'polyxenes' stems from Greek mythology, named after Polyxena, the daughter of King Priam of Troy. The common name highlights its ultimate adult dark phase, which features distinctive yellow spots. The caterpillar stage, however, is known for its striking black, white, and orange bands. This naming reflects the historical tradition of using classical mythology for taxonomic classification, while the common name serves as a practical descriptor for the butterfly's appearance in its final, mature form.
Styler (CC BY-SA)
Did You Know?
First-instar black swallowtail caterpillars look exactly like bird droppings to trick hungry birds into leaving them alone. As the larva grows through successive molts, its coloration shifts dramatically into a vibrant green ringed with black and yellow bands. When threatened, it everts a fleshy, foul-smelling orange organ called an osmeterium from behind its head to release a pungent chemical defense against parasitic wasps and flies.
★ Iconic Moment
The Smelly Secret Horns
If pinched or disturbed, the caterpillar pops an invisible bright orange, horn-shaped gland called an osmeterium out of its forehead. This organ deploys a potent chemical cloud rich in butyric acid that smells like rotten cheese, successfully scaring away hungry birds and aggressive ants.
Size Compared to a Human Palm
Length2.0 in5 cm
Weight0.8–1.5 g0–0.1 oz
A Black Swallowtail Butterfly Caterpillar is roughly 2.0 in long, shown next to an open human palm (11 cm) for scale.
Classification & Traits
Size
4.5 to 5.5 cm
Weight
0.8 to 1.5 g
Colors
Lime green, black, bright yellow, orange, white
Phylum
Arthropoda
Class
Insecta
Order
Lepidoptera
Family
Papilionidae
Genus
Papilio
Adult • Chrysalis • Caterpillar
Adult
Captured by: Healthy Yards
Chrysalis
Captured by: Steven J. Røste
CaterpillarLarva
InstarCaptured by: Lois Diggs
Caterpillars are sexually indistinguishable visually; adult swallowtail butterflies display sexual dimorphism where females have larger blue hindwing patches.
Anatomy & Field Signs
The body parts that define the Black Swallowtail Butterfly Caterpillar, head, thorax, abdomen, exoskeleton and the features that set it apart, plus the tracks and signs that let researchers identify it even when the animal is nowhere in sight.
Head
Paired antennae, the insect's primary organs of smell and touch; feathery (bipectinate) in many male moths for detecting female pheromone.
Thorax & Wings
The thorax, bearing the wings and all six legs, the insect's entire engine of flight and locomotion.
Captured by: Comstock, John Henry
Legs
Six jointed legs attached to the thorax, the defining count of the insects.
Captured by: ljtigers
Abdomen
The abdomen, housing the digestive and reproductive organs, and, in stinging wasps and bees, the sting.
Captured by: edwardrooks
Exoskeleton
A hard external skeleton of chitin that supports and protects the body and must be shed to grow.
Captured by: sciteach142
Larva
The larval stage, a caterpillar, grub or maggot, which usually looks and feeds nothing like the adult it becomes.
Captured by: Anne P
Egg
The eggs of this species, their shape, size, colour and clutch.
Captured by: gcschmidt911
How to Tell It Apart
Distinguished from the monarch caterpillar by its solid transverse black bands with yellow-orange dots, lack of long black filaments, and presence of an extrudable orange osmeterium.
Distinguishing features, broken down field by field:
Markings
PatternLime-green body with distinct black cross-bands dotted with orange-yellow spots.vs Monarch Caterpillar
Head & Face
Defense OrganEversible orange Y-shaped osmeterium behind the head deployed when poked.vs Spicebush Swallowtail Caterpillar
Commonly Mistaken For
Animals that genuinely look like the Black Swallowtail Butterfly Caterpillar at a glance, and the detail that separates them.
Swallowtail caterpillars within the family Papilionidae evolved specialized chemical defenses like the osmeterium over 50 million years ago, co-evolving alongside host plants in the Apiaceae family that produce toxic furanocoumarins. This evolutionary arms race has resulted in the caterpillar developing sophisticated detoxification enzymes that allow it to feed on plants that are poisonous to most other herbivores. The osmeterium, a fleshy, forked organ that emits a foul odor, serves as a primary defense mechanism against predators. Over millions of years, this species has refined its life cycle to synchronize with the growth of its host plants in meadows and fields, ensuring that larvae have access to the specific nutrients required for their development into adult butterflies.
Conservation Status
On the IUCN Red List, this species is classified as Least Concern.
LC▲
NT
VU
EN
CR
EW
EX
Least concernExtinct
Habitat & Range
Meadows, fields, pastures, vegetable gardens, flower beds, roadsides, and open woodland edges rich in Apiaceae foliage. In the wild it is native to United States, Canada, Mexico, Guatemala. Populations are mapped at Eastern United States and Central Mexico. Non-migratory. This caterpillar thrives in environments where host plants such as parsley, dill, fennel, and Queen Anne's lace are abundant, as these provide the essential nutrition required for its rapid growth. The species prefers sunny, open areas where it can easily locate these specific plants. Because it is non-migratory, it remains within these localized habitats throughout its larval development, which lasts 10 to 30 days, before transitioning into the adult butterfly stage, which typically lasts 10 to 14 days.
Where to Find Them
Where in the world the Black Swallowtail Butterfly Caterpillar is found. Each coloured area shows a region where it lives, plotted on the whole world so you can see its range at a glance. Drag and zoom in to explore.
Every confirmed sighting of the Black Swallowtail Butterfly Caterpillar logged by naturalists
and field surveys: 114,369 of them,
across 18 countries.
18Countries with records
114,369Wild sightings logged
United StatesMost records · 80% of all
USUnited States91,80880%
CACanada18,76216%
MXMexico3,0243%
COColombia2590%
CRCosta Rica1730%
ECEcuador1080%
HNHonduras980%
NINicaragua460%
GTGuatemala450%
PAPanama290%
PEPeru50%
MFSaint Martin (French part)30%
Also recorded, in ones and twos, in
El Salvador, Nepal, Åland Islands, Saint Kitts and Nevis, Czechia, Venezuela (Bolivarian Republic of).
How to read this. These are sighting
records, not population counts. A country near the top has been
watched and catalogued the most, not necessarily the most
Black Swallowtail Butterfly Caterpillars living there, and a country with few naturalists will
sit low on this list even where the animal is common. Museum specimens and
captive animals are excluded, so these are wild sightings only. Compiled
from GBIF occurrence data.
Biology & Behavior
Diet
Parsley, dill, fennel, Queen Anne's lace (Daucus carota), poison hemlock (Conium maculatum), yellow pimpernel, celery. It feeds as a herbivore. Its favourite food is dill (Anethum graveolens). Additional plant matter consumed during the larval stage includes leaves from various other members of the Apiaceae family found in meadows, fields, and home vegetable gardens. The caterpillar uses its strong mandibles to shear through aromatic foliage, occasionally consuming flower buds and tender stems while accumulating toxic compounds from host plants for chemical defense against predatory spiders and birds.
Favourite foodDill (Anethum graveolens)
Predators
Animals known to hunt or prey on the Black Swallowtail Butterfly Caterpillar:
10 to 30 days in larval state (adult butterflies live 10 to 14 days)
Behavior & Social Structure
Strictly solitary throughout its larval life. Caterpillars do not interact socialized with conspecifics except when competing for food space. Harmless to humans, though touching the osmeterium leaves a strong odor. They spend their time anchored to host plants in the Apiaceae family, feeding continuously on leaves and stems. Their daily rhythm is tied to ambient temperatures rather than a strict day-night cycle, though feeding is most intense during warm daylight hours. When threatened, they evert their bright orange osmeterium gland to release a foul-smelling deterrent against potential parasitic wasps and avian predators.
Reproduction
Females lay individual spherical yellow eggs on host plants. Eggs hatch within 3 to 5 days into first-instar caterpillars. Breeding takes place spring through early autumn. Eggs incubate for 3–5 days (egg phase). A typical clutch is 200–400 eggs laid per female. Breeding frequency: 2–3 generations per year. A newborn is called a larva (instar). Sexual maturity comes at 10–20 days to pupation. Mating occurs only in the adult butterfly stage through territorial hilltopping behavior by adult males.
Feeding Style
The larvae of American swallowtails are attracted to Umbelliferae (or Apiaceae) oils. Umbelliferae plants include dill, parsley, celery, carraway and carrots. These plants have adapted to insects herbivores by producing specific chemicals known as psoralins that repel the insects that try to eat them. American swallowtail larvae are resistant to these psoralens because their intestine and body detoxify and eliminate the toxins quickly. Psoralens make the caterpillar bad-tasting to avian predators. Some plants from the Umbelliferae family make psoralens that reduce growth rate and fertility in American swallowtails. The larva are most often found at the small umbelliferae flowers. Adults feed on flower nectar and mud. The larvae of American swallowtails are attracted to the oils of plants such as dill, parsley, celery, carraway and carrots. These plants have adapted to insects herbivores by producing specific chemicals that repel the insects that try to eat them. American swallowtail larvae are resistant to these chemicals and make the caterpillar bad-tasting to bird predators. Some plants from the Umbelliferae family make psoralens that reduce growth rate and fertility in American swallowtails. The larva are most often found at small flowers. Adults feed on flower nectar and mud. Primary Diet herbivore herbivore folivore folivore nectarivore nectarivore Plant Foods leaves nectar flowers
Captured by: Jason S. Larson
Life in a Group
A group of Black Swallowtail Butterfly Caterpillars is called a Solitary.
Solitary herbivorous larvae that hatch individually from scattered eggs.
Mating & Courtship
Mating occurs only in the adult butterfly stage through territorial hilltopping behavior by adult males.
Captured by: Sage Ross
A Great History
Wild Papilio polyxenes (black swallowtail) is wild and not domesticated. People meet it when they grow host plants (especially Apiaceae herbs) or raise small numbers for school, outreach, or hobby gardens. Interactions include planting host and nectar plants, classroom or citizen science rearing, occasional herb damage, conservation work, and some collecting rules. Home gardeners cultivating dill, parsley, fennel, and carrot crops have long encountered these distinctive striped caterpillars feeding on their greens. Entomology enthusiasts and educators frequently collect the larvae or eggs to observe their dramatic metamorphosis into striking black and yellow butterflies, embedding the species firmly into environmental education and backyard gardening traditions across North America.
The India Connection
This species is native exclusively to North America and parts of South America, with no natural distribution or established population within the Indian subcontinent.
People & the Black Swallowtail Butterfly Caterpillar
Papilio polyxenes is one of nine butterfly species permitted for release across state lines by the US Department of Agriculture. It is therefore often reared by commercial breeders to be sold for release, usually for educational or ceremonial purposes. Some commercial operations do collect a portion of their stock from wild populations, but it is unclear how often this is the case for P. polyxenes. Despite this, this species is not thought to be widely traded or utilised.
Cultural Significance & History
A favorite organism in elementary science classrooms and home butterfly gardens, serving as a gateway insect for backyard conservation. It is also known by the names Eastern Black Swallowtail and Parsley Worm. Because of its distinct appearance and its habit of feeding on common garden herbs, it is one of the most recognizable insects for children and amateur naturalists. This accessibility has made it a powerful tool for environmental education, fostering a sense of stewardship for local ecosystems. Its dual identity as a garden pest and a beautiful pollinator highlights the complex relationship between human cultivation and the natural world.
Some Great News
Thriving across suburban areas due to the popularity of home herb gardening and wild carrot patches. On the IUCN Red List it stands at Least Concern.
The Rare Story
Papilio polyxenes has been assessed as Least Concern. This species has an expansive geographical range and is found in many habitats, including artificial/disturbed habitats such as the edges of roadsides, open fields and disturbed forests which suggests some resilience to land use change. Its ability to survive on many different species of host plant is also beneficial. However, the observation of this species needing to utilise higher altitudes than usual suggests that it may be experiencing negative effects from global warming which should be researched to better understand the implications. This species has been previously thought to be quite common, although there have been reports that population sizes fluctuate. However, recent research suggests that populations at low elevation have reduced in size due to global warming, forcing the butterflies to higher altitudes to remain in favourable environmental conditions (Orellana-B. 2009). Additionally, one long-term study on the butterfly fauna of Ohio, recorded a 59% decline in the occurrence of this species during surveys conducted between 1996 and 2016 (20 year period).
There are no major threat recorded for this species. However, due to its large distribution across North America, it is likely that there are localized threats acting at small scales. For example, documented occurrence declines in Ohio may have been in part because of decreased quality of habitat and agricultural intensification in the form of heavier pesticide use on corn and soybean crops in the region, which degrades the open meadows and roadside environments where larval host plants grow.
Recent News
Recent citizen-science tracking reveals expanding northward range boundaries in eastern Canada tied to milder spring temperatures.
Extreme Adaptations & Anatomy
Rebuilt from the inside out
Inside the pupa the Black Swallowtail Caterpillar does not simply grow wings. Most larval tissue is broken down by its own enzymes into a nutrient soup, and the adult is rebuilt from small reserved clusters of cells that were present all along. Experiments show some memories survive the process, meaning parts of the nervous system are carried across a body that has otherwise been dissolved.
Measured facts
Vision: Simple ocelli detecting light and dark contrasts
Body covering: Bare skin
Further reading
Ask A Biologist (ASU)Animal Diversity WebOneZoom tree of life
In Your Backyard
How to attract it
Plant for the caterpillar as well as the adult, most butterflies can only lay on a small set of native host plants, and a garden of nectar alone is a restaurant with no nursery.
Sun, shelter and a flat basking stone matter as much as flowers.
Grow in blocks of a single species rather than singletons; butterflies find colour masses far more easily.
Skip the ornamental 'butterfly houses' nothing uses them. Leave stems, seed heads and leaf litter through the winter instead.
No pesticides, and check that nursery stock has not been treated with systemic insecticide before planting it.
In the garden
Verdict
Both. Larvae consume edible herbs like parsley and dill, but mature into valuable native pollinators.
Host plants
Apiaceae species including Daucus carota, Petroselinum crispum (parsley), Anethum graveolens (dill), and Foeniculum vulgare (fennel).
Nectar plants
Asclepias (milkweed), Zinnia, Echinacea purpurea, and Buddleja (adult stage).
How to help
Plant extra dill, fennel, or parsley to share with caterpillars, or hand-relocate larvae from prized kitchen crops to Queen Anne's lace.
When you will see it
Striped green, black, and yellow caterpillars seen on herb foliage from late spring through late summer.
Further reading
Xerces SocietyThe Wildlife TrustsThe Humane Society, what to do aboutAnimal Help Now, found an injured or orphaned animal
References & Further Reading
Where the Black Swallowtail Butterfly Caterpillar page comes from. Everything is named rather than linked, search any source by name to read the original.
Compiled from
A-Z Animalsgreat_history
Animal Diversity Webhunting_style
WikipediaThreats, People & the animal, the_rare_story, adapted under CC BY-SA 4.0
IUCN Red ListConservation status, population trend, threats
GBIFTaxonomy, range and occurrence records for Papilio polyxenes
iNaturalistObservations and look-alike comparisons
Further reading on butterflies and moths
Scoble, M. J. The Lepidoptera: Form, Function and Diversity. Oxford University Press, 1992.
Gullan, P. J. & Cranston, P. S. The Insects: An Outline of Entomology, 5th ed. Wiley-Blackwell, 2014.
Triplehorn, C. A. & Johnson, N. F. Borror and DeLong's Introduction to the Study of Insects, 7th ed. Thomson Brooks/Cole, 2005.
Named, not linked. The works above are the standard literature on butterflies and moths, further reading, not sources this page was copied from. Photographs are used under their individual licences and carry their own credit beside each image. If a source is missing or wrongly credited, tell us below.
Spotted a mistake?
Biospedia is compiled from public sources and written by people, so errors are possible, and wildlife science moves. If anything on this Black Swallowtail Butterfly Caterpillar page is wrong, out of date or misleading, please tell us. It will be checked against the sources and fixed.
Put your name beside the Black Swallowtail Butterfly Caterpillar
Sponsor this page and become the quiet guardian of its story, a company, a cause, or a person's name resting here with grace, met by everyone who comes to learn about the Black Swallowtail Butterfly Caterpillar.