The invention is directed at a method for planning a path (1) of an agricultural machine (2), wherein the agricultural machine (2) traverses the path (1), wherein the agricultural machine (2) executes a supply-based agricultural process in a working area (3) of an agricultural field (4) with an implement along the path (1), wherein the path (1) comprises reset tours (8) to reset a supply stock (6) of the agricultural machine (2) with a supply reset apparatus (9) and wherein the path (1) is determined according to a minimization of costs incurred by the reset tours (8). The invention is characterized in that the path (1) is determined by composing at least part of the the path (1) from pre-defined target tracks (10), that have been defined beforehand, which path is optimized according to at least one optimization criterion regarding the reset tours (8).