A linear motor device comprising: a linear motor; and a controller that applies pressure to a workpiece by moving a needle provided in the linear motor, characterized in that the controller includes a speed-change position-setting unit that calculates a deceleration start position, which is a position where a movement speed of the needle starts to be reduced from a first speed to a second speed, based on a distance, which has been stored in the speed change position-setting unit in advance, required to reduce the movement speed of the needle from the first speed to the second speed which is lower than the first speed and at which impact pressure applied to the workpiece when the needle comes into contact with the workpiece is equal to or lower than a predetermined pressure and based on a final position of the needle where the workpiece starts to be pressurized, the final position being determined when it is determined that a current value that flows in the linear motor is equal to or larger than a current limit value, and a position determination unit that drives the needle of the linear motor at the first speed when the needle is moved from a predetermined position toward the final position, and moves the needle at the second speed when the needle reaches the deceleration start position. a linear motor; and a controller that applies pressure to a workpiece by moving a needle provided in the linear motor, characterized in that the controller includes a speed-change position-setting unit that calculates a deceleration start position, which is a position where a movement speed of the needle starts to be reduced from a first speed to a second speed, based on a distance, which has been stored in the speed change position-setting unit in advance, required to reduce the movement speed of the needle from the first speed to the second speed which is lower than the first speed and at which impact pressure applied to the workpiece when the needle comes into contact with the workpiece is equal to or lower than a predetermined pressure and based on a final position of the needle where the workpiece starts to be pressurized, the final position being determined when it is determined that a current value that flows in the linear motor is equal to or larger than a current limit value, and a position determination unit that drives the needle of the linear motor at the first speed when the needle is moved from a predetermined position toward the final position, and moves the needle at the second speed when the needle reaches the deceleration start position. a speed-change position-setting unit that calculates a deceleration start position, which is a position where a movement speed of the needle starts to be reduced from a first speed to a second speed, based on a distance, which has been stored in the speed change position-setting unit in advance, required to reduce the movement speed of the needle from the first speed to the second speed which is lower than the first speed and at which impact pressure applied to the workpiece when the needle comes into contact with the workpiece is equal to or lower than a predetermined pressure and based on a final position of the needle where the workpiece starts to be pressurized, the final position being determined when it is determined that a current value that flows in the linear motor is equal to or larger than a current limit value, and a position determination unit that drives the needle of the linear motor at the first speed when the needle is moved from a predetermined position toward the final position, and moves the needle at the second speed when the needle reaches the deceleration start position.