It is generally accepted that improper preparation of the post space in endodontically treated teeth may damage sealing of the filling and cause treatment failure. Conventional method of detecting the sealing ability of endodontically treated teeth are quite complicated and inconvenient. To avoid the shortcomings of these traditional methods, the law of diffusion was adopted in this experimental design, and the results were compared with those of the traditional dye penetration method. Fifty sound molar teeth were treated by routine endodontic procedures, and were instrumented to 35# endodontic file. In 20 teeth in the control group, half were treated as a positive control by leaving the apical foramen open, and the remaining half were used as a negative control by sealing the foramen with two layers of nail polish. The other 30 experimental teeth were filled with gutta-percha points and sealer Canals by the lateral condensation method. Two weeks later, the filling material was removed to apical 3 mm, then 60 microL 2915 mM KCl solution was placed into the pulp cavity. The root was immersed into 1 mL 24.17 mM KCl solution. During the following 30 days, the concentration of the potassium ions in the outer solution was monitored by an ion-selective electrode. Finally, all 50 teeth were immersed in 1% methylene blue for 24 hours, sectioned with Isomet, and the extent of dye penetration was measured under a stereomicroscope with a digital caliper. The results of both methods were compared by means of regression analysis. There was a good correlation between the dye penetration method and the newly designed ion-diffusion method (r = 0.812).(ABSTRACT TRUNCATED AT 250 WORDS)