An efficient and simple methodology for computer-based analysis of nematode swimming behavior in liquid is described. The method requires little to no investment for C. elegans laboratories. The hardware used is standard, and the computer software for the behavioral analysis (CeleST) is an open source one.