Endodontic perforation, a serious complication in dental practice, is among the most common problems associated with endodontic procedures. Recommended methods of treatment are surgical or conservative using calcium hydroxide paste. A method in which perforations can be obturated immediately after their detection is described. The method utilizes an apex locator for measurement and detection of the perforation and a two-step treatment of thermatic compaction for filling the root canal as well as the perforation. A number of cases with a long follow-up are presented.