Landscape structure influences the spread of plant pathogens, primarily by affecting pathogen dispersal. Coffee leaf rust ( Hemileia vastatrix ), a fungal disease that causes heavy economic losses in the coffee industry, is likely to be affected by landscape structure via dispersal of its wind-borne spores. Previous studies have found positive associations between leaf rust incidence and the proportion of pasture cover, suggesting that deforestation may facilitate rust spore dispersal. We explored this idea by modeling the spread of rust transmission in simulated landscapes. Specifically, we modeled within-patch transmission using a probabilistic cellular automata model, and between-patch transmission using a random walk with spore movement inhibited by forest canopy cover. We used this model to understand how the spread of coffee rust is affected by: 1) clustering of coffee plants, 2) clustering of deforestation, and 3) proportion of landscape deforestation. We found that clustering of coffee plants is the primary driver of rust transmission, affecting the likelihood and severity of rust outbreak. Deforestation is important in landscapes with high clustering of coffee: rust outbreaks are more severe in landscapes with a higher proportion of deforested areas, and more variable in landscapes where deforested areas are more evenly dispersed throughout the landscape.