The present invention pertains to a method of producing a compressed nicotine tablet comprising nicotine. The method comprising the steps of adding a first powdered portion of tablet base material into a punch die, pressing said first tablet base material by means of an upper and a lower punch to obtain a first pressed material, inserting an object at the upper face of the first pressed material and fixing the object in a central cavity of the first pressed material, adding a second powdered portion of tablet base material into the punch die, and pressing said first and second tablet base material around the object to enclose the object from the surface of the tablet. The object is based on a material different from the first and/or the second powdered portion of tablet base material.