In this paper, the stress distributions of rectangular thin-film superconductors with a centric rectangular or elliptical hole are investigated. The bean critical current density model is adopted. In the present work, the influence of the existing hole on both the current density and magnetic field in the rectangular thin film is considered. By virtue of the minimum magnetic energy method, the principal stresses are calculated. Finally, the numerical examples about stress analysis along hole edge are examined and discussed in detail. Some important phenomena are found, which should be helpful for the analysis and design of superconducting film structure.