For this DIY fruit fly trap, sweet apple cider vinegar (ACV) is more effective than white vinegar. Fruit flies can't resist the scent of vinegar, and they won't be able to exit once they're inside.