The present invention relates to a method and dressing for detecting detachment of the dressing, which is applied to a surface of an at least partly electrically conductive object. The dressing comprises an adhesive for attaching the dressing to the electrically conductive object and at least two electrodes arranged in a distance from the electrically conductive object. A voltage is applied to the first and second electrode establishing an electrical circuit comprising a first capacitor between the first electrode and the electrically conductive object and a second capacitor between the second electrode and the electrically conductive object. Changes of the capacitance between at least one of the first and the second electrode and the electrically conductive object are detected, and an alarm is activated when the changes of the capacitance reach a predetermined value. This advantageously provides a method whereby a leak can be detected quickly. Furthermore, this advantageously provides a leak sensor with no direct physical or mechanical contact between the electrically conductive object, e.g. the skin, and the electrodes. This provides for a dressing comprising a leak sensor without compromising the comfort of the user.