Tylonycteris pachypus is a gregarious bat species with tens of individuals in a colony. The mechanisms by which mother bats recognize their pups and adult bats recognize each other are not clear. We hypothesized that such recognition is achieved by chemical discrimination and performed experiments to test the hypothesis. Results showed that mother bats were much more attracted to the scent from their own pups. For adult bats, females were attracted to the scent from both male and female groupmates but had a higher preference to the scent from female than from male groupmates. Male bats were much more attracted to the scent from male groupmates while showed no preference to the scent from female groupmates. Within a group, both female and male bats had no difference in preference to the scent from the same or opposite sex. These results suggest that mother–pup and groupmate recognition of T. pachypus can be achieved by olfactory cues.