What it usually means
Most people react to rats with disgust, and dreams use that reaction. A rat usually stands for something unwanted that has got in: a worry that gnaws, a situation that feels unclean, a person you suspect of disloyalty, a habit you are ashamed of. Rats live in walls, cellars and drains, and their appearance in a dream often points to something going on out of sight.
Betrayal is a common association. In English, "to rat on someone" means to inform against them, and "I smell a rat" means suspecting deceit. A dream rat may be picking up on distrust you have not yet admitted.
There is another side. Rats are survivors — intelligent, adaptable, able to live almost anywhere. In the Chinese zodiac the Rat is the first sign, associated with cleverness and resourcefulness. If the rat in your dream was not frightening, it may reflect your own ability to get by in difficult conditions.
Pet rats are affectionate and clever, and for people who keep them, the dream may simply be about a beloved animal.
What changes the meaning
Rats in your house. Something unwelcome inside private life: worry, conflict, a secret, someone you do not fully trust.
A rat running across your path. A sudden unease, or a problem you glimpsed but did not deal with.
Being bitten by a rat. Betrayal or harm from an unexpected direction; a small problem that has become painful.
Many rats. Worries multiplying faster than you can manage them; a situation getting out of hand.
Killing a rat. Dealing decisively with a problem or a person you distrust.
A rat gnawing. Persistent worry, guilt or resentment that eats away slowly.
A white or pet rat. Cleverness, adaptability, a small creature you can trust after all.
A dead rat. A problem resolved, or something unpleasant you are about to discover.
Rats leaving. The old saying is that rats leave a sinking ship: a sense that something is failing, or that others are abandoning it.
A rat in food or the kitchen. Something spoiling what nourishes you — a relationship, a project, your own wellbeing.
Trapping a rat. Trying to catch a problem or a person in the act; waiting for proof.
Being a rat. Shame, or feeling seen as untrustworthy; sometimes pride in your own survival skills.
When it keeps coming back
Recurring rat dreams often follow periods of distrust: suspicions about a partner, colleague or friend, gossip at work, a sense that something is being hidden from you. It can help to ask whether the suspicion is based on evidence or on an old fear.
They also appear when something in your own life feels shameful or neglected — debt, mess, an addiction, a broken promise. The rat keeps returning to the cellar until the cellar is cleared.
If you live somewhere with real pests or have recently seen a rat, the dream may simply be replaying that. Not every rat is a symbol.
In Jungian terms
Jung's idea of the shadow is close to the image of the rat. He described the shadow as the part of the personality that a person refuses to acknowledge about themselves — traits, impulses and memories that do not fit the picture they want to present. Like rats in a house, these parts do not disappear when ignored. They move into the walls and come out at night.
He also insisted that the shadow is not purely negative. It contains energy, instinct and abilities that were pushed away along with what was unpleasant, and recovering them makes a person more whole and more alive.
Seen this way, a rat dream is a report from the cellar. What it finds there is rarely as monstrous as the disgust suggests, and some of it has been surviving down there, resourcefully, all along.