The invention relates to pen needle container (4, 10, 20) for holding and supporting a pen needle assembly (11, 21) and a method for bending the front needle part (15) and/or the back needle part (14) of a pen needle assembly (11, 21). The pen needle assembly (11, 21) comprises a needle cannula (6) secured in a hub (3) such that a front needle part or patient needle part (15) of the needle cannula (6) extend in a distal direction from the hub (3) and a back needle part or cartridge part (14) of the needle cannula (6) extend in a proximal direction from the hub (3). The needle container (4, 10, 20) has a proximal open end (12, 22) and a distal closed end (13, 23). The distal closed end (13, 23) is shaped to facilitate bending of the front needle part (15) and/or the back needle part (14) of the needle assembly (11, 21).