Yes, 2 feet is the minimum depth to dig for your fence posts, but it also depends on the size and length of the posts.