Use hammer and nail to make holes in top of mason/empty pasta jar Pour about 1/2 cup of apple cider vinegar into the mason/pasta jar. Screw on the lid The gnats are drawn to the vinegar, but once they fly in the jar they are trapped. Gnats!