The dataset contains occurrence data of 36 species and 29 morphospecies of spiders (Araneae) and 41 species and 22 morphospecies of ants (Formicidae) collected from ten sampling points in northern Ghana during Oct-Nov 2022. The total sample size is 288 samples of spiders with 438 mature individuals and 782 samples of ants with 7859 individuals. The dataset contains collection information (locality, habitat, collecting method, time, coordinates, collectors, etc.) and sample information (collection code, count, sex, remarks, etc.). This work was part of the project SustInAfrica and funded by the EU Horizon 2020 Research and Innovation Programme under Grant Agreement 861924.