Ashi barai is a general term for techniques that catch the opponent's weight transfer as they step, sweeping the ankle or heel area of the leg that is beginning to bear weight, and throwing the standing opponent to the ground. Variations include deashi barai (sweeping the forward-advancing foot), okuriashi barai (sweeping the laterally moving foot), and kubi gaeshi (sweeping the heel from the inside). Unlike major throws, there is no need to enter deeply into position; the greatest feature is the ability to execute the technique instantaneously by capitalizing on the opponent's movement.
The most important aspect of ashi barai is the timing to catch the window when the opponent's weight begins to transfer from 0% to bearing weight. A foot that is fully weighted cannot be swept, and sweeping a foot that is completely unweighted will not cause a break in balance. By applying the sweep during the narrow window when the stepping foot has just begun to touch the ground—the so-called "stepping on a ball" state—you can generate a large off-balance with minimal force. When sweeping, use the entire sole of your foot as the contact surface and snap your foot back quickly to strike the opponent's heel.
In BJJ sparring, opportunities for ashi barai arise repeatedly within the first few seconds of gripping. Particularly effective moments are when the opponent advances to prevent an open guard pull, or when they stand up to escape after a takedown. Andre Galvao is known for the precision of his deashi barai in competition; study his beautiful sequences that incorporate foot sweeps into the flow of standing exchanges.