Background Marine organisms with sessile adults commonly possess motile larval stages that make settlement decisions based on integrating environmental sensory cues. Phototaxis, the movement toward or away from light, is a common behavioral characteristic of aquatic and marine metazoan larvae, as well as of algae, protists, and fungi. In cnidarians, behavioral genomic investigations of motile planulae larvae have been conducted in anthozoans (corals and sea anemones) and scyphozoans (true jellyfish), but such studies are presently lacking in hydrozoans. Here, we examined the behavioral genomics of phototaxis in planulae of the hydrozoan Hydractinia symbiolongicarpus. Results A behavioral phototaxis study of day 3 planulae indicated preferential phototaxis to green (523 nm) and blue (470 nm) wavelengths of light, but not red (625 nm) wavelengths. A developmental transcriptome study where planula larvae were collected from four developmental time points for RNA-seq revealed that many genes critical to the physiology and development of ciliary photosensory systems are dynamically expressed in planula development and correspond to the expression of phototactic behavior. Microscopical investigations using immunohistochemistry and in situ hybridization demonstrated that several transcripts with predicted function in photoreceptors, including cnidops class opsin, CNG ion channel, and CRX-like transcription factor, localize to ciliated bipolar sensory neurons of the aboral sensory neural plexus, which is associated with the direction of phototaxis and the site of settlement. Conclusions The phototactic preference displayed by planulae is consistent with the shallow sandy marine habitats they experience in nature. Our genomic investigations add further evidence of similarities between cnidops-mediated photoreceptors of hydrozoans and other cnidarians and ciliary photoreceptors as found in the eyes of humans and other bilaterians, suggesting aspects of their shared evolutionary history.