---
title: "Fruit Fly Behavior - AP Biology Required Lab Guide"
description: "Review Fruit Fly Behavior for AP Biology with CED-aligned concepts, lab skills, data analysis, and AP exam connections."
canonical: "https://fiveable.me/ap-bio/required-labs/fruit-fly-behavior/study-guide/t4XYRnAN2gY45Gw58PBB"
type: "study-guide"
subject: "AP Biology"
unit: "Required Labs"
lastUpdated: "2026-06-17"
---

# Fruit Fly Behavior - AP Biology Required Lab Guide

## Summary

Review Fruit Fly Behavior for AP Biology with CED-aligned concepts, lab skills, data analysis, and AP exam connections.

## Guide

# Fruit Fly Behavior Lab Guide (AP Biology)

This lab is about how organisms respond to environmental stimuli and what those responses mean for survival. You're not doing genetics here. You're watching fruit flies move, tracking their behavior in response to specific conditions, and then connecting what you observe to bigger ideas about [fitness](/ap-bio/unit-7/natural-selection/study-guide/Nc1t327OihZEnIVHHYtC "fv-autolink"), natural selection, and population success.

## Why This Lab Matters for the AP Exam

Behavior is not just something animals do for fun. On the AP exam, you need to explain how behavioral and physiological responses connect to fitness and evolution. This lab gives you a concrete, hands-on example of that connection. Questions about [taxis](/ap-bio/key-terms/taxis "fv-autolink"), [selective pressure](/ap-bio/key-terms/selective-pressure "fv-autolink"), and cooperative behavior show up in free response and multiple choice, and this lab is where those concepts stop being abstract.

The exam will ask you to interpret data about organism behavior, make claims about fitness, and support those claims with evidence. This lab is practice for exactly that.

## CED Connections

This lab connects to two units and several learning objectives.

**[Topic 8.1](/ap-bio/unit-8/responses-environment/study-guide/RTwUxFq3Kcs28woJXlQX "fv-autolink") - Responses to the Environment**

- **LO 8.1.A**: You explain how behavioral and physiological responses relate to changes in the internal or external environment. When fruit flies move toward or away from a stimulus, that is a direct example of this.
- **EK 8.1.A.1**: Organisms respond to environmental changes through behavioral and physiological mechanisms. Fruit fly movement in response to light or gravity is a textbook example.
- **EK 8.1.A.2**: Organisms exchange information and respond to cues, which changes behavior. You can extend this to think about how chemical or visual signals might influence fly behavior.
- **LO 8.1.B**: You explain how behavioral responses affect fitness and population success.
- **EK 8.1.B.1**: Signaling behaviors can result in differential reproductive success. Behaviors that help flies find food, avoid [predators](/ap-bio/key-terms/predators "fv-autolink"), or locate mates all connect here.
- **EK 8.1.B.2**: Fitness favors behaviors that increase survival and [reproduction](/ap-bio/key-terms/reproduction "fv-autolink"). Cooperative behavior increases individual fitness and population survival.

**Topic 7.2 - Natural Selection**

- **LO 7.2.A**: You describe why [phenotypic variation](/ap-bio/key-terms/phenotypic-variation "fv-autolink") matters. [Variation](/ap-bio/unit-6/mutations/study-guide/WIuGA11Yy2RsVq8JpSnt "fv-autolink") in behavioral responses across individual flies is a form of phenotypic variation that natural selection can act on.
- **EK 7.2.A.1 and A.2**: Natural selection acts on phenotypic variation, and environments apply selective pressures. A fly that responds poorly to a threat has lower fitness than one that responds quickly.
- **EK 7.2.A.3**: Some variations increase or decrease fitness in particular environments. A fly that moves toward light in a safe environment might be at a disadvantage in an environment with light-seeking predators.

## What You Need to Be Able to Do

Here are the concrete skills this lab builds:

- **Design a controlled experiment** to test how fruit flies respond to a specific stimulus (light, gravity, humidity, etc.)
- **Identify variables** including independent, dependent, and controlled variables
- **Quantify behavior** by counting flies in different zones or chambers and calculating percentages or ratios
- **Interpret behavioral data** to determine whether a response is statistically meaningful or within the range of random variation
- **Make a claim** about whether the observed behavior represents a taxis or another type of response
- **Connect behavior to fitness** by explaining how the observed response could increase or decrease [reproductive success](/ap-bio/key-terms/reproductive-success "fv-autolink") in a real environment
- **Use evidence and reasoning** to argue whether a behavior could be subject to natural selection

## Core Concepts

### Taxis and Kinesis

**Taxis** is a directed movement toward or away from a stimulus. If a fly consistently moves toward light, that is positive phototaxis. If it moves away, that is negative phototaxis. The key word is "directed." The organism is orienting itself relative to the stimulus.

**Kinesis** is different. It is a change in the rate or frequency of movement, not a directed response. A fly that just moves faster when it gets too hot is showing kinesis, not taxis. The direction is random, but the speed changes.

For this lab, you are most likely observing taxis, and you need to be able to name it correctly and explain what it means.

### Physiological vs. Behavioral Responses

A **[physiological response](/ap-bio/key-terms/physiological-response "fv-autolink")** is an internal change in the body, like a change in heart rate or [hormone](/ap-bio/unit-4/intro-signal-transduction/study-guide/VAotQCiNsYQzCcmUBt3D "fv-autolink") levels. A **behavioral response** is an observable action, like moving, freezing, or changing posture. Fruit flies show behavioral responses in this lab. Both types of responses can be triggered by environmental cues, and both can affect fitness.

### Selective Pressure and Phenotypic Variation

**Selective pressure** is any environmental factor that affects the survival or reproduction of organisms differently based on their traits. [Temperature](/ap-bio/unit-3/enzyme-catalysis/study-guide/Jg1jljQ8ZHUvcaKprPGy "fv-autolink"), predators, food availability, and light levels can all be selective pressures.

**Phenotypic variation** is the range of observable traits in a population. Not all flies respond to a stimulus the same way. Some might move faster, some might orient more precisely, some might not respond at all. That variation is what natural selection works on.

### Fitness and Reproductive Success

**Fitness** in biology does not mean how strong or fast an organism is. It means how well an organism survives and reproduces in its environment. A behavior has a **[selective advantage](/ap-bio/key-terms/selective-advantage "fv-autolink")** if it increases the organism's chances of surviving long enough to reproduce. **Reproductive success** is the actual outcome: how many offspring an organism produces.

A fly that moves toward food sources has higher fitness in an environment where food is scarce. That same behavior might not matter as much when food is everywhere.

### Adaptations

**[Adaptations](/ap-bio/key-terms/adaptations "fv-autolink")** are traits, including behavioral ones, that have been shaped by natural selection over generations because they increased fitness. Phototaxis in fruit flies is likely an [adaptation](/ap-bio/unit-8/disruptions-ecosystems/study-guide/ra0njykAUxN9gf0swqKV "fv-autolink"). It probably helps flies find food, avoid predators, or locate suitable environments. The behavior exists in the population because flies that had it survived and reproduced more than flies that did not.

### Cooperative Behavior

**Cooperative behavior** is when individuals act in ways that benefit others in the group, sometimes at a cost to themselves. This connects to fitness because cooperation can increase the survival of related individuals, which passes on shared genes. Fruit flies show some cooperative behaviors, especially around food and mating. The AP exam connects this to the idea that natural selection can favor behaviors that help the group, not just the individual.

## How the Lab Works

The core idea is simple: you expose fruit flies to a controlled stimulus and observe how they respond.

A typical setup involves a choice chamber or a tube divided into sections. Flies can move freely between zones that differ in one variable, like light versus dark, or one side exposed to a chemical versus a neutral side. After a set amount of time, you count how many flies are in each zone.

The logic is that if flies are distributing randomly, you would expect roughly equal numbers on each side. If significantly more flies end up on one side, that suggests a directional response to the stimulus. That is your evidence for taxis.

You are not just watching flies wander around. You are testing a hypothesis about whether a specific environmental cue causes a predictable, directional behavioral response. Then you connect that response to what it might mean for the fly's survival in the real world.

The investigation also asks you to think about what would happen over many generations if some flies responded more strongly than others. That is where natural selection enters the picture. If the behavior increases fitness, flies with stronger responses would leave more offspring, and the behavior would become more common in the population over time. That is **[directional selection](/ap-bio/key-terms/directional-selection "fv-autolink")** in action.

## Data and Analysis Moves

### Setting Up Your Variables

- **[Independent variable](/ap-bio/key-terms/independent-variable "fv-autolink")**: the stimulus you are testing (light, gravity, humidity, a chemical, etc.)
- **Dependent variable**: the distribution of flies across zones, usually measured as a count or percentage
- **Controlled variables**: temperature, humidity (if not the IV), fly age, fly sex, time allowed to respond, number of flies used

### Calculating a Preference Index

A simple way to quantify behavior is to calculate the percentage of flies in each zone:

$$\text{Preference Index} = \frac{\text{Number of flies in stimulus zone}}{\text{Total number of flies}} \times 100$$

If 70% of flies end up in the light zone, that is meaningful. If 52% do, that might just be random variation.

### Comparing to Expected Values

If behavior were random, you would expect 50% of flies in each zone (for a two-choice setup). You can compare your observed distribution to this expected 50/50 split. A chi-square test is the standard statistical tool for this, though your teacher will guide you on whether that calculation is required.

The key idea is that you need a way to decide whether your results are actually showing a preference or just noise. Eyeballing it is not enough.

### Graphing Your Data

A bar graph works well here. Put your experimental conditions on the x-axis (light zone vs. dark zone, or trial 1 vs. trial 2) and the percentage of flies on the y-axis. If you run multiple trials, you can calculate a mean and show variation across trials.

[Error bars](/ap-bio/key-terms/error-bars "fv-autolink") representing the range or standard deviation across trials are a good addition. They show whether your results were consistent.

### Connecting Data to Fitness

Once you have your behavioral data, the next move is interpretation. Ask yourself:

- Does this behavior make sense as an adaptation? Why would a fly benefit from moving toward or away from this stimulus?
- What selective pressure might have shaped this behavior over evolutionary time?
- Would a fly that did not show this response be at a disadvantage? How?

This is the claim-evidence-reasoning structure the AP exam loves. Your data is the evidence. The fitness argument is your reasoning.

## Common Mistakes

**Confusing taxis with kinesis.** Taxis is directional. Kinesis is a change in rate or frequency without a specific direction. If flies are just moving more, that is kinesis. If they are consistently moving toward something, that is taxis. The distinction matters on the exam.

**Saying behavior "helps the species survive."** Natural selection acts on individuals, not species. Say the behavior increases the individual's fitness or reproductive success. The population benefits as a result, but that is not why the behavior was selected for.

**Treating all behavioral responses as adaptations.** Not every behavior is an adaptation. Some behaviors are byproducts of other traits, or they might be neutral. To call something an adaptation, you need to argue that it was shaped by natural selection because it increased fitness.

**Ignoring controls.** If you do not have a [control condition](/ap-bio/key-terms/control-condition "fv-autolink") (like flies in a chamber with no stimulus difference), you cannot rule out that flies just prefer one side of the chamber for unrelated reasons.

**Overstating your data.** If 55% of flies went to the light side, do not claim that proves positive phototaxis. You need a large enough difference to make that claim, and you should acknowledge the possibility of random variation.

**Mixing up behavioral and physiological responses.** Movement is behavioral. A change in hormone levels or [metabolic rate](/ap-bio/key-terms/metabolic-rate "fv-autolink") is physiological. Both are responses to environmental cues, but they are different categories. Know which one you are observing.

**Forgetting the fitness connection.** This lab is not just about describing what flies do. The AP exam wants you to explain why it matters. Always connect your behavioral observation back to survival, reproduction, or natural selection.

## Quick Review Checklist

- Taxis is a directed movement toward or away from a stimulus; kinesis is a change in movement rate without direction
- Behavioral responses are observable actions; physiological responses are internal body changes
- Phenotypic variation in behavior gives natural selection something to act on
- A selective advantage means a trait increases survival or reproductive success in a specific environment
- Fitness is about reproductive success, not just survival
- Cooperative behavior can increase individual fitness by improving group survival, especially among related individuals
- Your data analysis should compare observed fly distribution to an expected random distribution, not just describe where flies went
- Always connect behavioral observations to fitness consequences when writing AP responses
