A spider crawling into your mouth while you sleep — this is one of the most widespread urban legends, but it has absolutely no scientific basis.
Spiders do not actively crawl into a human mouth — every aspect of this behavior contradicts spider biology.
Spiders are vibration-sensitive animals — the airflow of human breathing, the heartbeat, and body movements are massive seismic signals to these tiny arthropods, interpreted as a huge predator being nearby, triggering escape rather than approach behavior.
The environment of the human mouth is extremely threatening to a spider — the exhaled moist, warm CO₂-rich breath, the digestive enzymes in saliva, and oral bacteria all pose severe threats to the spider.
A spider has no biological reason to crawl into a human mouth — there is no spider food (small insects) in the mouth, and it's not a suitable hiding place (too moist and frequently disturbed).
In reality — a spider moving on the bed at night is much more likely a case of: a spider descending on a silk line from a crack in the ceiling to look for food on the bed, or a spider crawling from the nightstand or bookshelf onto the bed to explore new territory; after exploring, it will typically return the way it came or seek a dark hiding spot — not crawl into your mouth.
The origin of this myth is untraceable, but it has been called one of the most enduring natural history errors in urban legend.