How to Get Fish to School Together in Your Aquarium
Understanding Why Fish Spread Out
Boids fish only flock when they can sense each other. If your tank looks empty and every fish drifts alone, the issue is almost always spacing or tank shape. Fish need to be within each other's perception range for Separation, Alignment, and Cohesion to kick in, so a long, thin channel or a tank with lots of internal walls breaks the flock into isolated pockets.
Building a Tank That Encourages Schooling
1. Make the water volume compact and open. A roughly cubic or short rectangular pool keeps fish inside each other's perception radius far more reliably than a long canal.
2. Remove interior obstacles. Coral, kelp, and fence-post dividers split sightlines and scatter the flock. Keep decorations to the edges.
3. Stock enough fish of the same type. A handful of identical fish will visibly align and move as one body; mixing species can still work but the group reads less cleanly.
4. Give them room to turn. Cohesion pulls fish toward the group's center of mass, so a tank with hard corners causes the school to bunch and stall against walls.
Observing the Result
Once stocked, watch for the tell-tale signs: fish will start matching each other's heading and drifting as a loose cloud rather than a scatter of individuals. If they still spread out, shrink the tank footprint or add more of the same fish before changing anything else.