The rare European click beetle, Elater ferrugineus L., develops exclusively in old, hollow deciduous trees. As a result of massive habitat loss caused by modern forestry, it is threatened throughout its entire distribution range and regarded as an indicator species for undamaged natural forests. As E. ferrugineus lives cryptically and its populations are frequently overlooked, we investigated its sex pheromone to develop a reliable detection tool. Pheromone gland extracts of single female E. ferrugineus were examined by using gas chromatography-mass spectrometry (GC-MS). All samples contained 7-methyloctyl 5-methylhexanoate, 7-methyloctyl octanoate, 7-methyloctyl 7-methyloctanoate, and 7-methyloctyl (Z)-4-decenoate in a ratio of approximately 1:1:3:3. Structures of all four esters, which have not been reported as pheromone compounds before, were confirmed by synthesis. A blend of the components was tested in the field and proved to be attractive for E. ferrugineus males, which were found to swarm exclusively during the day. This blend provides a noninvasive and effective monitoring method for this cryptic species, promising future collection records of E. ferrugineus in regions where it exists below the limit of detection by conventional collecting methods.