# Sleep resistance
Sleep resistance is a property that appears in NetHack. It prevents you from being put to sleep by wands of sleep, potions of sleeping, sleeping gas traps, orange dragons' breath attacks, wearing an amulet of restful sleep, or reading a dull spellbook.

Sources
The property can be obtained intrinsically through the following methods:

Playing a Monk
Playing an elf of any role and reaching level 4
Being polymorphed into a naturally sleep-resistant monster
Being crowned
Eating a corpse or tin of any of the following monsters:

Monster
Conduct
Difficulty
Chance
Notes

homunculus
meaty
3
7%
poisonous

gelatinous cube
vegan
6
10%
acidic

flesh golem
meaty
10
12%

Chromatic Dragon
meaty
23
17%
poisonous, Caveman quest nemesis

Woodland-elf
meaty
6
27%
cannibalism for elves

Green-elf
meaty
7
33%
cannibalism for elves

Grey-elf
meaty
8
40%
cannibalism for elves

elf-lord
meaty
11
53%
cannibalism for elves

Elvenking
meaty
11
60%
cannibalism for elves

elf
meaty
4
67%
cannibalism for elves, danger of food poisoning if eating undead elf corpses

orange dragon
meaty
20
100%

Strategy
Obtaining sleep resistance is generally not difficult, as elves are quite common in the Dungeons of Doom and can be safely eaten by anyone except player elves (who already gain the intrinsic by level-up). 

Messages
The following messages are associated with sleep resistance:

You feel wide awake.
You gained sleep resistance by eating a corpse or tin.
You feel awake!
You gained sleep resistance by reaching level 4 as an elf.
You feel tired!
You lost sleep resistance through level drain.
You yawn.You don't feel sleepy.
You were hit by a sleep-inducing attack or item, but you have sleep resistance.
You are enveloped in a cloud of gas!
You stepped on a sleeping gas trap, but did not fall asleep because you have sleep resistance.

This page may need to be updated for the current version of NetHack.
It may contain text specific to NetHack 3.6.1. Information on this page may be out of date.
Editors: After reviewing this page and making necessary edits, please change the {{nethack-361}} tag to the current version's tag or {{noversion}} as appropriate.