Black Swallowtail

Papilio polyxenes

Black Swallowtail (Papilio polyxenes)

Photo: (c) David Garza, some rights reserved (CC BY)

  1. Home
  2. Animals
  3. Invertebrates
  4. Black Swallowtail

Papilio polyxenes · Papilionidae, Lepidoptera

invertebrate

Identification

Size & shape

A large butterfly. Adults measure about 2.8–3.5 in (7–9 cm) long, and the wings can span up to 4.5 in (11.5 cm), about the width of a hand. As in other swallowtails, there is a tail on each hind wing.

Color pattern

The upper side of the adult is black, with two rows of yellow spots running across the outer half of the wings. On the upper side of the hind wing there is iridescent blue: a row of separate spots on males and a solid band on females. Near the tail on the upper hind wing sits a large red spot with a black center. Underneath, the forewing carries yellow spots. The under hind wing has a row of orange-red spots set in front of blue caps, followed toward the tail by red spots with black centers.

Females show narrower, paler yellow spots than males. In North America some females have no yellow spots at all, which makes them look like the pipevine swallowtail.

Older caterpillars are green to yellow, and most often each body segment is crossed by a black band. The eggs are round and cream-colored. The chrysalis comes in several colors: green and yellow, brown and white, or black.

Behavior

Black swallowtails fly by day. Males are territorial, and to find females they switch between perching on hilltops and patrolling over flat ground. One study divided a male's day like this: about 67 percent perching, 25 percent patrolling, 6 percent feeding and 2 percent dealing with other butterflies. A male defends a small territory, and most males pick a new spot from one day to the next.

The way they settle for the night is easy to watch. A butterfly hunting for a sleeping perch makes several frantic flights before landing on a stalk or the tip of a soft-stemmed plant. It rests there for a few minutes with its wings spread and its abdomen raised, as if about to move on. Once settled, it closes its wings and lowers its abdomen into the sleeping position, and stays that way all night. In the morning it opens its wings again and turns around to face the morning light.

Adults visit flowers for nectar and also drink at mud.

Telling it apart

The pipevine swallowtail is the species most often confused with it, because the black swallowtail mimics it on purpose. Both are dark, with black-blue upper wings. The pipevine swallowtail lacks the black swallowtail's rows of yellow spots and its blue markings. Male black swallowtails, with bold yellow rows, are the easiest to separate. Females with faint or missing yellow spots look much more like the pipevine.

The black-centered red spot near the tail on the upper hind wing, and the red and blue spots on the under hind wing, also help to identify a black swallowtail.

Male and female

Females have narrower, paler yellow spots than males, and North American females sometimes have none at all. On the upper hind wing, males have separate blue spots and females have a solid blue band.

Length
2.8–3.5 in (7–9 cm)
Wingspan
up to 4.5 in (11.5 cm)

Habitat & cover

Habitat requirements

The black swallowtail is a butterfly of open country: meadows, fields, parks, gardens, lowlands, marshes and deserts, in both temperate and tropical regions. What matters most is its larval food plants, the carrot family (Umbelliferae, or Apiaceae), because females lay their eggs on these plants and the caterpillars feed on them. Gardens with dill, parsley or carrots can be good habitat.

These food plants often grow in scattered patches, and the butterfly copes by having females that travel well between them. Adults also need flowers for nectar and damp mud to drink from.

Photographed in the park, March 2025 · (c) David Garza, some rights reserved (CC BY)

Shelter

At night adults sleep on the stalk or tip of a soft-stemmed plant, wings closed and abdomen lowered. The chrysalis is camouflaged. The light the caterpillar is exposed to before it pupates, specifically its wavelength, decides which color the chrysalis will be. That lets the chrysalis match the background where it forms, whether green, brown or dark.

Photographed in the park, March 2025 · (c) Paul Koepke, some rights reserved (CC BY)

Range & movements

The range runs from southern Canada through North America to South America, including the West Indies. In North America it is uncommon west of the Rocky Mountains.

A male defends a territory of about 750 sq ft (70 m²), where he perches and patrols. He usually picks a new spot each day. During courtship the pair moves about 65 ft (20 m) before mating.

Females are strong dispersers. In Costa Rica, where the food plants grow in separate patches, a female lays some eggs in one patch and then flies off to lay more in new patches. Spreading out like this helps the young escape predators and parasites and avoid competition with other butterfly populations.

Photographed in the park, November 2022 · (c) Dennis Vollmar, some rights reserved (CC BY)

Threats & management

The caterpillar is sometimes a pest in gardens and on farms, where it eats carrot-family crops and herbs.

Photographed in the park, March 2025 · mularo1 (iNaturalist, CC0)

Life history

Food habits

Caterpillars eat only plants in the carrot family (Umbelliferae, also called Apiaceae), and the oils in these plants attract them. Hosts include dill, parsley, celery, caraway and carrots.

These plants defend themselves with chemicals called psoralens, which drive off most plant-eating insects. Black swallowtail caterpillars are resistant: their gut and body break down the toxins and get rid of them quickly. The caterpillars also take on the plants' chemistry, and this makes them taste bad to birds. The defense doesn't always work in their favor, though. Some carrot-family plants make psoralens that slow the caterpillars' growth and lower their fertility. Caterpillars are most often found at the small flowers of their food plants.

Adults feed on flower nectar and drink from mud. They pollinate many plants while feeding.

Photographed in the park, April 2023 · (c) Dennis Vollmar, some rights reserved (CC BY)

Life cycle

Breeding happens in a set season, and mating takes place on hilltops, where males perch and wait for females. Courtship lasts about 45 seconds. The male and female flutter near each other briefly, fly off about 65 ft (20 m) together, land and mate. They stay coupled for 30 to 45 minutes.

After mating, a female still has to survive, dodge and turn away other males that court her. Many females that live long enough mate more than once, which helps make sure their eggs are fertilized.

A female starts laying two days after she comes out of the chrysalis. She lays round, cream-colored eggs on the leaves of carrot-family plants, 30 to 50 a day, for a lifetime total averaging 200 to 440. Neither parent cares for the eggs or young after they are laid.

Older caterpillars are green to yellow with black bands. The caterpillar then forms a chrysalis, which may be green and yellow, brown and white, or black, depending on the light it was exposed to before pupating.

Photographed Lincoln County, April 2017 · (c) Jay Brasher, some rights reserved (CC BY)

Lifespan & predators

Each stage has a different defense. Caterpillars taste bad to birds because of the plant chemicals they eat, but adults are good to eat. Adults are protected instead by looking like the bad-tasting pipevine swallowtail, which works where the two species live together. The chrysalis is camouflaged against its background. Females lower the risk from predators and parasites by spreading their eggs across separate patches of food plants. The butterfly is also food for many predators.

Photographed Jericho, September 2022 · Audrey McGovern (iNaturalist, CC0)

Conservation

The black swallowtail is widespread and does not appear to be threatened. It is not listed under the Endangered Species Act.

Photographed Frontrunner Way, July 2024 · (c) Evan Robbins, some rights reserved (CC BY)

Cool facts

  • Black swallowtail caterpillars eat dill, parsley, celery, caraway and carrot plants, so gardeners often find them on their herbs.
  • The caterpillars handle the carrot family's chemical defenses easily, and these chemicals make them taste bad to birds.
  • Adults are safe to eat, so they protect themselves by mimicking the bad-tasting pipevine swallowtail.
  • The color of the chrysalis depends on the light the caterpillar saw before pupating, so it matches its background.
  • A male spends about two-thirds of his day sitting on a perch, waiting for females.
  • Black swallowtails mate on hilltops after a courtship of only about 45 seconds.
  • One female can lay 200 to 440 eggs, at 30 to 50 a day.

Predators, prey & neighbors

Where to find it

Everglades National Park

Feb, Mar, Apr

Not on the park's official species list; reported here on iNaturalist.

  • Tree islands and willow heads27% of sightings

    About 110,130 acres in the park

  • Sawgrass marsh21% of sightings

    About 284,450 acres in the park

  • Wet prairie and spikerush marsh16% of sightings

    About 161,785 acres in the park

  • Roads, buildings and lawns10% of sightings

    About 2,619 acres in the park

From 67 research-grade iNaturalist sightings in the park, placed on the NPS vegetation map (2009).

Canaveral National Seashore

Jan, Feb, Mar, May

Not on the park's official species list; reported here on iNaturalist.

  • Oak–palmetto scrub67% of sightings

    About 2,812 acres in the park

From 3 research-grade iNaturalist sightings in the park, placed on the NPS vegetation map (2012).

Photos

  • Photographed in the park, March 2025
  • Photographed in the park, March 2025
  • Photographed in the park, March 2025
  • Photographed in the park, November 2022
  • Photographed in the park, March 2025
  • Photographed in the park, April 2023
  • Photographed Lincoln County, April 2017
  • Photographed Jericho, September 2022
  • Photographed Frontrunner Way, July 2024
  • Photographed Aspetong Rd, July 2021

Written by

  • Owner & Lead Guide

    Eric founded Viking EcoTours in 2021 after earning a B.S. in Wildlife Conservation from Virginia Tech and leading conservation crews with the Student Conservation Association.

  1. What it eats and what eats it: GloBI (opens in a new tab), Global Biotic Interactions (2026)
  2. Papilio polyxenes – INFORMATION (opens in a new tab), Animal Diversity Web (Univ. of Michigan)