To dream of something being illegal represents feelings about behavior or situations being forbidden, unacceptable, dangerous, or frowned upon by others. Feeling guilty having to cheat, be dishonest, or do something wrong behind someone’s back. Breaking the rules in some way. Feeling that you are risking getting into trouble or angering someone. Issues with allowing other opinions or control over you to make you believe you need to sneak certain behavior behind their backs. Feeling that something is wrong with your behavior when there isn’t.
Negatively, feeling that something is illegal in a dream may be a sign that you are fully aware of your dishonest behavior and have no regard for others feelings.
Example: A young women dreamed of police telling her that a laptop computer was illegal because of certain pictures that where stored on the computer. In waking life she felt that she had to sneak off to a concert behind her boyfriend’s back because her boyfriend didn’t like it.
Example 2: A young man dreamed of feeling that it was illegal to steal something from a store. In waking life he was going through serious spiritual testing and was having a tough time resisting watching pornography.