Zinc(ii) and zirconium(iv) metal-organic frameworks show uptake and slow release of the ant alarm pheromones 3-octanone and 4-methyl-3-heptanone. Inclusion of N-propyl groups on the MOFs allows for enhanced uptake and release over several months. In preliminary field trials, leaf cutting ants show normal behavioural responses to the released pheromones.