Wildfires have demonstrated their destructive powers in several parts of the world in recent years. In an effort to mitigate the hazard of large catastrophic wildfires, a common practice is to reduce fuel loads in the landscape. This can be achieved through prescribed burning or mechanically. Prioritising areas to treat is a challenge for landscape managers. To help deal with this problem, we present a spatially explicit, multiperiod mixed integer programming model. The model is solved to yield a plan to generate a dynamic landscape mosaic that optimally fragments the hazardous fuel continuum while meeting ecosystem considerations. We demonstrate that such a multiperiod plan for fuel management is superior to a myopic strategy. We also show that a range of habitat quality values can be achieved without compromising the optimal fuel reduction objective. This suggests that fuel management plans should also strive to optimise habitat quality. We illustrate how our model can be used to achieve this even in the special case where a faunal species requires mature habitat that is also hazardous from a wildfire perspective. The challenging computational effort required to solve the model can be overcome with either a rolling horizon approach or lexicographically. Typical Australian heathland landscapes are used to illustrate the model but the approach can be implemented to prioritise treatments in any fire-prone landscape where preserving habitat connectivity is a critical constraint.