Protection device for an injection or infusion needle (2), comprising a needle mount (1) at the proximal end of the needle, on which abutment a protective member (3) for the needle tip is movable, the protection member having a coupling section (3b) that engages with the needle pillar to prevent the protection member (3) from moving beyond the tip of the needle, where the protection member (3) it is surrounded by a tube (5) whose diameter is reduced or deformed locally so that the protection member (3) is confined in the tube (5), characterized in that the tube (5) is a shrinkable tube deformable by the action of heat, where the shrinkable tube (5) has a non-deformed area (5c) with a stiffness that resists compression of the shrinkable tube (5) during handling.Dispositivo de protección para una aguja (2) de inyección o infusión, que comprende una montura (1) de aguja en el extremo proximal de la aguja, en cuyo pilar es desplazable un miembro (3) de protección para la punta de la aguja, teniendo el miembro de protección una sección (3b) de acoplamiento que se acopla con el pilar de la aguja para evitar que el miembro (3) de protección se desplace más allá de la punta de la aguja, donde el miembro (3) de protección está rodeado por un tubo (5) cuyo diámetro se reduce o deforma localmente de modo que el miembro (3) de protección queda confinado en el tubo (5), caracterizado por que el tubo (5) es un tubo encogible deformable por la acción del calor, donde el tubo (5) encogible tiene un área (5c) no deformada con una rigidez que resisten la compresión del tubo (5) encogible durante el manejo.