The introduction of new techniques for endodontic procedures requires the analysis of the biomechanical behavior of dental structures. Digital speckle shearing pattern interferometry (DSSPI) is a nondestructive optical measuring technique that allows one to directly quantify deformations in teeth that are subjected to stress. DSSPI technique was applied to measure small deformations caused by flexion in different types of teeth. The test was carried out both before and after endodontic treatment with the ProTaper method in order to evaluate the variation of dental elasticity, taking into the account the type of tooth and the endodontic treatment. The results obtained show that dental elasticity, established by means of the apparent Young's modulus, before and after the endodontic treatment, differs between incisors and premolars. The endodontic process does not affect dental elasticity (p>0.7). Specifically, 57.1% of central incisors and 56.3% of second premolars slightly increase their elasticity after the endodontic process. In turn, 42.9% of central incisors and 43.7% of second premolars slightly decrease elasticity. The endodontic treatment especially affects the "neutral fibre"; therefore, there is little influence on elasticity by flexion. However, after finishing the process, the channel was restored with material, which can slightly increase tooth elasticity in some cases.