Formation of neural networks during development and regeneration after injury depends on accuracy of axonal pathfinding, which is primarily believed to be influenced by chemical cues. Recently, there is growing evidence that physical cues can play crucial role in axonal guidance. However, detailed mechanism involved in such guidance cues is lacking. By using weakly-focused near-infrared continuous wave (CW) laser microbeam in the path of an advancing axon, we discovered that the beam acts as a repulsive guidance cue. Here, we report that this highly-effective at-a-distance guidance is the result of a temperature field produced by the near-infrared laser light absorption. Since light absorption by extracellular medium increases when the laser wavelength was red shifted, the threshold laser power for reliable guidance was significantly lower in the near-infrared as compared to the visible spectrum. The spatial temperature gradient caused by the near-infrared laser beam at-a-distance was found to activate temperature-sensitive membrane receptors, resulting in an influx of calcium. The repulsive guidance effect was significantly reduced when extracellular calcium was depleted or in the presence of TRPV1-antagonist. Further, direct heating using micro-heater confirmed that the axonal guidance is caused by shallow temperature-gradient, eliminating the role of any non-photothermal effects.