✳ For curious kids, students and teachers

Fruit fly biology: meet Drosophila melanogaster

The common fruit fly is a tiny insect with an enormous place in science. This page explains what a fruit fly is, how it grows, how its body is built, how its genes work, and why researchers have studied it for more than a century. Each section links to a free Drosie's World activity so you can explore it hands-on.

What is a fruit fly?

"Fruit fly" usually means Drosophila melanogaster, a small fly about 2–3 millimetres long. It is also called the vinegar fly, and the one you notice near ripe fruit or a compost bin is often this kind or a close relative. The genus name Drosophila comes from Greek words often translated as "dew-lover". There are many hundreds of Drosophila species, but D. melanogaster is the one most laboratories use.

Do not confuse fruit flies (family Drosophilidae) with the large "fruit flies" that damage crops, which belong to a different family called Tephritidae. When students and scientists talk about "fruit fly research", they almost always mean Drosophila.

Fruit fly facts at a glance

Values are typical for Drosophila melanogaster in a laboratory at about 25°C (77°F). They shift with temperature, food and genetics.

Quick facts about Drosophila melanogaster
Scientific nameDrosophila melanogaster (Diptera, the true flies)
Adult sizeAbout 2–3 mm long; females are a little larger than males
Egg to adultRoughly 9–10 days at about 25°C; slower when cooler and faster when warmer
Life cycleComplete metamorphosis: egg, larva (three stages), pupa, adult
Adult life spanSeveral weeks to about two months in good laboratory conditions
ChromosomesFour pairs (8 in total): the X and Y sex chromosomes plus chromosomes 2, 3 and a very small 4
GenomeSequenced and published in 2000; roughly 14,000 genes
Body partsHead, thorax and abdomen; six legs; two antennae; one pair of wings plus a pair of tiny balancing organs called halteres

Watch each stage in the Life Cycle Adventure or read the fruit fly life cycle activities and lesson page.

Why do scientists use fruit flies?

Fruit flies are not used because they are like people. They are used because they make it practical to ask big biological questions:

  • They are small and inexpensive to keep. Thousands can be raised in a lab using little space.
  • They develop quickly. A new generation takes about ten days at 25°C, so inheritance can be followed across many generations in a short time.
  • They have tools. Researchers have a very large collection of well-described mutant strains and genetic tools, and the genome is thoroughly documented in public databases such as FlyBase.
  • Their genes are related to ours. An early comparison found that a large majority of a set of known human disease genes had recognisable counterparts in the fly (Reiter et al., 2001). Counterparts are not identical copies, and flies are not tiny people, but shared genes let scientists test ideas about how genes work.

Discoveries made with fruit flies

Work on Drosophila has contributed to several Nobel Prizes in Physiology or Medicine, including Thomas Hunt Morgan (1933, the role of chromosomes in heredity), Hermann J. Muller (1946, mutations caused by X-rays), Edward B. Lewis, Christiane Nüsslein-Volhard and Eric F. Wieschaus (1995, genes controlling early embryonic development) and Jeffrey C. Hall, Michael Rosbash and Michael W. Young (2017, molecular mechanisms of the body clock). Read kid-friendly explanations of real studies in the Discovery Library.

Fruit fly anatomy

Like all insects, an adult fruit fly has three body sections:

  • Head: two large compound eyes (each made of roughly 800 tiny lenses called ommatidia), three simple eyes, and two antennae that detect smells.
  • Thorax: the middle section, which carries six legs and the wings. A fruit fly, like other true flies, has just one pair of wings. Behind them are two small knob-like halteres that help it balance in flight.
  • Abdomen: the rear section, with stripes. In males the tip is darker and rounder; in females it is more pointed.

Young fruit fly larvae look completely different: they are legless, worm-like and spend their time eating. The pupa is a hardened case in which the larva's body is rebuilt into the adult. Try the Secret Fly Lab (ages 5–8) to explore fly anatomy under a simulated microscope.

Fruit fly genetics

Genes are instructions for building and running a living body, and they are carried on chromosomes. A fruit fly has four pairs, which makes patterns of inheritance easier to follow than in many animals. In 1910 Thomas Hunt Morgan found a male fly with white eyes instead of the usual red. How that trait was passed to later generations helped show that genes are carried on chromosomes (Morgan, 1910).

Classic fruit fly traits used in teaching include white eyes, curly wings and vestigial (very small) wings. Students can compare these with the typical "wild type" fly and predict how traits are inherited.

Simulated, not real data. The Drosie Genetics Lab and the Climbing Challenge are simulations built for learning. Offspring counts and climbing results are generated by the programs and are not real laboratory measurements. The genetics lab documents which genes and alleles it models in its scientific reference.

Explore fruit flies with free activities

Life Cycle Adventure

Follow a fruit fly from egg to adult, then put the stages in order. Ages 5–8.

Play the game

Life cycle activities and lesson page

Stages, metamorphosis, discussion questions and three classroom activities.

Read the page

Grow Your Own Fruit Fly

A virtual lab: prepare food, set up a culture, observe development and write a lab report.

Open the virtual lab

Secret Fly Lab

Safety Academy, microscope skills and fly anatomy for ages 5–8.

Enter the lab

Drosie Genetics Lab

Breed virtual flies, use Punnett squares and explore chromosomes.

Start breeding

Storybook

Read Drosie, the Fruit Fly online, a gentle introduction for young children.

Read the story

Teaching with these resources? See Teacher Resources or browse all science activities by age.

A note on real fruit flies

Drosie's World does not provide instructions for keeping live animals. If you want to watch real flies, look for a school science supplier or university outreach program and follow your school's policies. Fruit flies near fruit at home are harmless to most people, but food should be covered or refrigerated.

References and further reading

  1. Adams MD, et al. (2000). The genome sequence of Drosophila melanogaster. Science 287(5461):2185–2195. PubMed 10731132.
  2. Reiter LT, et al. (2001). A systematic analysis of human disease-associated gene sequences in Drosophila melanogaster. Genome Research 11(6):1114–1125. PubMed 11381037.
  3. Hales KG, Korey CA, Larracuente AM, Roberts DM (2015). Genetics on the fly: a primer on the Drosophila model system. Genetics 201(3):815–842. PubMed 26564900.
  4. Morgan TH (1910). Sex limited inheritance in Drosophila. Science 32(812):120–122. PubMed 17759620.
  5. The Nobel Prize in Physiology or Medicine: laureate listings for 1933, 1946, 1995 and 2017 at nobelprize.org.
  6. FlyBase, the database of Drosophila genes and genomes: flybase.org.