Ants in the yard can be an inconvenience, but they can also be a hazard, not only to the enjoyment of the yard, but the home as well. The very best way to get rid of ants in your yard is to use something that can attract them to bait. The queen is the key to permanent destruction of the ant population. Without killing the queen ant, the workers can simply be replaced. While the queen is often well protected, using a poison is the quickest and surest way to bypass that protection. The ants simply do not expect a poison to cause death.
Determine where the ants are coming from. Some ants build larger mounds that are unmistakable. Others may actually live inside your home and venture outside. Still others may live underground without leaving mounds.
Make a note of any ant trails and where they are in your yard. This can be done by simply making a mental note, if the yard is small enough and there are not many trails. This can also be done by making a map of the yard.
Mix sugar and boric acid together. The best mixture is a 1-to-1 ratio of sugar to boric acid powder. Use gloves when mixing together.
Place a little bit of this mixture into a small container, such as the lid to a milk jug or 2-liter bottle. This should provide enough material to kill an entire colony of ants.
Drip water onto the ant bait mixture until it becomes the consistency of a gel or thick liquid medicine. This helps keep the solution in place once it is delivered to the ant population.
Take the solution outside and place it around ant trails or mounds. The scent of the sugar should be enough to make them eventually take the bait and deliver it to the queen, where the boric acid will kill her and the rest of the ants.