Most safety regulations recommend a pool fence to be at least 4 feet high, but local codes might vary. Check with local authorities for specific requirements.