The invention relates to a safety needle device, for a medical instrument, to insert a needle into a patient's body to a determined insertion depth for injection of a cosmetic and/or pharmaceutical composition or for taking tissue sample, especially bodily fluid sample. The safety needle device, in two variants with a fixed insertion depth and with an insertion depth adjustment, comprises a hub (2), a needle (11), a protecting shield (4), longitudinal resilient means (6), transverse resilient means (12), a housing (3), and is provided with different technical means configured to cooperate with each other in order to perform different functions of the device. The safety needle device enables to control a state of use of the device, wherein the device is a disposable one and it ensures its user a protection against an accidental or intentional prick of the needle before and after the due use of the device for the purpose for which it is intended.