Also known asRed-Headed Railroad WormGlowing Train CaterpillarPhrixothrix beetle larvaSouth American Railroad WormPhengodid Beetle Larva
Name TagsWhat they’re called
♂MaleMale
♀FemaleFemale
YoungLarva
GroupSolitary
Overview
The railroad worm (Phrixothrix hirtus) is the larviform female and predatory larval stage of a beetle in the glow-worm family Phengodidae, native to the tropical and subtropical forests of Central and South America. Despite its common name, it is not a true worm or caterpillar, but rather an insect larva or neotenic adult female beetle that retains juvenile larval morphology throughout its entire life.
Renowned worldwide for its extraordinary bioluminescent capabilities, the railroad worm is one of the only terrestrial organisms capable of producing two entirely different colors of light simultaneously. Running along its body are eleven pairs of luminescent organs (lanterns) located from the second thoracic segment through the ninth abdominal segment that glow bright greenish-yellow, while a distinct pair of lanterns on its head produces a clear, deep red light.
When illuminated in darkness, the dual rows of yellow-green lateral lights interspersed along its dark segmented body resemble the glowing interior windows of a passenger train at night, while the red head lantern mimics a locomotive headlight, giving rise to the popular moniker 'railroad worm'. The insect can control these light organs independently, turning them on or off according to predatory, defensive, or environmental cues.
The red light produced by Phrixothrix hirtus is unique among land animals because most nocturnal predators (such as birds, frogs, and small mammals) cannot perceive red wavelengths, whereas the beetle itself can. This allows the railroad worm to illuminate nocturnal prey in the dark without alerting predators or exposing its position. The larviform females and larvae live on the forest floor, under leaf litter, rotten logs, and rich humus, hunting millipedes and other soil invertebrates.
Millipedes, centipedes, soft-bodied soil insects, and earthworms. As specialized nocturnal predators on the forest floor, these bioluminescent larvae track their prey through leaf litter and damp soil.
Where does the Railroad Worm live?
Subtropical rainforests, leaf litter layers, decaying wood logs, and humid forest floors. This beetle larva is native to South America, inhabiting damp woodland microhabitats where it moves through decaying vegetation and subterranean soil layers in search of prey.
How big is the Railroad Worm?
Larvae and larviform adult females reach lengths of 30 mm to 50 mm; winged adult males are smaller, around 15 mm to 25 mm.
How long does the Railroad Worm live?
Larval phase lasts 1 to 2 years; adult female stage lives several weeks to months.
What is the scientific name of the Railroad Worm?
The scientific name of Railroad Worm is Phrixothrix hirtus, in the family Phengodidae.
Is the Railroad Worm dangerous to humans?
Completely harmless to humans. It does not sting or bite people, though when handled roughly it can exude a foul-tasting fluid from its cuticle as a defensive measure. Their bioluminescence, which resembles the lights of a moving train, makes them a subject of fascination for researchers and nature enthusiasts.
How does the Railroad Worm reproduce?
Oviparous. Females lay clutches of eggs in dark, moist soil under rotting wood after mating, standing guard briefly before dying. Courtship relies heavily on bioluminescent signaling, where neotenic, worm-like females emit glowing yellow and red lights from their bodies to attract winged adult males across the humid…
Etymology & Name
The generic name 'Phrixothrix' comes from Greek 'phrix' (bristling or shivering) and 'thrix' (hair), describing the fine setal hairs coating its body. The specific name 'hirtus' is Latin for 'hairy' or 'shaggy'. The common name 'railroad worm' refers to the train-like pattern of its glowing lateral lights.
Railroad Worm Mariano Ordano (CC BY-NC)
Did You Know?
The railroad worm possesses 'night vision headlights' its red light illuminates prey without revealing its presence to most nocturnal predators, who are blind to red light. Despite its common name, it is actually the larviform female or larva of a beetle. Along the flanks of its segmented body run eleven pairs of luminous organs that glow bright yellow-green. When both the red head lantern and the lateral green lights activate simultaneously in darkness, the insect strikingly resembles a miniature passenger train moving along nocturnal tracks.
★ Iconic Moment
The Nature's Dual-Color Train
When threatened by a toad or mouse, the railroad worm suddenly ignites all 24 light organs at full intensity while discharging a foul-tasting chemical, instantly spooking the predator in the dark.
Size Compared to a Human Palm
Length0.8 in2 cm
Weight1 g0 oz
Less than 1 gram.
A Railroad Worm is roughly 0.8 in long, shown next to an open human palm (11 cm) for scale.
Classification & Traits
Size
Larvae and larviform adult females reach lengths of 30 mm to 50 mm; winged adult males are smaller, around 15 mm to 25 mm.
Weight
Less than 1 gram.
Colors
Dark brown or dark reddish-black segmented body with yellowish lateral light patches and a reddish head capsule.
Phylum
Arthropoda
Class
Insecta
Order
Coleoptera
Family
Phengodidae
Genus
Phrixothrix
♂ Male • ♀ Female • Young
♂MaleMale
♀FemaleFemale
Captured by: Mariano Ordano
YoungLarva
Captured by: Mariano Ordano
Extreme sexual dimorphism (neoteny): females remain larviform, wingless, and bioluminescent, whereas males pupate into small, winged beetles with large feathery antennae and non-functional or reduced light organs.
Anatomy & Field Signs
The body parts that define the Railroad Worm, 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: raul_varella
Legs
Six jointed legs attached to the thorax, the defining count of the insects.
Captured by: raul_varella
Abdomen
The abdomen, housing the digestive and reproductive organs, and, in stinging wasps and bees, the sting.
Captured by: raul_varella
Exoskeleton
A hard external skeleton of chitin that supports and protects the body and must be shed to grow.
Larva
The larval stage, a caterpillar, grub or maggot, which usually looks and feeds nothing like the adult it becomes.
Captured by: Mariano Ordano
Egg
The eggs of this species, their shape, size, colour and clutch.
How to Tell It Apart
Distinct from fireflies (Lampyridae) and click beetles (Elateridae) by having a distinct red head light organ alongside eleven pairs of yellow-green lateral lanterns.
Distinguishing features, broken down field by field:
Markings
Bioluminescent organsPair of red lanterns on head plus 11 pairs of yellow-green lanterns along bodyvs Firefly Larva (Lampyridae spp.)
Coat & Colour
BioluminescenceFeatures yellow-green light organs along the body sides and red light organs on the head.vs Glowworm
ExoskeletonSoft, velvety dark brown to black dorsal plates.vs Firefly Larva
Size & Build
Larval FormLarvae retain a worm-like beetle appearance with short legs and numerous bristly hairs.vs Centipede
Head & Face
MandiblesTiny, sharp mandibles used for subduing millipede prey.vs Wireworm
Relatives
Other animals close to Railroad Worm on the family tree. Cards with a link open a full Biospedia page.
Phengodid beetles diverged early within Elateroidea. The evolution of red bioluminescence in Phrixothrix required structural mutations in the enzyme luciferase, shifting the emission spectrum from green/yellow to long-wavelength red (approx 620 nm) using the same luciferin substrate. This unique neotenic female morphology allows the insect to retain larval-like characteristics throughout its life while inhabiting subtropical rainforests, leaf litter layers, decaying wood logs, and humid forest floors across South and Central America, including Brazil, Argentina, Colombia, and Venezuela.
Conservation Status
This species has not been evaluated for the IUCN Red List.
NE▲
LC
NT
VU
EN
CR
EW
EX
Off scaleLeast concernExtinct
Not Evaluated means no assessment has been carried out, it is not a finding that the species is secure.
Habitat & Range
Subtropical rainforests, leaf litter layers, decaying wood logs, and humid forest floors. This beetle larva is native to South America, inhabiting damp woodland microhabitats where it moves through decaying vegetation and subterranean soil layers in search of prey. Across countries such as Brazil, Argentina, Colombia, Venezuela, and various parts of Central America, it thrives in environments characterized by high humidity, abundant rainfall, and thick canopies that keep the ground perpetually shaded and wet.
Where to Find Them
Where in the world the Railroad Worm 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.
Millipedes, centipedes, soft-bodied soil insects, and earthworms. As specialized nocturnal predators on the forest floor, these bioluminescent larvae track their prey through leaf litter and damp soil. Upon encountering a millipede or centipede, the larva injects potent paralytic enzymes into the prey's body before using specialized mandibles to consume the liquefied internal tissues. This calculated hunting strategy allows them to safely tackle armored arthropods that are often significantly larger than the larvae themselves.
Larval phase lasts 1 to 2 years; adult female stage lives several weeks to months.
Behavior & Social Structure
This solitary nocturnal hunter spends daylight hidden under bark or inside decaying soil, emerging at night to hunt. Individuals do not form social bonds, establish defended territories, or cooperate in searching for prey. Instead, each beetle operates entirely independently, wandering across the forest floor in search of millipedes, which they track using chemical cues. Both predatory larvae and larviform adult females possess paired luminescent organs that emit greenish-yellow light along the body and a red glow on the head, functioning as aposematic warning signals to potential predators and occasionally aiding in sensory orientation in absolute darkness. Adults interact exclusively for mating, relying on bioluminescent signaling and pheromones.
Reproduction
Oviparous. Females lay clutches of eggs in dark, moist soil under rotting wood after mating, standing guard briefly before dying. Courtship relies heavily on bioluminescent signaling, where neotenic, worm-like females emit glowing yellow and red lights from their bodies to attract winged adult males across the humid forest floor. After successful mating, the female selects a concealed, humid microhabitat beneath decaying logs or within the leaf litter layer. She deposits a clutch of eggs directly into the dark, moist soil and stands guard over them for a short duration until exhausting her remaining energy, after which the eggs hatch into larvae that initiate a 1-to-2-year growth cycle.
Hunting Style
Active nocturnal foraging through leaf litter, ambushing millipedes and paralyzing them with mandibular bites. Moving across the humid forest floor under the cover of darkness, this luminous beetle larva uses chemical senses to track slow-moving invertebrate prey. Upon encountering a millipede, it delivers precise venomous bites through its mandibles to immobilize the armored target before consuming it.
Life in a Group
A group of Railroad Worms is called a Solitary.
Solitary throughout all life stages except during brief chemical mating attractions.
Mating & Courtship
Adult winged males use bipectinate antennae to trace airborne pheromones released by larviform females on the ground.
A Great History
This species has no historical interaction with human civilization beyond its occasional observation by naturalists due to its unique bioluminescent properties and specialized habitat requirements in South American forests.
The India Connection
This bioluminescent beetle is native to the Americas, specifically ranging through parts of South and Central America, and is not found in India.
People & the Railroad Worm
Completely harmless to humans. It does not sting or bite people, though when handled roughly it can exude a foul-tasting fluid from its cuticle as a defensive measure. Their bioluminescence, which resembles the lights of a moving train, makes them a subject of fascination for researchers and nature enthusiasts. They are not considered pests and do not interact with human food or structures. Because they are nocturnal and inhabit dense leaf litter, they are rarely seen by people unless specifically sought out. Their chemical defenses are purely for protection against predators and pose no risk to human health, even if accidental contact occurs during field observations.
Cultural Significance & History
A fundamental subject in biochemical research; its red luciferase enzyme is cloned and used globally in biological research and medical bioimaging. Beyond its immense value in laboratories, this bioluminescent insect has captured the imagination of naturalists and local folklore in South America for its unique dual-colored glowing lights, resembling the illuminated windows of a moving locomotive train at night.
Some Great News
Continues to serve as a cornerstone organism for advanced optogenetics, biological dye development, and cellular imaging techniques.
The Rare Story
The red luciferase enzyme of Phrixothrix hirtus is the only known natural enzyme in land animals that emits red bioluminescence. Scientists cloned its gene to create non-invasive fluorescent tags for tracking cancer cell growth in living mammalian tissue. Unlike typical glowing insects that produce yellow or green light, these unique beetle larvae feature pairs of luminous yellow-green organs along their segmented bodies paired with a single head spot that shines a striking ruby red, earning them their popular railway-inspired moniker. While the female larvae retain their worm-like larval appearance and glowing capabilities throughout their entire lives, the adult males metamorphose into short-lived, non-luminous winged beetles that fly in search of mates by tracking chemical pheromones. These fascinating terrestrial organisms inhabit damp leaf litter and rotting logs, where they use their powerful mandibles to hunt soft-bodied millipedes.
Gallery
5 photos
Railroad WormCaptured by: Mariano OrdanoRailroad WormCaptured by: raul_varellaRailroad WormCaptured by: Norton SantosRailroad WormCaptured by: Thomas FuhrmannRailroad WormCaptured by: Thomas Fuhrmann
Threats & the Fight to Save Them
Major conservation threats include ongoing deforestation, extensive leaf litter disturbance, artificial light pollution disrupting nocturnal signaling, and widespread soil pesticide contamination. Large-scale clearing of subtropical rainforest canopies exposes humid forest floors to severe desiccation, stripping away the thick layers of decomposing leaf litter and decaying logs that the larvae and flightless females require for moisture and shelter. This habitat destruction severely reduces populations of millipedes, their obligate prey. Furthermore, excessive artificial lighting drowns out the bioluminescent red head lanterns and green abdominal glow essential for attracting flying mates and deterring nocturnal predators.
Recent News
In 2023, bioengineers engineered synthetic variants of Phrixothrix red luciferase to enable deeper, higher-resolution infrared imaging of internal organ tissues in live animal models.
Extreme Adaptations & Anatomy
Dual-color bioluminescence powered by luciferase enzymes that convert oxyluciferin into light with near 100% quantum efficiency, allowing tactical lighting in dense leaf litter.
Sounds & Communication
Completely silent; communicates entirely through chemical pheromones and bioluminescent flashes.
Field protocolIf You Meet One
If found in leaf litter, observe without squeezing. Totally harmless; rough handling triggers a harmless defensive foul liquid release.
What people get wrongMyths, Busted
MYTH
The railroad worm is a venomous caterpillar that causes severe stings.
TRUTH
It is a non-stinging beetle larva; it lacks a stinger or dangerous venom, relying on distasteful secretions for defense.
Its Evolutionary Superpower
Dual-Color Bioluminescence: produces true red light (~620 nm) from its head, invisible to most prey, and green light along its flanks.
How It Sleeps
Remains dormant during daylight hours beneath damp leaf litter or rotting bark.
Lookalikes & Misidentification
Firefly Larva vs Railroad Worm: Firefly larvae emit only green/yellow light from posterior abdominal segments, whereas the Railroad Worm possesses glowing red lights on its head alongside green body lanterns.
References & Further Reading
Where the Railroad Worm page comes from. Everything is named rather than linked, search any source by name to read the original.
Compiled from
IUCN Red ListConservation status, population trend, threats
GBIFTaxonomy, range and occurrence records for Phrixothrix hirtus
iNaturalistObservations and look-alike comparisons
Further reading on insects
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 insects, 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 Railroad Worm page is wrong, out of date or misleading, please tell us. It will be checked against the sources and fixed.
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 Railroad Worm.