The box says it works for flies, but in our yard flies seem to complete ignore it.  It kills moths (hmm, moths are attracted to light, who knew?)  But our issue is backyard flies (both tiny ones and middle-size) from god-knows-where and they seem to ignore this device, day or night.