AbstractDecades of research have established that the Earth’s magnetic field (geomagnetic field, GMF) is broadly used as a sensory cue for magnetic orientation in various animal taxa, including insects. In contrast to the investigation of the total intensity or inclination of the GMF, the effect of declination on horizontal magnetic movement has been explored in a few species, including flies, cockroaches, and dogs. However, the potential role of declination in the vertical movement in magnetosensitive organisms is yet to be reported. In this study, we provide the first evidence that declination within a natural range of change can affect static geotaxis in fruit flies, as assessed using the tube‐positioning assay. In open‐field measurements conducted at 22 domestic and foreign locations, the variation in declination was notably dependent upon the specific location, regardless of altitude, with similar variation in total intensity. Flies subjected to a geographic range of declination under the same total intensity and inclination exhibited remarkably different geotactic positioning scores, irrespective of GMF polarity. Notably, we observed a significant negative correlation between the geotactic score and the absolute value of declination, indicating that declination can induce negative geotaxis effects in flies. These results reveal that flies have evolved to incorporate a declination compass into their multimodal sensorimotor system and suggest that declination may be complementary to gravity in terms of environmental factor‐driven negative geotaxis in flies.