The glowworms of New Zealand and Australia are bioluminescent fly larvae that generate light to attract prey into their webs. Some species inhabit the constant darkness of caves as well as the dim, natural photophase of rain-forests. Given the diversity of light regimens experienced by glowworms in their natural environment, true circadian rhythmicity of light output could be present. Consequently the light emission characteristics of the Australian subtropical species Arachnocampa flava, both in their natural rainforest habitat and in artificial conditions in the laboratory, were established. Larvae were taken from rainforest and kept alive in individual containers. When placed in constant darkness (DD) in the laboratory they maintained free-running, cyclical light output for at least 28 days, indicating that light output is regulated by an endogenous rhythm. The characteristics of the light emission changed in DD: individuals showed an increase in the time spent glowing per day and a reduction in the maximum light output. Most individuals show a free-running period greater than 24 h. Manipulation of the photophase and exposure to skeleton photoperiods showed that light acts as both a masking and an entraining agent and suggests that the underlying circadian rhythm is sinusoidal in the absence of light-based masking. Manipulation of thermoperiod in DD showed that temperature cycles are an alternative entraining agent. Exposure to a period of daily feeding in DD failed to entrain the rhythm in the laboratory. The endogenous regulation of luminescence poses questions about periodicity and synchronization of bioluminescence in cave glowworms.