Prince William Property

what is Prince Williams County building code for sheds?

I’m planning to either build or buy shed. Does anyone know how far the shed should be away from the property line? Someone told me it has to be at least six (6) feet away from the rear and side of my property.

What did your local building inspections department tell you? There may be a setback based on height; one purpose is so that a fire or similar event in the shed will not affect structures on adjoining property.