A subdivision or neighborhood, often surrounded by a barrier, to which entry is restricted to residents and their guests
A gated community is an area of houses and sometimes shops that is surrounded by a wall or fence and has an entrance that is guarded. an area of houses and sometimes also shops, tennis courts etc, where a fence or wall surrounds the area and the entrance is guarded