Foraging desert ants, Cataglyphis fortis, encounter different sequences of visual landmarks while navigating by path integration. This paper explores the question whether the storage of landmark information depends on the context in which the landmarks are learned during an ant's foraging journey. Two experimental set-ups were designed in which the ants experienced an artificial landmark panorama that was placed either around the nest entrance (nest marks) or along the vector route leading straight towards the feeder (route marks). The two training paradigms resulted in pronounced differences in the storage characteristics of the acquired landmark information: memory traces of nest marks were much more robust against extinction and/or suppression than those of route marks. In functional terms, this result is in accord with the observation that desert ants encounter new route marks during every foraging run but always pass the same landmarks when approaching the nest entrance.