Most cities require a setback of 5 to 15 feet from the property line for garages and sheds, although local regulations differ. Setback requirements may be different if you're building a garage in your backyard or in front of a house. Double check local building codes to confirm before starting any projects.