Crime is a social undesirable phenomenon, the occurrence and its growth of which threatens the social and economic security. It increases cost of costs of security, law enforcement, as well as social and private costs. Irregular growth of population in urban areas causes problems such as the rise of crime, housing crisis, unfavorable working conditions, environmental issues, suburbanization and dozens of other problems. The aim of this study is investigating the relationship between physical and environmental factors such as the quality of the residential environment, population density and activities and also identification of high crime areas and specific crimes of Yazd 6-regional police offices. Analytical research method is and quantitative methods for evaluating the hypothesis are used. For data collection a questionnaire was used. GIS software was used to spatial analysis of crime and the designing maps. The analysis of the survey was done with Chi-square, Binominal, T multivariate tests by SPSS software. Statistical data is divided into two parts, First Offenders in central Prison of Yazd, the sample size of this community population is determined through Cochran’s formula, and the ones related to the data gathered from Yazd 6-regional police offices, in 1390, the spatial analysis of crime was performed using this data. The results showed that the increase in crime inclination is higher rates in comparison with increase in physical development and population in Yazd. With observations on the spatial analysis of crime in the city of Yazd, the regional police station 12 and 14 have the highest recorded crimes, that show informal habitation is significantly effective in increasing crime. Furthermore, in the residential quality analysis for indexes of the infrastructure, the quality of the living environment, number of rooms of housing unit and the type of ownership were used, all of which approved the effective role of quality of residential environment rate of crimes.