Immunity and reproduction are physiologically demanding processes, therefore trade-offs are expected between these life history traits. Furthermore, investments in these traits are also known to be affected by factors such as sex, body size, individual condition, seasonal changes and parasite infection. The relationship between immunity and reproduction and the effect of other factors on this relationship were investigated in many species, but there are a small number of studies on these patterns in biparental invertebrates. Lethrus apterus is an iteroparous biparental beetle with predominant female care in respect of collecting and processing food for larvae. Males guard the nest built underground and also their mate. Here we investigate how sex, body size, time within the reproductive season and parasite load may influence the relationship between immunocompetence and reproductive investment in this species. In beetles from a natural population we quantified immune response by measuring the encapsulation response, antimicrobial activity of hemolymph, the investment into reproductive tissues by measuring the size of testis follicles in males and total egg size in females, and parasite load by counting the number of mites on the beetles. We found that the encapsulation response is condition-dependent, as large individuals showed significantly higher encapsulation ability than small ones. Antimicrobial capacity was significantly higher in females than in males. In case of antimicrobial activity there was also a seasonal change in the relationship between immunity and reproductive investment, but only under heavy mite load. Reproductive investment was influenced by the interaction between body size and season (in females) and by body size and season (in males). Furthermore in females the interaction between antimicrobial activity and season indicated that reproductive investment increased with antimicrobial activity early in the reproductive season. By investigating the relationship between immunity and reproductive investment in a natural population of a biparental beetle species, we can conclude that investments into these important life history traits are governed by complex interactions between physiological and environmental factors. Our results are discussed in the context of life history evolution, highlighting the role of the assessed factors in shaping trade-offs themselves (in invertebrates).