There is no official number on how many people are needed for a class-action lawsuit; however, a judge is unlikely to move ahead with certification unless there are at least a few dozen. The more people the better but even a group of 20 could be enough for a class-action lawsuit depending on the case.