For safety reasons, a fire pit should be at least 10 to 20 feet away from any structures, including houses, fences, and overhanging branches. Always check local regulations and guidelines, as some areas may have specific requirements.