Short answer: late winter, while trees are dormant, suits most pruning. But it depends on the tree and the reason.
Late winter: most pruning
With the leaves off, it's easy to see the structure and make clean decisions. The tree is about to put on a burst of growth in spring, which helps it seal cuts. Insects and fungi are less active too.
Any time: dead, broken or dangerous
A cracked limb over the drive doesn't need to wait for February. Deadwood and hazards can come out whenever you spot them.
Spring: go easy on oaks
Many arborists avoid pruning oaks in spring and early summer, when fresh wounds attract the beetles that can spread disease. Unless it's a hazard, we schedule oak pruning for the dormant season.
Flowering trees
Trees that bloom in spring, like dogwoods and redbuds, set their buds the year before. Prune them right after they flower so you don't cut off next year's show.
What we won't do in any season
Top a tree. Cutting a crown back to stubs causes weak regrowth and decay, no matter when it's done.