Objective To investigate the long term effects on sleep quality of the people who had relatives died in earthquake before and after birth. Methods Totals of 330 subjects who lived in Tangshan and had experienced Tangshan earthquake before and after birth on July 28,1976 were included. All of them were investigated with general demographic information,number of relatives died in earthquake,PittsburghSleep Quality Index(PSQI), Social Support Rating Scale(SSRS) and Childhood Trauma Questionnaire(CTQ) after 40 years of the earthquake. Results The prevalence of low sleep quality in all sunbjects was 12.6% (39/309) The prevalence of low sleep quality was higher in subjects who lost relatives in earthquake (17.6% v.s. 8.1%,. χ2=6.199,P=0.013). Significant differences were found on scores of emotional abuse in childhood and utiliza-tion of social support between subjects in normal sleep group and low quality sleep group (Z=-2.087,-2.551;P<0.05). Logistic analysis showed that bereavement in earthquake was risk factor of low sleep quality (OR=2.293,95%CI: 1.115-4.714). Conclusions Bereavement in earthquake before and after birth is risk factor of low sleep quality in adults.