The black woodpecker Dryocopus martius is an ecologically disproportionately important forest species owing to its abundance. Its large cavities provide breeding sites and shelter for many species—large birds, mammals, and social insects. I evaluated the nest tree preferences of black woodpeckers in the Augustów Forest, northeast Poland. Approximately 400 black woodpecker cavities were observed. The Scots pine, Pinus sylvestris, was the most commonly selected tree species, accounting for 90%. The cavity trees were 55–225 years old. All trees younger than 90 years were broadleaved tree species. The trees used to excavate the cavities had a larger diameter at the breast height (DBH) than the average of the stand. The trees selected by black woodpeckers were significantly shorter than the average height of the stands. Over 60% of the cavities were excavated 10–16 m above ground level. I found that the DBH and the first branch height were critical factors affecting the cavity entrance height. In pine-dominated forests, black woodpeckers preferred dead trees. Approximately 44% of new cavities were excavated from dead trees. Leaving dead or dying large trees in commercial forests benefits black woodpeckers and large secondary cavity nesters that depend on it and promotes biodiversity conservation. Birds excavate new cavities at a high rate yearly, in contrast with beech-dominated forests.