The invention provides a needle bar reciprocating mechanism of a sewing machine, capable of adjusting strokes of the needle bar.