Updated: July 6, 2025

The black swallowtail butterfly (Papilio polyxenes) is one of North America’s most striking and recognizable butterfly species. With its elegant black wings adorned by yellow, blue, and orange spots, the black swallowtail captivates both casual observers and dedicated lepidopterists alike. But beyond their beauty, understanding what black swallowtails eat is essential for anyone interested in butterfly gardening, conservation, or simply appreciating the life cycle of these fascinating insects.

In this article, we will explore the diet of black swallowtails in both their caterpillar and adult stages, highlighting their preferred food sources and offering insights into how to support these butterflies in your garden or natural habitat.

The Life Cycle of Black Swallowtails

Before diving into their diet, it’s helpful to understand the life stages of black swallowtails, as their dietary needs change drastically through metamorphosis:

  • Egg: Black swallowtail females lay eggs on host plants.
  • Larva (Caterpillar): Emerge from eggs and consume host plant leaves voraciously.
  • Pupa (Chrysalis): A resting and transformation stage where they do not feed.
  • Adult Butterfly: Feed primarily on nectar from flowers.

Each stage has distinctive dietary requirements that influence habitat preferences and behavior.

What Do Black Swallowtail Caterpillars Eat?

Host Plants for Caterpillars

The black swallowtail caterpillar has a fairly specialized diet consisting almost exclusively of certain plants within the carrot family (Apiaceae). These plants produce chemical compounds that the caterpillars can tolerate and even use for defense against predators.

Primary Host Plants Include:

  • Parsley (Petroselinum crispum)
    Parsley is one of the most common garden herbs where black swallowtail females lay their eggs. The larvae thrive on its leaves.

  • Dill (Anethum graveolens)
    Dill is another favorite host plant with feathery leaves suitable for caterpillars to feed on.

  • Fennel (Foeniculum vulgare)
    Fennel’s tall, wispy foliage serves as an excellent food source for growing caterpillars.

  • Carrot (Daucus carota)
    Wild carrots provide the natural environment caterpillars evolved to utilize.

  • Queen Anne’s Lace (Daucus carota var. carota)
    This wildflower is also a critical native host plant.

  • Rue (Ruta graveolens)
    Though less common in some areas, rue is a host plant used by black swallowtails and offers a unique chemical defense.

These plants share chemical compounds called furanocoumarins that caterpillars ingest to become toxic or unpalatable to potential predators like birds.

Feeding Behavior of Caterpillars

When black swallowtail caterpillars hatch from eggs laid on a host plant leaf, they immediately begin feeding. Early instar (young) caterpillars are small and may eat only a portion of a leaf at a time. As they grow, their appetite increases dramatically; mature larvae can consume large amounts of foliage daily.

Caterpillars typically feed during the day but may seek shelter under leaves or nearby vegetation at night. They are often well camouflaged or mimic bird droppings in early stages to avoid predation.

Importance of Host Plant Availability

The survival of black swallowtail caterpillars depends heavily on host plant availability. If females cannot find suitable plants to lay eggs on, larvae may perish from starvation. Gardeners who want to attract or nurture black swallowtails should consider planting these host species in sunny locations with good soil drainage.

What Do Adult Black Swallowtails Eat?

Nectar Sources for Adults

Once they emerge from their chrysalis as adult butterflies, black swallowtails switch to a liquid diet consisting primarily of flower nectar. Nectar provides essential sugars needed for flight energy, mating flights, and egg production in females.

Common Nectar Plants Loved by Black Swallowtails Include:

  • Milkweed (Asclepias spp.)
    Rich in nectar, milkweed attracts many butterflies including black swallowtails.

  • Coneflowers (Echinacea spp.)
    Their large flower heads make it easy for butterflies to land and feed.

  • Joe-Pye Weed (Eutrochium purpureum)
    This native wildflower produces abundant nectar throughout summer and fall.

  • Butterfly Bush (Buddleja spp.)
    Known as a butterfly magnet due to its fragrant flowers loaded with nectar.

  • Lantana (Lantana camara)
    Brightly colored clusters that are especially attractive in warmer climates.

  • Bee Balm (Monarda didyma)
    Its tubular flowers are ideal for long-tongued butterflies like the black swallowtail.

  • Zinnias (Zinnia elegans)
    Easy-to-grow annuals that provide continuous blooms through warmer months.

Black swallowtails prefer flowers with flat or clustered blossoms that accommodate their proboscis length and allow easy access to nectar. They also tend to favor plants blooming from late spring through early fall when adults are active.

Feeding Behavior of Adult Butterflies

Adult black swallowtails use their long proboscis — a tubular tongue — to probe deep into flowers for nectar. When feeding, they perch lightly on petals or hover briefly. Besides nectar, adults sometimes sip moisture from damp soil or puddles — a behavior known as “puddling” — which supplies minerals important for reproduction.

Unlike the larval stage that relies on a select group of host plants, adult black swallowtails are more generalist in their nectar preferences but still benefit greatly from planting native wildflowers that bloom sequentially throughout their flight season.

Other Food Sources and Nutritional Needs

Minerals and Salts

In addition to nectar sugars, black swallowtail butterflies require minerals such as sodium and potassium for muscle function and egg development. They acquire these by visiting mud puddles, damp sand, animal droppings, or decaying organic matter — collectively referred to as “puddling spots.”

Male butterflies especially engage in puddling behavior as they transfer nutrients to females during mating via spermatophores. Providing shallow water sources with exposed soil or sand can help support local populations.

Sap and Rotting Fruit

Occasionally, adult black swallowtails may feed on tree sap flows or fermenting fruit juices which supply sugars and other nutrients not found in floral nectar alone. While this is less common than flower feeding, it illustrates their adaptability in obtaining nutrition.

Supporting Black Swallowtails Through Their Diet

Tips for Gardeners

If you want to attract or conserve black swallowtail butterflies in your garden or local area:

  1. Plant Host Plants: Include parsley, dill, fennel, carrot greens, Queen Anne’s lace, or rue for caterpillar food.
  2. Provide Nectar Flowers: Grow native wildflowers like milkweed, coneflowers, Joe-Pye weed, butterfly bush, bee balm, lantana, or zinnias.
  3. Create Puddling Areas: Maintain moist patches with exposed soil or sand near your garden.
  4. Avoid Pesticides: Protect butterfly stages by limiting pesticides and herbicides.
  5. Offer Shelter: Include shrubs or tall grasses where caterpillars can hide during vulnerable periods.
  6. Ensure Continuous Bloom: Plant flowers that bloom sequentially through spring to fall so adults have consistent nectar sources.
  7. Encourage Natural Habitat: Preserve nearby meadows or edges where wild host plants grow naturally.

Conservation Considerations

Black swallowtail populations are generally stable but can be negatively impacted by habitat loss, pesticide exposure, and climate change affecting plant phenology. By understanding their dietary needs at every stage and providing appropriate resources within gardens or restoration projects, we can ensure these iconic butterflies continue gracing our landscapes with their beauty for generations to come.

Conclusion

Black swallowtail butterflies exemplify the intricate relationship between insects and plants throughout nature’s cycles. Their diet changes dramatically—from leaf-chewing caterpillars relying on specific Apiaceae hosts like parsley and dill; to elegant adults sipping nectar from a variety of wildflowers such as milkweed and coneflowers; plus occasional minerals gathered through puddling behavior—each stage depends on diverse food sources essential for survival and reproduction.

By cultivating suitable host plants and nectar-rich flowers while providing safe environments free from harmful chemicals, gardeners and conservationists alike can play an active role in supporting these magnificent butterflies. Appreciating what black swallowtails eat not only deepens our connection with nature but also empowers us to foster thriving pollinator-friendly ecosystems right outside our doors.

Related Posts:

Black Swallowtails