A system and method for optical coherence elastography of tissue of an eye. The method includes introducing a probe into the eye, the probe including a vibration element, generating time resolved images of the tissue of the eye located posterior the vibration element of the probe by optical coherence tomography, exciting the vibration element to ultrasonic vibrations making the tissue vibrate or oscillate, measuring a displacement of the tissue in the time resolved images, and calculating elasticity values of the tissue from the displacement.