Generally speaking, you will need a tank that is at least 20 gallons for four goldfish. However, if you have larger goldfish, you may need a tank that is 30 gallons or more.