Gobies are small fish, but their territorial nature and bottom-dwelling habits mean they need more horizontal floor space than their body size might suggest. A single goby or a pair can often be housed in a tank as small as ten gallons, but larger species and groups require proportionally more room. Prioritize tanks with a wide footprint over tall, narrow designs, since gobies rarely venture into upper water columns and will stake out territories across the substrate.
For small freshwater species like bumblebee gobies or stiphodon gobies, a 10- to 15-gallon tank is a reasonable starting point for a small group. Larger species such as knight gobies or violet gobies need a minimum of 30 gallons, and some marine gobies that form mated pairs benefit from 20 gallons or more to establish comfortable territories without constant aggression.
Overcrowding is one of the most common mistakes with gobies. Because they are bottom-exclusive, the usable living space in any tank is essentially the substrate footprint rather than the total water volume. A tall 20-gallon tank may actually provide less functional space for gobies than a long, shallow 15-gallon tank. When planning your setup, think in terms of square inches of floor space per fish rather than gallons alone.
Leave room for growth and behavioral expression. Gobies that feel cramped become stressed, which leads to aggression, appetite loss, and susceptibility to disease. A slightly larger tank than the minimum recommendation almost always pays dividends in fish health and keeper satisfaction.