Tüylüm
Blog › Fish › Behavior
BEHAVIOR Fish

Why do shoaling fish live in groups? How many neon tetras, rasboras and barbs do you need?

7 min read · Last checked: October 26, 2026 · Sources: RSPCA, OATA, Animals (scientific journal)
Harlequin rasboras swimming together in a planted aquarium.
Harlequin rasboras swimming together in a planted aquarium. Photo: Juan R. Lascorz · CC BY-SA 3.0 · Wikimedia Commons

When you see neon tetras at the store, picking up two and taking them home can seem like an easy decision. But tetras are shoaling fish. According to the RSPCA, shoaling fish should be kept in groups of at least six, or they may become stressed. In a larger group, they're more relaxed and come out of hiding more readily. In this article we explain, with sources, why fish live in shoals, how many are enough in an aquarium and how to set up a tank that suits a shoal.

IN SHORT
  • Who shoals: According to the RSPCA, danios, tetras, rainbowfish, rasboras and many catfish are shoaling fish.
  • How many: The RSPCA says six or more; for tetras, rasboras and barbs, OATA says at least five, adding that "more is better."
  • Too few: According to OATA, shoaling fish kept alone or in groups that are too small often become stressed.
  • A bonus with barbs: According to OATA, keeping barbs in larger groups also reduces their fin nipping.
  • Not every fish wants a shoal: According to the RSPCA, livebearers such as guppies, platies, mollies and swordtails don't need a shoal of their own kind.

What does swimming in a shoal do for a fish?

Why do fish swim together? According to a review published in the journal Animals in 2024, the benefits scientists have proposed include: safety in numbers, confusing predators, running into predators less often, keeping watch for predators together, finding mates and food, and using less energy.

According to the same review, especially in open water with few places to hide, fish tend to line up at regular spacing and stay close to one another, which makes them less likely to be attacked by predators. There's also an "oddity effect": individuals that look different from the rest of the group are more likely to be singled out by predators.

How do fish swim so close together without colliding? This is where the lateral line comes in. According to the review, this sense organ running along the fish's body detects water movement within about one to two body lengths, and fish in a school usually swim closer than that to their neighbors. That's what lets them make nearly instant changes in direction and speed together.

A shoal of cardinal tetras swimming together in front of aquatic plants.
A shoal of cardinal tetras swimming together in front of aquatic plants. Photo: Tkinias at English Wikipedia · public domain · Wikimedia Commons

How many fish is enough?

Our sources give similar numbers for shoaling fish, with small differences. The RSPCA recommends six or more; OATA says at least five and adds that "more is better." To meet both recommendations, you can aim for six or more. But the number has to be considered together with the size of the tank:

Fish groupSmallest groupSmallest tank, according to OATA
Tetras (including neon tetras)At least 5 (OATA); 6 or more (RSPCA)45 liters (about 12 gallons) for a small shoal of a smaller species; 80 liters (about 21 gallons) for species 5 cm (2 in) and over
RasborasAt least 5 (OATA); 6 or more (RSPCA)45 liters (about 12 gallons) for the smallest species; 60 liters (about 16 gallons) for species 5 cm (2 in) and over
BarbsAt least 5 (OATA)60 liters (about 16 gallons) for a small group of species around 8 cm (3 in); 400 liters (about 106 gallons) for large species such as tinfoil barbs
Danios6 or more (RSPCA)Ask your retailer, depending on the species

OATA recommends asking your retailer, before you buy, whether your tank is suitable for the number of fish you want. To calculate your tank's volume and get a rough guide to stocking: setting up your first aquarium.

What happens when there are too few?

OATA's care sheets for tetras, rasboras and barbs all repeat the same warning: these fish, kept alone or in groups that are too small, often become stressed. The RSPCA describes the other side of the coin: shoaling fish kept in groups are more relaxed and come out of hiding more readily. So in a big enough shoal, you're more likely to see your fish swimming out in the open rather than hiding.

With barbs, the group has another benefit. According to OATA, some barb species are notorious for nipping other fishes' fins, and keeping them in larger groups reduces this behavior. But according to OATA, these barbs still shouldn't share a tank with slow-swimming, timid or long-finned fish, such as guppies. For guppies: guppy care.

Talk to your vet

OATA recommends that fishkeepers keep an eye out for changes such as hiding more than normal, changes in aggression, or differences in swimming, breathing or appetite. If you notice them, test the water first; if you're still worried, talk to a vet who treats fish without delay.

Not every fish is a shoaling fish

The shoal rule doesn't apply to every fish. Before you buy, find out what kind of company your species needs:

Setting up a tank for a shoal

Shoaling fish want both open swimming space and a corner to hide in. Our sources recommend:

Frequently asked questions

Aren't two neon tetras enough?

No. According to OATA, tetras are shoaling fish and should be kept in groups of at least five; the RSPCA recommends six or more. According to OATA, tetras kept alone or in groups that are too small often become stressed.

Can I add more fish to my shoal later?

You can; but according to OATA you should increase the number of fish slowly, because the bacteria in the filter need time to catch up with the extra waste. Before you add any, make sure ammonia and nitrite are at zero, and let the new fish adjust to the tank's temperature in their bag.

Do guppies need a shoal too?

According to the RSPCA, livebearers like guppies don't need to be kept in shoals of their own kind. That doesn't mean a guppy will be happy alone; we cover how many guppies to keep, and in what male-to-female ratio, in a separate article: guppy care.

Keep track of your pet's care in TüylümLog vet visits, vaccine and medication dates, and we'll remind you when it's time. Share it all with your family in Home.

This article is for general information and is not a substitute for diagnosis or treatment. Ask your vet about any decision for your pet.

Sources

By Tüylüm · Published and last checked: October 26, 2026. Spotted a mistake? Write to [email protected] and we'll fix it right away. Photos are from Wikimedia Commons, used under the license shown below each photo.

You might also like

SPECIES GUIDEFish
Goldfish and koi in a garden pond: depth, winter, predators and child safetyA garden pond can be a great home for fish, as long as it's deep enough, filtered and mature. Which fish are suitable, where to put the pond, ice and feeding in winter, keeping herons away, and safety for children.8 min read · Last checked: October 26, 2026Read →
CAREFish
How does an aquarium filter work? Three types of filtration, filter types and a maintenance scheduleA filter is both your aquarium's vacuum cleaner and the home of its beneficial bacteria. What mechanical, biological and chemical filtration mean, what each type of filter is for, why it should never be switched off, and what to check when.8 min read · Last checked: October 28, 2026Read →
CAREFish
Algae in the aquarium: why does it grow, and are algae eaters the answer?That green film on the glass is usually a sign of something: too much light, sunlight or nutrients building up in the water. What feeds algae, the steps to restore the balance, and what algae-eating fish really need.8 min read · Last checked: October 28, 2026Read →

All articles about fish →