Counterbalancing is a way of designing an experiment in which the same people try every condition, but different people get the conditions in different orders. Each condition ends up coming early for some participants and late for others.1Research Methods in Psychology. What Is Counterbalancing in Psychology: Types & Uses So whatever difference shows up between conditions can’t be blamed on which one came first.2Research Methods in Psychology. What Is Counterbalancing in Psychology: Types & Uses It balances order effects across the group rather than erasing them, which is why researchers treat it as a safeguard, not a guarantee.3Manuel B. Garcia. When Is a Within-Subjects Design Inappropriate?
The Problem Counterbalancing Solves
In many psychology experiments, each participant takes part in every condition. This is called a within-subjects design. Each person is compared with themselves, which removes differences between people from the comparison. The catch is that someone always does one condition before the other, and the earlier one can leave a mark.
Those marks are called order effects, and they come in a few kinds. Practice effects happen when people do a task better in later conditions simply because they’ve had a chance to practice it.4Research Methods in Psychology. Experimental Research If a treatment comes later, better scores might come from practice rather than the treatment.5Statsig. What are order effects in experiments? Definition and examples Fatigue effects work the other way: people get tired or bored and perform worse in later conditions.4Research Methods in Psychology. Experimental Research Being tested in one condition can also change how people see or interpret the task in the next, which is called a context or contrast effect.4Research Methods in Psychology. Experimental Research Psychologists group all of these as carryover effects: effects of being tested in one condition on behavior in later conditions.4Research Methods in Psychology. Experimental Research
The classic textbook example is a study in which participants read about an attractive defendant, then an unattractive one, and rate guilt for each. By the second case they may be tired, practiced, or comparing against the first. Any harsher rating of the second defendant could come from its position rather than the defendant’s looks.
If one condition always comes first, order becomes a confounding variable: a hidden second difference between conditions. You then can’t tell whether the condition or its position caused the result. Because carryover from one condition to the next is common, counterbalancing is considered an essential part of experimental design.6PubMed. Counterbalancing for serial order carryover effects in experimental condition orders
How Counterbalancing Works
The researcher has an equal or similar number of participants complete each possible order of conditions.1Research Methods in Psychology. What Is Counterbalancing in Psychology: Types & Uses In the defendant study, the attractive condition comes first for some participants and second for others, and the same goes for the unattractive one.2Research Methods in Psychology. What Is Counterbalancing in Psychology: Types & Uses
With two conditions, A and B, the steps are simple. Recruit participants and split them into two groups. Group 1 does A then B; group 2 does B then A. When you average across groups, practice adds the same amount to A and B, so it cancels out of the comparison.
This differs from random assignment to groups. Random assignment puts different people in different conditions, while counterbalancing keeps everyone in every condition and varies only the order. Researchers often combine the two by randomly deciding which order each person gets.
Equal group sizes matter because the method works by spreading order effects evenly. If 20 people do A then B and only 5 do B then A, practice would help B in most of the data and would not cancel. Researchers therefore aim for equal or near-equal numbers per order, which is why sample sizes are often chosen as multiples of the number of orders. One extra person in one order usually matters little, but large imbalances undermine the point.
Counterbalancing has a second job: it makes carryover effects detectable if they exist.2Research Methods in Psychology. What Is Counterbalancing in Psychology: Types & Uses Researchers can compare results from the group that went A-first with the group that went B-first. If the two groups disagree sharply, that’s a warning that order mattered.
If both groups show the same A versus B difference, even though their raw scores differ somewhat, order is probably not distorting the finding. If the difference is large in one group and small or reversed in the other, the simple average is misleading. The researcher may then report the orders separately or look at the first condition only, which behaves like a between-groups comparison.
Complete Counterbalancing
Complete counterbalancing is considered the best method: an equal number of participants complete every possible order.7Research Methods in Psychology. Experimental Research With two conditions, half go A then B and half go B then A.7Research Methods in Psychology. Experimental Research With three conditions there are six orders: ABC, ACB, BAC, BCA, CAB and CBA.7Research Methods in Psychology. Experimental Research Four conditions give 24 orders and five give 120.7Research Methods in Psychology. Experimental Research Five conditions would need at least 120 people just to fill each order once.
The numbers explode because the count of orders is the number of conditions multiplied down: 3×2×1, then 4×3×2×1. Most labs stop using complete counterbalancing beyond three or four conditions.
To count orders for your own study, imagine filling the first position with any of the conditions, then the second with any that remain, and so on. For three conditions that gives 3×2×1. With 30 participants and six orders, that’s five people per order. The same sample could not cover 24 orders evenly. Complete counterbalancing is the right call with two or three conditions and a decent sample size, or when order effects are expected to be strong.
Partial Counterbalancing and the Latin Square
Partial counterbalancing uses only some of the possible orders, chosen so the important balance is kept. The most common tool is a Latin square, a grid where each condition appears once in each row and once in each position. With four conditions you need only four orders instead of 24.
Here is a four-condition square. Row 1: A B C D. Row 2: B C D A. Row 3: C D A B. Row 4: D A B C. Each letter sits in each position exactly once. This simple version has a weakness, though: A is always followed by B, B by C, and so on.
With an even number of conditions, a Latin square can be built so each condition is preceded by a different condition in every row.8Journal of the American Statistical Association. Complete Counterbalancing of Immediate Sequential Effects in a Latin Square Design That means no condition always follows the same other one, which balances the effect of the immediately preceding condition.8Journal of the American Statistical Association. Complete Counterbalancing of Immediate Sequential Effects in a Latin Square Design This is called a balanced Latin square: its rows are rearranged so every condition follows every other once. Latin squares can also balance condition order and which stimulus materials go with each condition at the same time.9PubMed. A method for simultaneously counterbalancing condition order and assignment of stimulus materials to conditions
The balanced version needs an even number of conditions, such as four or six, because the construction works out neatly only then. With an odd number, such as five, the usual fix is to use two squares, one and its mirror image, doubling the number of orders to keep the balance.
The simplest way to build a plain square is to write the conditions in a first row, then shift each following row one place, wrapping the first item to the end. Each participant is assigned to one row, with equal numbers per row. With four rows and, say, 24 participants, six people take each order, and every condition appears in every position equally often. The researcher records which row each participant received so order can be checked in the analysis.
The price is completeness. Partial counterbalancing balances positions, not every full sequence, so effects from two steps back may remain unbalanced. It’s a trade-off between practicality and completeness.
ABBA and Randomized Counterbalancing
In ABBA counterbalancing, each participant gets A, B, B, A, or B, A, A, B.10Simply Psychology. Within-Subjects Design Both conditions get the same average position for that person, which cancels a steady practice effect.10Simply Psychology. Within-Subjects Design In a reaction-time study, a participant might do condition A, then B, then B again, then A, with several trials in each block. A sits in positions 1 and 4 and B in positions 2 and 3, so each averages position 2.5. The researcher combines the two A blocks and the two B blocks, and the practice gain largely cancels within that one person. That makes ABBA useful when only a small number of participants is available.
ABBA only cancels effects that grow at a steady rate. If practice gains are big early and level off, it no longer balances. Participants may also notice the pattern and anticipate the next condition, and it needs a task people can repeat without it losing meaning.
Some studies assign each person’s order at random rather than fixing it ahead of time. In one crossover trial with breast cancer survivors, two exercise sessions were counterbalanced using block randomization to control for learning and practice effects on thinking tasks.11PubMed Central. Acute aerobic exercise effects on cognitive function in breast cancer survivors: a randomized crossover trial Randomizing in small blocks, four people at a time in that trial, keeps the numbers in each order close to equal.11PubMed Central. Acute aerobic exercise effects on cognitive function in breast cancer survivors: a randomized crossover trial With large samples, random orders usually average out on their own.
In experiment software such as PsychoPy, researchers create a separate order file for each group, for example faces then houses for one group and houses then faces for the other.12PsychoPy. Blocks of trials and counterbalancing The researcher can then choose each participant’s group at the start of the session.12PsychoPy. Blocks of trials and counterbalancing
What Counterbalancing Can’t Fix
Counterbalancing assumes carryover effects are the same in both directions and cancel out, which often can’t be checked in advance.13arXiv. Causal Inference in Counterbalanced Within-Subjects Designs Sometimes one order, such as treatment then control, creates a reaction that the other order doesn’t. This is called differential carryover.14Portland State University. Precautions with Within-Subjects Experimental Designs The effects then don’t cancel, and researchers can spot it when results differ depending on order.14Portland State University. Precautions with Within-Subjects Experimental Designs
Suppose a treatment is given first and then a control. The person may still feel treatment effects during the control condition, making the control look better than it should. In the reverse order, someone who had the control first has nothing to carry into the treatment, so the treatment looks as it truly is. Averaging the two orders mixes a contaminated control with a clean one, so the difference is not purely the treatment’s effect. Randomizing and blinding don’t fix this either, because neither reverses changes caused by an earlier treatment.15Manuel B. Garcia. When Is a Crossover Trial Inappropriate?
Researchers have several options. Fixes include checking for order effects, adding rest or washout periods between conditions, and adjusting for participant characteristics.13arXiv. Causal Inference in Counterbalanced Within-Subjects Designs Sometimes the answer is to give each condition to different people instead.13arXiv. Causal Inference in Counterbalanced Within-Subjects Designs
To decide whether separate groups are the better design, ask whether the first condition teaches or changes something lasting, and whether a rest period could fully reset people. If not, use different people per condition.
Where Counterbalancing Is Used
Cognitive experiments, like comparing reactions to faces and houses, routinely counterbalance block order.12PsychoPy. Blocks of trials and counterbalancing Clinical crossover trials, where each patient tries two treatments, assign treatment sequences to balance order.15Manuel B. Garcia. When Is a Crossover Trial Inappropriate?
The idea shows up in everyday settings too. Surveys shuffle question order across respondents because earlier questions can shape how people read later ones, such as asking about overall happiness before or after asking about a recent relationship problem. Presenting questions in different orders and comparing the answers handles this, and if answers differ by order, that itself is a finding about how people interpret questions.
Taste tests work the same way. In a cola comparison, the first sip may be judged more favorably because the palate is fresh, or the second may seem sweeter or less sweet by contrast. Organizers pour the two drinks in opposite orders for different tasters so neither brand always gets the first position.
When reading a study, look in the methods for phrases like “order was counterbalanced,” and check whether the authors tested for order differences. Be more cautious if the conditions could cause lasting change.

