The conventional detection conditions for transition faults require a transition at the fault site for activating a fault. The hazard-based detection conditions allow a transition fault to be activated by a pulse. Earlier, the hazard-based detection conditions were used for obtaining more accurate estimates of transition fault coverage and for more accurate defect diagnosis. This paper considers their use for test compaction. The procedure described in this paper replaces the conventional detection conditions with the hazard-based detection conditions for some faults. The use of the hazard-based detection conditions allows each test to detect more faults, thus allowing the number of tests to be reduced.