A microwave ablation system includes an antenna assembly configured to deliver microwave energy from a power source to tissue. One or more electrodes are disposed on the antenna assembly and are configured to be positioned relative to tissue upon insertion of the antenna assembly into tissue. The one or more electrodes are configured to generate a feedback signal in response to an electrical signal supplied thereto from the power source. The feedback signal corresponds to the proximity of tissue relative to the at least one electrode and is configured to be compared to a predetermined parameter to determine a depth of the insertion of the antenna assembly into tissue. The power source is configured to control the delivery of microwave energy to the antenna assembly based on the comparison.