The short answer
Not βlonelyβ the way people are β but many fish are social animals whose welfare depends on company. Schooling and shoaling species (tetras, rasboras, corydoras, danios) become stressed, shy and unhealthy when kept alone or in tiny groups. Others are naturally solitary or territorial and do best by themselves. The right answer is species-specific, so stock to each fishβs nature.
Social fish need their own kind
For schooling species, a group isnβt a luxury β itβs how they stay safe and calm. Kept singly they hide, lose colour and eat poorly, because their whole behaviour is built around the shoal. If you keep tetras, rasboras, corydoras or danios, keep a proper group so they can behave normally.
Some fish prefer solitude
Not every fish wants company. Bettas are territorial and often do best alone or with carefully chosen tankmates, and several other species are naturally solitary. For these, a single well-kept fish in a properly sized, enriched tank is exactly right β adding company can cause stress or aggression rather than relieving it. Research each species before assuming it needs friends.
Stocking for social needs
Plan your tank around what each species actually needs: full schools for shoaling fish, appropriate solitude for territorial ones, and enough space and cover for everyone. Choosing compatible species is the foundation of a calm tank.
Learn more
For which social fish suit a first tank, see the best beginner fish and our beginner fish guide. For solitary species, read can a betta live with other fish, and for group sizes see how many neon tetras to keep together.