I keep them in pairs in 10 gallon tanks with no problems.But I have always heard the more the better with them.I don't think I would keep one as a single,especially in a 5g.They do better in a established,stable tank,and that can be difficult to do in 5 gallons.