The invention relates to a method for producing a drug delivery device, which has a body comprising a siloxane-based elastomer and at least one active agent. The method comprises applying adhesive material, which comprises non-cured siloxane based elastomer, into a contact with the body and curing the said adhesive material by subjecting it to radiation energy from a laser source. The invention relates also to a drug delivery device manufactured according to the method.