The present invention relates to a kind of injection devices. The injection device includes cap and main body, which is used to keep injection tube at one end with needle. Cap is detachably attached to the main body and has needle housing to receive the needle. The injection device further includes actuator, which can slide on the longitudinal direction of the main body relative to the main body, and the needle housing is pushed away from the main body.