The influence of the environment on people is very large. According to the general rules of people’s daily routines, people spend at least half of their time in residential areas. Therefore, the environment of residential areas has a great impact on people’s emotions, behaviors, and even the development of living habits. Residential area refers to a residential area where residents live in clusters and form a certain scale, including buildings where people live, public buildings and facilities for rest, education, fitness, work, and even communication between people, green space, and traffic roads. Usually, the environmental design of urban residential areas usually meets the requirements of diverse functions, strong compatibility, and convenient travel, so as to facilitate residents’ living. In an ideal state, the environmental design of a residential area should not only meet the basic living conditions but also improve the living comfort of the residents. Because there is a close relationship between people’s psychology and behavior and the living environment of the community, environmental design that is in line with people’s positive and optimistic psychology helps residents maintain a happy mood. Therefore, from the perspective of environment to residents’ living comfort, this paper introduces a cognitive system model and Gestalt psychology to optimize the design of residential healthy environment. A more harmonious and comfortable living environment is established by using the principle of bottom, grouping, and simplification in Gestalt.