Think of a setback as the margins for your lot. Your home and plans must stay within the lines. Local codes determine setbacks for reasons such as safety, privacy, or environmental protection.