If you are keeping a single dottyback or a mated pair a 20 gallon long is enough space. But if you want more fish then you need at least a 30 gallon tank. An even larger tank is better since these fish are aggressive and territorial.