What Kind of Bug Is This? Common Bug Groups

Fly Identification: Which Fly Is in Your House?

Quick answer

Fly identification by where you see it: fruit flies at the fruit bowl, fungus gnats in potted plants, drain flies by the sink. 10 flies compared.

Updated 2026-09-25 · Sources: UC IPM, Texas A&M Entomology, University of Kentucky Entomology, stevespestcontrol.com

These pages help you narrow a bug down to its group from what you can see. They are not medical advice. Seek medical care promptly for severe symptoms or any sign of an allergic reaction.

Found one? Take a photo to identify it.

Download on the App Store

What are the key facts?

  • Group: Order Diptera (true flies)
  • Body plan: Flies are distinguished from all other insects by having only one functional pair of wings (two wings total, versus four in bees/wasps). Mouthpart type varies by species (e.g., house flies have sponging mouthparts).
  • Size: House flies are less than 3/8 inch (about 9.5 mm) long; size varies widely by species within the order (see crane fly and fruit fly notes below).
  • Bites or stings: Most common house flies cannot bite (sponging mouthparts); some other fly species, such as stable flies, do bite and feed on blood.
  • Where you find them: Fruit flies are common in homes, restaurants, supermarkets, and wherever food is allowed to rot or ferment; they breed in drains, garbage disposals, empty bottles/cans, trash containers, mops, and cleaning rags.

How to tell it is one of the flies

  • Crane fly (often mistaken for a giant mosquito): distinguished from mosquitoes by larger size and by wings that lack the scales found on mosquito wings; it is a true fly with only two functional wings.
  • Crane flies are harmless — many adults lack mouthparts entirely and they do not bite or sting people.
  • Fruit fly (vinegar fly): tiny (~1/8 inch), tan front body with black rear, usually red eyes; found around rotting/fermenting food in kitchens, restaurants, and supermarkets.
  • House flies cannot bite because of their sponging mouthparts, whereas some other flies (e.g., stable flies) do bite.

Often confused with

People most often mix flies up with:

Open the other page and compare its list against the marks above; the differences are usually in the antennae, wings or the way the body is divided.

Bites and stings

Most common house flies cannot bite (sponging mouthparts); some other fly species, such as stable flies, do bite and feed on blood. Seek medical care promptly for severe symptoms or any allergic reaction.

Where they turn up

Fruit flies are common in homes, restaurants, supermarkets, and wherever food is allowed to rot or ferment; they breed in drains, garbage disposals, empty bottles/cans, trash containers, mops, and cleaning rags.

How to photograph it for identification

Get as close as your camera will focus, from directly above, in daylight or a bright lamp. Include the whole body with the legs and antennae in frame; a second shot from the side shows wings and body segments. Put a coin or ruler next to it for scale. For a bite or a bug found on skin or bedding, photograph the bug itself, not the mark. The app names the likely group; use the list above to confirm.

How to tell what kind of flies you have: start with where they are

  • Around the fruit bowl, trash or drains: fruit flies. About 1/8 inch, usually with red eyes, a tan front half and a black rear half; a female lays about 500 eggs and the life cycle can finish in about a week (University of Kentucky).
  • Around potted plants and nearby windows: fungus gnats. 1/16 to 1/8 inch, dark and delicate like tiny mosquitoes, with long legs and antennae longer than the head; many species have a Y-shaped wing vein, and they are weak fliers that stay near plants (UC IPM).
  • On bathroom walls near a sink, shower or floor drain: drain flies (moth flies). Furry bodies, wings held roof-like, weak fliers that crawl on walls; they breed in sewage, dirty bins, bird baths, clogged gutters and drains (Steve's Pest Control).
  • In sunny windows in autumn or in the attic: cluster flies, which gather in compact clusters to overwinter in wall voids, soffits and attics and come indoors as the weather cools (Steve's Pest Control).
  • Around garbage or pet waste, shiny green or blue: blow flies, metallic green or blue, often mixed with copper (UC IPM).
  • Grey, anywhere indoors: house flies, under 3/8 inch, with four dark stripes on the back of the thorax (UC IPM).
  • Smaller swarms outside near compost or manure: little house flies, about two-thirds the size of a house fly, breeding in poultry manure, fermenting grass and compost (UC IPM).
  • A house-fly-sized fly that bites outdoors: stable fly, with a bayonet-like mouthpart sticking out in front of the head; it breeds in moist rotting plant material mixed with manure, such as old grass clippings (UC IPM).
  • Large biting flies near water or livestock: horse flies; see horsefly bites.
  • A long-legged "giant mosquito" on the wall: crane fly, which is harmless (see above) and compared with mosquitoes.

Find where the flies are breeding

UC IPM says eliminating the places where larvae develop is the preferred way to control pest flies, so finding the source matters more than killing adults.

  • Drains and garbage disposals: tape a clear plastic food storage bag over the opening overnight; if flies are breeding inside, adults emerge into the bag (University of Kentucky).
  • Potted plants: push raw potato chunks, cut side down, into the soil to draw out fungus gnat larvae, or stand small squares of yellow sticky trap on skewers in the pots to catch adults (UC IPM). Larvae can leave slime trails on the soil surface like tiny snail trails.
  • Kitchens: fruit flies breed in ripe or rotting produce, drains, disposals, empty bottles and cans, bins, mops and cleaning rags (University of Kentucky).
  • Outdoors: seal garbage in plastic bags, have it collected weekly and wash bins regularly to stop blow flies; remove old grass clippings and turn compost to stop stable flies (UC IPM).

Identify a fly species from a photo

Flies are two-winged insects: the University of Kentucky notes the hind pair of wings is reduced to a small balancing organ shaped like a golf tee, which is the quickest way to rule out bees and wasps. To go further, a photo needs a clear view of the wings (vein pattern and any spots), the eyes and the back of the thorax, ideally from above and the side. Some flies are hard to name even for experts: the NatureSpot gallery marks each species red, amber or green by how easy it is to identify. InsectIdentification.org notes that flies and mosquitoes together number over 20,000 known species in North America. Photograph it and InsectLens identifies it.

FAQ

Do flies bite or sting?

Most common house flies cannot bite (sponging mouthparts); some other fly species, such as stable flies, do bite and feed on blood. Seek medical care promptly for severe symptoms or any sign of an allergic reaction.

What is the quickest way to recognize flies?

Crane fly (often mistaken for a giant mosquito): distinguished from mosquitoes by larger size and by wings that lack the scales found on mosquito wings; it is a true fly with only two functional wings.

How do I tell flies from mosquitoes?

House flies cannot bite because of their sponging mouthparts, whereas some other flies (e.g., stable flies) do bite. The Mosquitoes page lists its own marks.

How do I tell what kind of flies I have?

Start with where they gather: fruit bowl or drain (fruit flies), potted plants (fungus gnats), bathroom walls near drains (drain flies), autumn windows (cluster flies), garbage (blow flies). Then check size and colour against the list on this page.

How can I identify the species of a fly from a photo?

Take a sharp photo from above and from the side showing the wings, eyes and thorax, and run it through an identification app. For hard groups, post it to an expert community or your extension office; NatureSpot rates many species as difficult to identify from photos.

Can you give me a list of different types of flies?

Common flies around homes are house flies, little house flies, fruit flies, fungus gnats, drain flies, cluster flies, blow flies, stable flies, horse flies and crane flies (UC IPM; University of Kentucky; Steve's Pest Control).

What do flies absolutely hate?

None of the university sources used here rank smells or products that repel flies. What they agree on is removing the breeding source: UC IPM calls eliminating larval habitat the preferred method of fly control.

More in What Kind of Bug Is This? Common Bug Groups

Related

See what's really crawling, flying, and buzzing past.

Start with a single photo.

Found one? Take a photo to identify it.

Sources

Compiled by the InsectLens editorial team

Every fact on this page is taken from the sources listed above; numbers and prices are copied from the source, and prices name the guide or auction and its date. Research and drafting were assisted by AI, and each claim was then checked against the cited sources. Checked 2026-09-25. We do not buy, sell or grade items; the app identifies what you photograph and points you to these references.

Help us understand what works

With your permission, we use privacy-limited analytics to measure page use and App Store clicks. We do not load analytics or send events unless you allow it.

Read the Privacy Policy