There really is no maximum size. It depends on what your fish is comfortable with. Some freak out in more than a gallon. Others freak out in less than 5. My girls would whinge if they were in less than their 16 gallon (I'm upgrading them to 23 gallons soon).