In eusocial insect colonies, non‐reproductive workers often perform different tasks. Tasks of an individual worker are shifted depending on various factors, e.g., age and colony demography. Although a vitellogenin (Vg) gene play regulatory roles in both reproductive and non‐reproductive division of labours in a honeybee, it has been shown that the insect Vg underwent multiple gene duplications and sub‐functionalisation, especially in apical ant lineages. The regulatory roles of duplicated Vgs were suggested to change evolutionarily among ants, whereas such roles in phylogenetically basal ants remain unclear. Here, we examined the expression patterns of conventional Vg (CVg), Vg‐like A, Vg‐like B and Vg‐like C, as well as Vg receptor, during the task shift in an age‐dependent manner and under experimental manipulation of colony demography in a primitive ant Diacamma sp. Expressions of CVg and Vg‐like A in a brain were associated with a nursing task. It is suggested that associations of brain expressions of these Vgs with worker tasks were acquired in the basal ant lineage, and that such Vg functions could have sub‐functionalised in the derived ant lineage.