AbstractIn the ion foreshock, hot flow anomalies (HFAs) and foreshock bubbles (FBs) are two types of foreshock transients that have the strongest fluctuations, which can disturb the magnetosphere‐ionosphere system and increase shock acceleration efficiency. They form due to interaction between the foreshock ions and solar wind discontinuities: the direction of the foreshock ion‐driven current and whether it decreases or increases the magnetic field strength behind the discontinuity determine whether the transient's formation can be promoted or suppressed. Thus, to predict the HFA and FB formation and forecast their space weather effects, it is necessary to predict the foreshock ion‐driven current direction. In this study, we derive analytical equations of foreshock ion velocities within discontinuities to estimate foreshock ion‐driven current direction, which provides a quantitative criterion of HFA and FB formation. To validate the criterion, we use Acceleration Reconnection Turbulence & Electrodynamics of Moon's Interaction with the Sun to observe pristine solar wind discontinuities and calculate discontinuity parameters. We use Magnetospheric Multiscale to observe the foreshock ion motion around the discontinuities and show that the data support our model. This study is another step toward a predictive model of HFA and FB formation so that we can forecast their space weather effects at Earth using solar wind observations at lunar orbit or L1.