Denying

Denying is the act of preventing enemy Heroes from getting the last hit on a friendly unit by last hitting the unit yourself. Enemies will get reduced experience and no gold from the kill. All allied units can be denied once they fall below a certain percentage of health: creeps, non-hero units, and illusions at 50%, heroes at 25%, and towers at 10%.

Denying Units
Allied creeps and siege units can be denied once they fall below 50% health. To deny a unit, you must force an attack command on it. (By default this requires you to press 'A' and Left-click on the unit.)

Denying creeps is an excellent way to control a lane and gain a lead over your opponent. It not only prevents them from gaining gold and moves the lane towards your tower, it also denies your opponent experience which can cause a noticeable level difference in lane.
 * A denied creep divides 36 exp to enemy heroes within 1300 range. A melee/ranged creep would normally give 62/41 exp in 1300 range respectively.

Some units such as 's Golem and 's Spirit Bear grant a significant gold reward should an enemy hero successfully destroy them. Denying these units is an excellent way to prevent giving the enemy free gold when the unit is unlikely to survive.

It should be noted that the Necronomicon Warrior will not trigger Last Will on a deny, though this is still a waste of the warrior's utility and is not recommended.

Denying Towers
Towers may only be denied once they drop below 10% health, and doing so will significantly reduce the global gold reward the enemy team gains from the tower's destruction. The difference between the standard tower bounty and a denied tower's bounty is as follows: Denying a tower will also prevent an enemy player from receiving the 150-250 bonus gold for the last-hit.

Denying Heroes
Heroes can also be denied under specific circumstances. A denied Hero will prevent the enemy from gaining any experience or gold from the kill, but will still lose gold upon death.

A hero under 25% health and under the effects of certain spells can be denied by an allied hero. The three spells that allow allied hero denial are:
 * 's
 * 's
 * 's

During, may be denied in a similar fashion if the sun is below 50% health.

It is possible to deny oneself (commit suicide) in a variety of ways:
 * 's Pocket Suicide will immediately kill the wielder
 * 's
 * 's
 * 's
 * 's

It is also possible to deny allied heroes with some abilities:
 * 's
 * 's
 * 's, 's , and 's Dominate can used on an enemy ranged unit that has a projectile attack in flight, and will result in the denial of an allied hero if the attack deals the finishing blow.

Lastly, a hero is considered denied if a neutral creep (or Roshan) dealt the finishing blow.