How androdioecy (coexistence of hermaphrodites and males) is maintained is still poorly understood. Therefore, sex determination was studied in the androdioecious barnacle Scalpellum scalpellum L. First, 247 cypris larvae from seven broods were investigated for sexual dimorphism in larval morphology and found to be all identical. Second, experiments with cyprids showed that males and hermaphrodites differ distinctly in morphology as soon as 4-5 days after settlement. Third, 14 252 cyprids were allowed to settle on the bottom of their culture cages, and all surviving larvae developed into hermaphrodites and none into dwarf males. Fourth, larvae settled in hermaphrodite receptacles (i.e. future males) were removed at increasing intervals after settlement to study if the male and hermaphrodite sexual expressions are fixed or plastic. All larvae became dwarf males if allowed to stay there for more than 8 h after settlement. But if removed within 3 h after settlement, half of them developed into hermaphrodites. We conclude that an environmental sex determination mechanism operates in S. scalpellum. Together with a 1:1 hermaphrodite/male ratio observed in previously reported experiments offering a free choice of settlement, we suggest that all larvae are potential hermaphrodites, but only 50% can settle in hermaphrodite receptacles and yield males.