Cell migration is indispensable to morphogenesis and homeostasis. Live imaging allows mechanistic insights, but long-term observation can alter normal biology, and tools to track movements invivo without perturbation are lacking. We develop here a tool called M-TRAIL (matrix-labeling technique for real-time and inferred location), which reveals migration histories in fixed tissues. Using clones that overexpress GFP-tagged extracellular matrix (ECM) components, motility trajectories are mapped based on durable traces deposited onto basement membrane. We applied M-TRAIL to Drosophila follicle rotation, comparing invivo and exvivo migratory dynamics. The rate, trajectory, and cessation of rotation in wild-type (WT) follicles measured invivo and exvivo were identical, as was rotation failure in fat2 mutants. However, follicles carrying intracellularly truncated Fat2, previously reported to lack rotation exvivo, in fact rotate invivo at a reduced speed, thus revalidating the hypothesis that rotation is required for tissue elongation. The M-TRAIL approach could be applied to track and quantitate invivo cell motility in other tissues and organisms.