I will preface that I don’t believe all sexual dreams are demonically instituted however there are cases that it certainly can be. I don’t know how satan’s kingdom does it but they can somehow enter a person’s dream. There have been several people who relayed to me that they were tempted with sex by an entity in their dreams. Some people resisted, but some people yielded. The enemy is not called the tempter for nothing (Matt. 4:3).
Many of the people who had such dreams seemed to have had an extensive history with sexual immorality but has repented of it. The enemy, it seems, tries to pull people back into sexual immorality, even by trying to fool people with sexual advances. Some times the entity will come in the guise of a beautiful woman or man in a dream. Indeed, the Bible reads the enemy can transform into an angel of light (2 Cor. 11:14), so why not an attractive temptress? Or the enemy will offer the person food to eat. The enemy wants the person to “consent” to gain a foothold in a person’s life and keep the person in bondage to sin. Please take heed, whatever the enemy propositions to you do not receive it or yield to their temptation. Reject it in the mighty name of Jesus!
I have noticed those who have yielded the enemy has a stronger foothold in them. Yes, there can be real consequences for yielding to the enemy even in your dreams. One may retort “how can it be a sin when it merely is a dream and not actual sex?” God cares about the matters of the heart, mind, and will (Matt. 22:37). Just because such a situation doesn’t involve actual sex with a real human being means that it is innocuous. Jesus said if you even look at a woman to lust after her you already have committed adultery with her in your heart (Matt. 5:28). In other words, if you give into and entertain sexual fantasies, which is all in your head, you had sex with the object of the fantasy in your heart in God’s eyes. God knows how much you can exercise your will in a dream. If you give in to the enemy’s temptation it shows what is in your heart. Resist yielding to lust to these disgusting evil spirits in your dreams just as you should in a waking state.
“8 Be sober, be vigilant; because your adversary the devil, as a roaring lion, walketh about, seeking whom he may devour: 9 whom resist stedfast in the faith, knowing that the same afflictions are accomplished in your brethren that are in the world.” – 1 Peter 5:8-9
“neither give place to the devil.” – Ephesians 4:27
“Submit yourselves therefore to God. Resist the devil, and he will flee from you.”– James 4:7
“Therefore take up the whole armor of God, that you may be able to withstand in the evil day, and having done all, to stand.” – Ephesians 6:13
“There hath no temptation taken you but such as is common to man: but God is faithful, who will not suffer you to be tempted above that ye are able; but will with the temptation also make a way to escape, that ye may be able to bear it.” – 1 Corinthians 10:13
If you don’t know Jesus Christ as your Lord and Savior you can receive Him into your heart and He can deliver you from darkness and sin and have your name written in His Book of Life.
If you are sincere you can say this simple prayer to the Father (it doesn’t have to be word for word):
“God, I recognize that I have not lived my life for You up until now. I have been living for myself and that is wrong. Please forgive me of all of my sins just as I forgive others. I need You in my life; I want You in my life. I acknowledge the completed work of Your only begotten Son Jesus Christ in giving His life for me on the cross, I believe in my heart Jesus is Lord and was raised from the dead and I long to receive the forgiveness you have made freely available to me through this sacrifice. Come into my life now, Lord. Take up residence in my heart and be my king, my Lord, and my Savior. From this day forward, I will no longer be controlled by sin, or the desire to please myself, but I will follow You all the days of my life. Those days are in Your hands. I ask this in the Lord and GOD Jesus’ precious and holy name. Amen.”