Serger is the best sewing machine for sewing leggings and is also known as the overlock machine. A serger trims the seam and encloses the seam allowance or edge of the fabric inside a thread casing, all in one step for professional-looking results. Make sure you use a good serger, though.