A head device for mounting a dispensing tip, which is a head device to which a dispensing tip configured to suck liquid containing an object and discharge the sucked liquid is mounted, comprising: a piston member; a first shaft member engaging with the piston member to move the piston member in an up-down direction; a tubular rod including a tubular space having a cylinder space in which the piston member is housed to move in the up-down direction, and including, at a lower end thereof, a tip mounting portion into which a base end portion of the dispensing tip is fitted; a first frame equipped with the first shaft member and the tubular rod; a second shaft member engaging with the first frame to move the first frame in the up-down direction; a second frame equipped with the second shaft member, and including a guide portion configured to guide movement of the tubular rod in the up-down direction in association with the movement of the first frame in the up-down direction; and a shaft controller configured to control operation of the first and second shaft members (10,30), wherein the shaft controller is configured to execute, in a state in which the dispensing tip is mounted to the tip mounting portion, a first control of controlling the first shaft member such that the dispensing tip sucks and discharges the liquid by the movement of the piston member in the up-down direction, and a second control of controlling the second shaft member such that the guide portion and the base end portion of the dispensing tip come into contact with each other by upward movement of the first frame to detach the dispensing tip from the tip mounting portion. a piston member; a first shaft member engaging with the piston member to move the piston member in an up-down direction; a tubular rod including a tubular space having a cylinder space in which the piston member is housed to move in the up-down direction, and including, at a lower end thereof, a tip mounting portion into which a base end portion of the dispensing tip is fitted; a first frame equipped with the first shaft member and the tubular rod; a second shaft member engaging with the first frame to move the first frame in the up-down direction; a second frame equipped with the second shaft member, and including a guide portion configured to guide movement of the tubular rod in the up-down direction in association with the movement of the first frame in the up-down direction; and a shaft controller configured to control operation of the first and second shaft members (10,30), wherein the shaft controller is configured to execute, in a state in which the dispensing tip is mounted to the tip mounting portion, a first control of controlling the first shaft member such that the dispensing tip sucks and discharges the liquid by the movement of the piston member in the up-down direction, and a second control of controlling the second shaft member such that the guide portion and the base end portion of the dispensing tip come into contact with each other by upward movement of the first frame to detach the dispensing tip from the tip mounting portion. a first control of controlling the first shaft member such that the dispensing tip sucks and discharges the liquid by the movement of the piston member in the up-down direction, and a second control of controlling the second shaft member such that the guide portion and the base end portion of the dispensing tip come into contact with each other by upward movement of the first frame to detach the dispensing tip from the tip mounting portion.