The best way to keep ants off nectar is to place the content of an unopened bottle of blue agave nectar in an airtight jar. Additionally, make sure to wipe off any honey stain or drippings around the jar.