The difference of the shape deformation of optoelectronics packages produced by three kinds of optical window capsulation techniques was analyzed theoretically. The strong impact stress was analyzed with simulations. Lastly, pendulum-type impact test verifies the theoreticl analysis result.e. It is indicated that the resistance of soldering packages to strong impact is the best, that of pyrometallurgical-shape packages takes the second place, and the packages shaped by high-frequency is realitively weaker.