Skip to the simulation
Simulation one of five

Segregation without a bigot

Nobody in this model wants to live apart, every household only moves when it is left in a small minority, and the city separates anyway, far more than anybody in it asked for.

Thomas Schelling published it in 1971, the oldest agent based model in the social sciences: two kinds of household, a board, and one rule.

Look at the eight squares around you and count the neighbours who are like you as a share of the neighbours you have: if that share is at least what you asked for, stay; if it is less, move to a vacant square. That is the whole of the model, and the number you ask for is the only thing the reader sets.

Set it to a third and you have said something very mild: I am content anywhere I am not badly outnumbered, and two thirds of my neighbours can be the other kind.

01The board

Each square is a household or a vacancy, and nothing else about a household exists: no income, no price, no landlord, no history, no opinion about anybody. The only thing it can do is stay or move.

Figure one set the demand, then run

The city

Separation, round by round

02What is being measured

The separation index is, for every household, the share of its occupied neighbours that are its own kind, averaged over the whole board.

separation index = average over households of ( like neighbours / occupied neighbours ) A perfectly stirred board sits near the share of the majority kind, because that is what a random neighbour is. A completely separated board sits at one.

The starting board is random, so the index begins near the mixing share and has nowhere to go but up; what matters is how far above the demand it climbs. Ask for a third and the board runs past it and settles somewhere near four fifths, without a single household ever wanting a street that looks like the one it ends up in.

03Why the outcome overshoots the wish

A move is not a private act. A household that leaves a street changes the count for everyone it leaves behind, and some of them now fall under their own threshold and leave too; a household that arrives changes the count for everyone it joins. The pushes do not cancel: they favour the direction of separation, because a move is only ever made towards more of your own kind and never away from it.

The board has a ratchet in it: no force pulls a segregated street back apart, because nobody in this model is made unhappy by having too many neighbours like themselves. Turn the demand up to something genuinely intolerant and you get the same result faster and harder; turn it down towards nothing and the ratchet stops, because nobody moves at all.

Somewhere between the two is a threshold below which the board barely moves and above which it separates almost completely. Find it with the slider; it is lower than most readers expect.

04Why this belongs to SIMEA

This model breaks the habit of reading an outcome back into the people inside it. Look at the finished board and every instinct says the households wanted this, and not one of them holds a preference that looks anything like the city it is living in.

That gap between what an agent wants and what the arrangement of agents produces is the gap SIMEA is built to measure. Here the geometry of a board opens it; in the simulation next door a system that chooses what each agent sees opens it deliberately. The mechanism differs and the lesson does not: individual preference and collective outcome are separate quantities, and reading either one off the other is a mistake that survives because it is comfortable.

05Where the model stops

Almost everything that makes housing housing is missing here, and the omissions are not incidental.

Assumptions and limits

  • No moneyThere is no rent, no price, no wage and no landlord. In a real city the constraint that decides who lives where is usually what they can pay, and discrimination often works through the price rather than through the neighbour count.
  • Two kindsHouseholds come in exactly two kinds and everyone of a kind is identical, a very strong simplification of anything a real division is made of.
  • Movement is freeA dissatisfied household moves instantly to a vacant square at no cost, with no search, no queue, no refusal and no notice period, where real moving is slow and expensive enough to slow this board down a great deal.
  • Nobody is turned awayThe model has no landlord who refuses, no agent who steers, no covenant and no policy. It shows one channel by which separation can arise; it does not show that this channel produced any actual separated city, and the historical record of deliberate exclusion is not in this picture at all.
  • A vacant square is a random squareMy version sends an unhappy household to a vacancy chosen at random, where Schelling's own account moves it to the nearest satisfying spot; the qualitative result is the same and the details of the pattern are not.
  • It is not evidenceThis demonstrates that a mechanism is sufficient to produce an outcome; sufficiency is not the same as having happened, and no number on this page describes any real place.

06Source

The model is Schelling's, and the board here follows the area version in that paper: a grid, two kinds, roughly a third of the squares left vacant, and a household that counts the eight squares around it.

  • The paper that introduced the model, with both a one dimensional line of neighbours and the two dimensional board used here. In the board version a household counts the eight surrounding squares, demands that at least half of its neighbours be of its own kind, and moves to the nearest vacancy that satisfies it. Schelling reports that these mild demands produce clusters in which the great majority of neighbours are alike, and writes that there is no simple correspondence between individual incentive and collective result. Thomas C. Schelling, Dynamic Models of Segregation, The Journal of Mathematical Sociology 1(2), 1971, pages 143 to 186. tandfonline.com/doi/abs/10.1080/0022250X.1971.9989794 Full text read at suz.uzh.ch. Checked 2026 08 22.