What Are Glowworms? The Biology Behind the Ceiling
New Zealand glowworms aren't worms and aren't fireflies. What they actually are, how the light works, why hungrier ones glow brighter, and what the silk threads are for.
The lights on the cave ceiling are hungry carnivorous fly larvae, fishing for insects with glowing bait and lines of sticky silk.
That’s the honest description, and almost nothing about the popular name survives it. New Zealand glowworms are not worms. They are not fireflies. The shining beaded chains most people photograph aren’t the animals at all — they’re the traps.
What follows is what the science actually says, drawn from primary research rather than tour brochures, and it’s considerably stranger than the marketing. And if reading this makes you want to stand under a ceiling of them, the classic way to do it is the Waitomo boat tour — availability below.
What a glowworm actually is
The New Zealand glowworm is Arachnocampa luminosa, and its classification runs: order Diptera — true flies — family Keroplatidae, genus Arachnocampa.
It is the larva of a fungus gnat: a small, delicate, mosquito-like fly. Fungus gnats are tiny flies whose larvae typically feed on fungi and decaying matter in damp places. Arachnocampa is the unusual carnivorous member of the group.
Fireflies are beetles — a completely different order. The two lineages diverged hundreds of millions of years ago, and their light evolved independently. That’s convergent evolution, and as we’ll see, the chemistry proves it.
How it got its name
The first written record dates to 1871, from a gold mine near Thames. Early naturalists assumed it was related to the European glowworm beetle, Lampyris noctiluca.
That was wrong, and it took fifteen years to correct. In 1886 the animal was shown to be a gnat larva rather than a beetle, and George Vernon Hudson settled the matter by rearing larvae collected around Wellington’s Botanic Garden and Wilton’s Bush through to the adult fly.
Frederick Skuse formally described the species in 1891, naming it Bolitophila luminosa. In 1924, Frederick Wallace Edwards created the genus Arachnocampa for it, on the basis of adult wing venation and the larvae’s distinctive behaviour. The genus was later moved to the family Keroplatidae.
The name is apt: arachnē is Greek for spider, for the silk; kampē means grub. Luminosa is Latin for shining.
Nine species, two countries
The genus contains nine described species, all endemic to Australia and New Zealand.
A. luminosa is the only New Zealand species, found on both main islands. The Australian species include A. flava in subtropical Queensland rainforest, A. richardsae in New South Wales, and A. tasmaniensis in Tasmanian caves and wet forest. Five further Australian species were described by Claire Baker in 2010.
A. luminosa differs from its Australian relatives in wing venation, in suspending its pupa vertically from a single thread, and — unlike A. flava — in having luminescent female pupae and adults.
The life cycle
Complete metamorphosis: egg, larva, pupa, adult. What’s striking is the imbalance. The larval stage is almost the entire life.
Egg — about 20 days
Spherical, around 0.75 mm, laid directly onto cave wall or bank. A female lays roughly 100 to 130 eggs in clumps of 40 to 50. Eggs do not glow. They hatch after about three weeks at typical Waitomo cave temperatures.
Larva — six to twelve months
This is the glowing stage, and the one you see.
The larva hatches at 3 to 5 mm and begins glowing almost immediately, growing to 30 to 40 mm over its life through about five moults. Duration depends on temperature, humidity and above all food supply: when prey is scarce, development slows and the larva can survive long periods without eating.
Why so long? Because the larva has to accumulate every calorie that will fuel the pupa and the adult. Neither of those stages can feed. In a cold, food-limited cave, that takes months.
Pupa — one to two weeks
The larva suspends itself on a thread and pupates over roughly a day. Pupae glow intermittently, and there’s a sexual difference worth knowing: the male’s glow fades in the days before he emerges, while the female’s intensifies.
The interpretation is mate attraction — a male may be waiting when she emerges. Whether it’s the light, a pheromone, or both that draws him is not settled.
Adult — three or four days, and no mouth
The adult is a fungus gnat that lives about 76 hours if female, up to 96 if male. It flies poorly and stays near where it emerged, which is part of why colonies persist in one spot for generations.
Adults have no functional mouthparts. They cannot eat. Everything they do runs on reserves banked during the larval stage. They mate, the female lays, and both die within days.
So: months of glowing in the dark, to fund a few days of flight and one clutch of eggs.
Other Experiences You Might Enjoy
The biology is best appreciated in person. The Waitomo Glowworm Caves boat tour is the classic viewing, the Ruakuri Cave walk gets you close enough to see individual snares, and black water rafting floats you directly beneath a colony — all a couple of hours from Auckland and easily paired with the Hobbiton Movie Set near Matamata. Below are other highly rated tours and experiences worth adding to your itinerary.
How the light works
The organ
The glow comes from the rear of the larva, produced by the swollen tips of the four Malpighian tubules — the insect equivalent of kidneys. These modified excretory cells are packed with mitochondria.
Behind and beside them sits a mass of air-filled tracheal tubes acting as a reflector, directing light downward onto the fishing lines where it’s useful.
Using a repurposed kidney as a lamp is unique to Arachnocampa.
The chemistry, and why it isn’t a firefly’s
Bioluminescence generally works through a luciferin–luciferase reaction: an enzyme oxidises a small molecule, and the energy comes out as light. It needs ATP, magnesium and oxygen.
The landmark work came from the University of Otago in 2018 — Watkins, Sharpe, Perry and Krause, published in Scientific Reports. They found the glowworm’s luciferase sits in the same protein family as the firefly’s, sharing about 31% sequence identity. But the luciferin — the molecule that actually emits — is built from entirely different ingredients: xanthurenic acid and tyrosine.
This is the convergent evolution point made concrete. Two lineages, separated by hundreds of millions of years, independently recruited related enzymes to burn completely different fuel and make light.
The exact structure of the glowworm luciferin was a proposed candidate awaiting confirmation by chemical synthesis at publication.
The colour
The light peaks at about 487 nanometres — blue-green — measured by Shimomura, Johnson and Haneda in 1966 and confirmed by the Otago team’s reconstituted reaction. The Australian A. flava sits near 484 nm.
It’s cold light: nearly all the energy comes out as photons rather than heat, which is why a ceiling of thousands of them doesn’t warm the cave.
Is the glow controlled?
Yes, and this is genuinely unresolved science.
The light is continuous rather than flashing like a firefly, but the larva regulates intensity and can brighten sharply. A 2016 study found that vibrating larvae produced a seven- to tenfold increase in output.
The control is neural. A single nerve runs from the terminal abdominal ganglion to the light organ. The long-standing model held that light is actively repressed and the brake released in darkness — supported by the odd observation that anaesthetics like carbon dioxide make larvae glow brighter, with the neurotransmitter octopamine implicated in the repression.
But a 2020 study in the Journal of Experimental Biology proposed the opposite: that bioluminescence may be actively switched on by neural activation during the glowing period.
The mechanism isn’t settled. Anatomical work has also failed to find any valve that could throttle oxygen supply to the light organ, which complicates the simpler explanations.
The cave clock
Here’s the finding that surprises people most.
Arachnocampa bioluminescence runs on a circadian rhythm. In forest populations that’s unremarkable — they switch off in daylight. But cave populations living in permanent darkness retain a synchronised roughly 24-hour cycle anyway, with no light cue to set it by.
This was demonstrated in the Tasmanian species, whose deep-cave colonies glow in coordinated daily waves. Larvae detect their neighbours’ light and shift their own cycle to match — mutual entrainment — producing a brighter, better-synchronised collective display that catches more prey than uncoordinated glowing would.
At Waitomo, nearly thirteen years of time-lapse monitoring published in Austral Entomology in 2024 confirmed the same pattern for A. luminosa: consistent daily cycles with the peak drifting seasonally from around 5pm in early spring to about 8pm in summer, plus a longer annual cycle in both numbers and brightness.
One further oddity: the Tasmanian cave species peaks during subjective daytime, the opposite of the night-active forest species. The researchers’ reading is that these animals are fundamentally cave-adapted, and forest living came later.
The fishing lines
This is the part the photographs actually show.
Each larva builds a horizontal mucous tube slung beneath the rock on silk, and lives inside it, able to move along its length. From that tube it hangs vertical silk snares — as many as 70 per larva, though around 30 is more typical — each studded with evenly spaced droplets of sticky mucus, like beads on a thread.
Length depends entirely on air movement. In still cave air, lines run from a few centimetres to 30 or even 50 cm. In bush and on stream banks, where air moves, they’re much shorter — otherwise they tangle.
The glow lures light-seeking flying insects upward into the curtain. Prey sticks, the larva feels it struggling, and hauls the line up by swallowing it. The snares are eaten and recycled, conserving both water and material.
What they eat
Mostly small flying flies — midges above all, plus mayflies, caddisflies, moths and mosquitoes. Bank-dwelling larvae also take crawling invertebrates that blunder in.
At Waitomo specifically, the key prey is a chironomid midge whose aquatic larvae breed in the stream and mud banks inside the cave. That’s the whole engine of the place: stream feeds midge larvae, midges emerge, glowworms eat midges. An in-cave food factory, which is exactly why the colony is so dense there.
Attraction is by light only. Odour plays no part.
The silk is engineered for the cave
A 2019 study in Scientific Reports examined the threads’ biomechanics and found them precisely tuned to cave conditions — around 13 to 15°C and close to 98% humidity.
The threads are only sticky above about 80% relative humidity. Below that, the trap simply stops working. This single fact explains most of what follows about conservation.
More surprising: the lines have very low breaking strength compared with spider silk. The researchers read this as a safety feature — a line snaps before an over-heavy prey item can tear down the whole nest.
The droplets themselves are mostly water and hygroscopic, pulling moisture from the air. Chemical analysis found urea and uric acid from the gut, plus peptides — not the oxalic acid that was long assumed.
They eat each other
Glowworm larvae are territorial and cannibalistic. Intrude on a neighbour’s tube and a fight may follow, with the loser eaten. Adults and pupae that blunder into a neighbour’s lines can go the same way.
This is not incidental — it’s what produces the display. Aggression spaces the larvae out across the ceiling, and that even spacing is exactly what makes a colony look like a star field rather than a clump.
In studies of Waitomo, cannibalism sits among the main causes of larval mortality, alongside parasitic fungus, cave harvestmen, drying out and flooding.
Why glow at all?
For the larva, the answer is settled: prey attraction. A bioluminescent lure over a sticky trap.
For the pupa and adult, the leading explanation is mate attraction, though as noted, whether light or pheromone does the work is open.
Proposed alternatives like warning signalling aren’t well supported. The lure explanation is the consensus.
Where they live
A. luminosa occurs across both main islands wherever a narrow set of conditions is met: limestone caves, disused mine and railway tunnels, damp bush, tree-fern gullies, gorges, shaded stream banks and road cuttings.
The requirements are strict:
- Darkness, or deep shade — otherwise the lure doesn’t work
- Humidity above 90%, ideally near saturation, or the snares stop being sticky and the larva desiccates
- Still air — movement tangles and dries the lines
- Stable cool temperatures, around 13 to 15°C
- A supply of small flying insects, which in practice means water nearby
That last point is why streams matter so much, and why the best displays in the country are in stream caves. See glowworm caves in New Zealand compared.
What harms them
Everything on that list, reversed.
Dry air is the single greatest threat. It desiccates the snares and the animals.
Air movement tangles and dries the lines.
Light makes larvae switch off. Camera flashes and torches do this immediately.
Human breath raises carbon dioxide, which forces ventilation, which risks drying the cave — a genuine management trade-off rather than a simple rule.
Disturbance — touching larvae or their threads, or unfamiliar loud noise. They’re accustomed to the roar of an underground stream but not to engines or shouting.
The 1979 crash
Waitomo has a documented case study, and it’s the reason modern cave management exists.
In March 1975 the solid door at the cave’s upper entrance was replaced with an iron grille, intended to clear built-up carbon dioxide. It worked — and the enhanced through-flow of dry air desiccated the colony. By 1979 the glowworm population had collapsed badly enough that the cave closed.
The event was documented by Pugsley in 1984, building on Aola Richards’ baseline ecological study from the 1950s.
Today the cave runs on an automated door and a sensor network monitoring CO₂, temperature and airflow. Ventilation is promoted when visitors are present or incoming air is humid, and suppressed when outside air is cold and dry. The ceiling is 2,400 ppm CO₂, above which the cave must close — a limit exceeded on average about five times a year across 1998 to 2007.
Which is why your tour has group caps, a photography ban and a silence rule. Those aren’t crowd control. They’re the operating conditions of a functioning colony. More on how this shapes the visit in the boat ride guide.
How the population is doing now
Time-lapse monitoring has run since 2011. The 2024 analysis covering nearly thirteen years, and a 2026 follow-up in Wildlife Research, concluded that under current management the displays remain robust, with no detectable harm attributable to tourism, high summer populations, and signs of a multi-year cycle.
A. luminosa is not assessed by the IUCN and is not classified as nationally threatened in New Zealand — it’s widespread with no evidence of overall decline, though some sources list it as data deficient. Native wildlife is broadly protected under the Wildlife Act 1953.
The concern is local rather than global. Individual tourist caves need careful management; the species as a whole is fine.
What eats them
Despite the sticky defences, glowworms have enemies.
Cave harvestmen are the main predators — long-legged arachnids that can pluck larvae from their nests without getting caught in the threads. Recent taxonomic work identified one Waitomo specialist and gave it a splendid name meaning “light-eater.” Occasionally a clumsy harvestman gets stuck itself.
A parasitoid wasp, Betyla fulva, parasitises the pupal stage — Hudson noted it emerging from shrivelled glowworm pupae as early as 1892.
Parasitic fungi kill larvae in warm humid conditions. Because glowworms live out of the wind, wind-borne spores spread slowly, which limits outbreaks.
And each other, as above.
Myths worth correcting
They’re not worms. Fly larvae.
They’re not fireflies. Fireflies are beetles.
The shining chains aren’t the glowworms. Those are the silk snares. The animal is the pale larva in the tube above, with the light at its tail.
A hungry glowworm glows brighter, not dimmer. This gets stated backwards constantly. Hungrier larvae work harder at attracting prey; well-fed ones dim. The most dazzling ceiling you’ll ever see is, in a real sense, the hungriest.
The light isn’t harmful to look at. It’s faint, cold, blue-green light.
Shining a torch doesn’t kill them — but it does make them switch off, and repeated disturbance stresses them and reduces feeding. That’s the reason for the ban, not immediate mortality.
Photographs don’t show what you’ll see. Long exposures accumulate light your eye can’t. The real display is subtler, and it improves as your eyes adapt.
Titiwai: the Māori name
The Māori name is titiwai, most commonly translated as “lights reflected in water” — titi for shining or starlight, wai for water. Some scientific literature renders it “projected over water.” An alternative name is pūrātoke.
One point of genuine scholarly nuance: the standard Te Aka Māori Dictionary assigns titiwai to the adult fly and pūrātoke to the larva — the reverse of common popular and tourism usage. Both usages are documented, and it’s worth knowing that the tourism convention isn’t the dictionary’s.
Either way the name fits. Titiwai are found in damp places, often above still water, where their lights reflect back.
In the wider tradition
Glowworms appear in Māori accounts as among the first lights of the world. Te Papa’s natural history material records a tradition in which the ancestors of titiwai, Moko-huruhuru and Hine-huruhuru, shone the first soft light into the primordial darkness.
The Waitomo cave owners’ own tradition frames the glowworms as the last lights the siblings of Tāne Mahuta saw before the separation of Ranginui and Papatūānuku brought daylight into the world.
Waitomo itself combines wai (water) and tomo (hole or shaft). In December 1887, the rangatira Tāne Tinorau and surveyor Fred Mace floated into the cave on a flax raft by candlelight and found the Glowworm Grotto — though Tinorau had shown the stream entrance to surveyors as early as 1884. He and his wife Huti opened the cave to paying visitors in 1889. Government administration followed in 1905, and the cave and land were returned to their descendants in 1989.
Frequently asked questions
Are glowworms actually worms? No. They’re the larvae of a fungus gnat — a small fly. “Glowworm” is a loose English label that stuck.
Are glowworms the same as fireflies? No. Fireflies are beetles; glowworms are flies. Their bioluminescence evolved completely independently, and the chemistry differs.
How do glowworms glow? A luciferin–luciferase reaction in a light organ made from the modified tips of the Malpighian tubules — the insect kidney. The enzyme is related to the firefly’s, but the light-emitting molecule is entirely different.
Why do glowworms glow? To lure flying insects into their sticky silk snares. It’s a fishing lure.
Do hungry glowworms glow brighter? Yes. Hungrier larvae glow more brightly to attract more prey. This is frequently reported backwards.
How long do glowworms live? Six to twelve months as a larva, one to two weeks as a pupa, and only three or four days as an adult — which cannot feed at all.
What are the hanging threads? Silk fishing lines beaded with sticky mucus, up to 70 per larva, hanging as long as 30–50 cm in still cave air.
What do glowworms eat? Small flying insects, mostly midges. At Waitomo the main prey is a midge that breeds in the cave stream.
Are glowworms endangered? Not nationally. The species is widespread across both islands with no evidence of overall decline. Individual tourist caves require careful management.
What is titiwai? The Māori name for the glowworm, usually translated as “lights reflected in water.” Note that the standard dictionary applies it to the adult fly rather than the larva.
Book Your Waitomo Caves Experience
Join 5,590+ guests who've rated this tour 4.5/5. Glide by boat under thousands of glowworms in a cathedral cave — one of New Zealand's most unforgettable experiences.
Check Availability & Book