Short answer: In Matthew 5:27–28 Jesus says that everyone who gazes at a woman to lust after her has already committed adultery with her in his heart. The command against adultery always aimed at the inner life, and Jesus exposes the sustained look that entertains and chooses the desire. The verse describes a person who gazes and nurses lust, not someone who merely experiences an unbidden thought. A dream is something that happens to you; this passage addresses what you do with desire when you are awake and choosing.
The setting of Jesus' word about the heart
Matthew 5:27–28 belongs to the Sermon on the Mount, Jesus' extended teaching to his disciples in Galilee, which Matthew arranges as a carefully ordered discourse. Its literary shape is a series of contrasts. Jesus names what his hearers had heard said, then sets his own word over against it with the phrase "but I tell you." Verses 27 and 28 form one such pair. These are not verses dropped into a list of rules; they sit inside a sustained argument about the kind of righteousness the kingdom of heaven calls for. The passage is teaching, not story, and it aims past outward behavior to the attitudes that produce it.
The pair stands in a run of six contrasts in this chapter. The unit just before it deals with anger and reconciliation, ending with the instruction to settle with an adversary quickly on the way, which shows Jesus tracing broken relationships back to their root. The verses that follow, about the right eye and the right hand, press how grave it is to cause oneself to stumble. So the adultery saying is bracketed by teaching on the temper of the heart and on the seriousness of stumbling. Jesus speaks on the mountain to disciples within earshot of a crowd, as part of his announcement that the kingdom of heaven is near.
This is covenant teaching for the community that follows him, and it assumes that marriage is permanent and weighty. Jesus does not soften the command against adultery; he locates it in the heart, where desire is entertained and chosen. That distinction matters for anyone troubled by dreams they never willed. The passage addresses the gaze and the consent of the heart, not imagery that arrives unbidden in sleep. Honest confession and wise safeguards belong with this text; treating a dream as deliberate sin does not, and the setting gives no warrant for it.
What Jesus means by a look that lingers
Jesus begins with the command his hearers already knew, then sharpens it. The sin named is adultery, a specific breach of a marriage covenant, not every passing sexual thought. What he adds is the location where that sin can begin: the heart. In this Gospel the heart is the inner person, the seat of intention and will, where a deed is conceived before it is done. So the issue in 5:28 is not that a wrong image ever crosses the mind. It is a look that is held and cultivated, a gaze deliberately kept and fed until desire takes root.
The phrase that carries the weight is looking at a woman to lust after her. The wording describes a look aimed at lust, chosen and sustained, not a momentary impression that arrives uninvited. That distinction matters for anyone troubled by dreams. A dream is not a gaze. It is not deliberated, not cultivated, and not held by the will. Jesus is addressing the person who sees and then keeps looking, who nurses the desire rather than turning from it. Naming that difference is not excuse-making; it is reading the sentence as it stands.
The sayings about the right eye and right hand in 5:29–30 are deliberate exaggeration, and the same Sermon elsewhere condemns the very mutilation they picture. Jesus is not prescribing self-harm but pressing the seriousness of the matter: deal radically with what you can actually control. What you can control is where your eyes stay and what you do with what surfaces in you. So the honest response to unwanted dreams is confession without self-accusation of a willful sin you did not choose, together with plain safeguards: what you watch, what you revisit, and where you let your attention rest.
What Jesus says about the look and the heart
Matthew 5:27–28 opens with the old wording the crowd knew, the command against adultery, and then Jesus says, "but I tell you that everyone who gazes at a woman to lust after her has committed adultery with her already in his heart." The claim is startling and specific. He is not describing a glance that lands on someone before the mind catches up. He describes a person who keeps looking, who holds the image and feeds the desire. The verb is about sustained attention, not the flash of a thought. Jesus locates the sin where a person nurses and chooses the lust, and he says that life is already adultery, whether or not the act follows.
The saying sits in a series of contrasts in the Sermon on the Mount, each one beginning with what was said and continuing with Jesus' own authority. The unit just before it ends with a command to settle matters quickly with an adversary on the way to court, which shows the direction of the whole passage: Jesus is after the root attitudes that produce broken relationships, not only the final visible act. The verses that follow, about the eye and the hand, press how serious stumbling is and how drastically it must be dealt with. The setting is his teaching to disciples with the crowd listening, covenant instruction for the community that follows him, and it assumes marriage is permanent and weighty.
So the passage speaks to what we do with desire, not to what merely happens to us. It addresses the gaze that is chosen and repeated, and it does not put every unbidden image under the same verdict. Readers distressed by unwanted dreams should hear that distinction clearly: a dream is not a sustained look, and Jesus is not accusing you of a decision you never made. Honest confession still belongs in the light, and wise safeguards are still worth keeping. Grace comes first: Christ cleanses and steadies his people, and our response is to guard the eyes and bring the heart into the open.
Where readers disagree about lust and the heart
Careful readers agree on the core: Jesus places adultery of the heart under God's judgment, not only the outward act. He takes the seventh commandment and presses it inward, past behavior to desire. The disagreement begins when that teaching is applied to dreams and other mental events no one chooses. Some argue that any lustful desire is already sin, and that the will is somehow engaged even when awareness is dim. Others point to the wording of 5:28, which describes a person who gazes in order to lust. That phrasing involves looking, lingering and intending, and it sets a limit on how far the verse can be stretched.
That limit matters for anyone distressed by an unwanted dream. The text addresses a gaze deliberately aimed at lust, not an image that arrives uninvited during sleep. Treating every unbidden impulse as willful sin reads more into the passage than Jesus says, and it can burden consciences God did not bind. At the same time, the verse leaves no room for calling inner impurity harmless. Jesus is not grading outward actions while excusing the heart. The honest response to unwelcome thoughts is confession of what is truly ours, gratitude for mercy in Christ, and practical safeguards, not self-accusation over what we never chose.
Readers also differ over how literally to take 5:29–30, the plucking out of the eye and cutting off of the hand. Nearly all treat these as urgent figurative teaching, since the problem is the heart, not the organ, and harming the body would not cure desire. The point is the seriousness of the stakes: Jesus speaks of Gehenna and of losing one member rather than the whole body. Whatever else is disputed, what stays central is that Jesus traces sin to the heart, calls his disciples to guard their desires, and refuses to treat inner impurity as trivial.
The heart, the command, and the one who kept it
Jesus takes the seventh commandment and moves it inward. The command against adultery was already settled; he does not relax it but presses it back to the look and the wanting behind it. Notice how the wording works: the act is named, then the gaze that feeds the desire, then the verdict that the heart has already gone there. This is not a new law added to an old one but the old law read honestly. Anyone who hears it and thinks mainly about behavior has not yet heard it. The Sermon on the Mount is doing what it did all along: showing the hearer what God actually asks for, and how far short we fall.
The one speaking here speaks with authority, and he is also the only person who has kept this command whole, in desire as well as in deed. That matters for how we read the passage. Jesus is not handing down a standard he himself stands outside of; he is the standard, and he meets it. The verses that follow about plucking out an eye and cutting off a hand are deliberately shocking, and their point is the seriousness of sin, not a literal surgery. They press the reader toward the conclusion the whole sermon builds to: we need a righteousness we do not manufacture, and the gospel gives it in Christ.
So this passage should drive a reader to grace, not to a project of self-made purity. If you are distressed by dreams you did not choose, hear this gently: a dream is not the settled gaze Jesus describes, and it is not the moment to accuse yourself of deliberate sin. Honest confession is still right for what we do choose, and wise safeguards are still wise. But the rescue here is Christ's, not our vigilance. He kept the command we could not keep, and he bore the judgment we deserved, so that the heart he is remaking can rest in him rather than in its own record.
What faithful response looks like when desire stirs
Jesus is describing the awake life. In 5:27–28 he moves from the act to the look, from the deed to the gaze held long enough to become wanting. The setting is a hearer who can choose what to do with a thought. That is why the passage speaks so directly to ordinary days and so cautiously to sleep. A dream arrives without consent and without a decision; the text addresses the moment when you can decide. So the faithful question is not whether a disturbing image surfaced but what you do next, once you are awake and able to turn away or turn toward it.
What Jesus commends is a refusal to entertain. The wording is strong, and 5:29–30 shows how seriously he takes this: the eye and hand that trip you are to be thrown away, a deliberate act of removing what feeds the problem. Applied to lust, that means practical safeguards rather than vague resolve. Name the places and habits that make lust easy to return to, and cut them off. Bring the struggle into the light with a trusted believer rather than carrying it alone. Such steps are not self-salvation; they are the ordinary shape of grace-dependent effort.
Read the passage gently. Jesus is not accusing you of a sin you never chose, and he is not promising effortless purity or undisturbed nights. He names the sin and he came to save sinners; the same Lord who speaks these words gives forgiveness to those who confess. Let gratitude, not fear, ground your obedience. When a lustful thought appears, whether it followed a dream or rose in the day, refuse to rehearse it, take the safeguard you know you need, and rest in the mercy that meets you in Christ.
Biblical fidelity check
Read closely, Matthew 5:27–28 begins with the command against adultery and then presses behind it: Jesus says that anyone who looks at a woman in order to lust has already committed adultery in the heart. Two risks attend this text. One is flattening the phrase into a ban on every stray impression, when the wording describes a look held and cultivated toward lust. The other is softening it into advice about manners, when Jesus is tracing sin to the inner person where intention is formed. The eye and hand sayings that follow underline seriousness, not self-harm.
The real disagreement is how to describe dreams and other involuntary mental events. Some readers hold that any lustful desire is already sin and that the will is engaged even when awareness is dim; others distinguish temptation that arrives unbidden from the consent the verse describes as gazing. The text itself speaks of looking in order to lust, which limits how far it stretches. What stays central: Jesus locates sin in the heart, calls disciples to guard their desires, and treats inner impurity as no small thing.
Where Matthew 5:27-28 connects to the rest of Scripture
For a closer look at how Jesus handles the commandments in this section of the Sermon on the Mount, see Matthew 1: Genealogy and Birth of Jesus and Matthew 10: Jesus Sends the Twelve with Authority. Two further studies take up the question of guilt for involuntary thoughts in Matthew 12: Lord of the Sabbath and Sign of Jonah and the practice of guarding the eyes in Matthew 13: Parables of the Kingdom.
Frequently asked questions
Does a lustful dream count as adultery in the heart?
No, a dream you did not choose is not the adultery Jesus describes, because Matthew 5:28 names the one who gazes to lust, a deliberate looking that the will consents to and feeds. Jesus is tracing adultery back to the heart's intent, not to involuntary images that arrive in sleep. The verse searches what you do with desire when you are awake and able to turn away. What stays central is that the heart is where the real battle is fought, and Christ's mercy meets us there.
What is the difference between being tempted and actually sinning in a dream?
Jesus locates the adultery he describes in the heart's deliberate gaze, not in a mere impression that arrives unbidden, so a dream is not the sin he names in Matthew 5:28. Temptation is the pull toward something; the sin Jesus exposes is the choosing of it, the look held and fed. A dream gives no such choice, since the will is not awake to consent or refuse. What a dream may reveal is worth bringing to God in honest prayer, but it does not place you under the verdict of this verse.
What should I do about sexual dreams I never chose to have?
Jesus addresses the heart's willing gaze, not the involuntary images that come in sleep, so a dream you did not choose is not the adultery he describes in Matthew 5:28. His words expose the look we consent to and nurse, which is a matter of the will he calls us to bring into the light. Answer the dream by what you do when awake: refuse to replay it, confess any willing fantasy, and rest in the mercy of the one who came to save sinners. Sleep is not a courtroom, and Christ's grace is not suspended at night.