Dreaming that you are trapped inside a toilet is a sign you are stranded in your mess or sin. Consequently, putting you under bondage and shame. This dream may indicate that you are on the verge of backsliding or you have already backslidden.

A toilet in a dream symbolizes sin or something filthy. Naturally, it is where we dump our waste. We only go to the toilet to relieve ourselves for a short while but not to stay. In other words, a washroom is not an arbitration.
Related: Feces being smeared on your head in a dream Christian meaning.
Seeing yourself, a friend, or someone else trapped inside a toilet in a dream also means you are stuck in a messy situation. This situation has gone far beyond your control, consequently trapping you.
The dream can also reveal that you are a prisoner of your sins, a slave to addiction and pervasiveness. This is true especially if you have such behaviors. The thing has taken over and you are no longer in control anymore. You have succumbed to your weaknesses, mass, sin, or any shameful activity.
Related: A snake biting your head in a dream.
If you are in a messed-up relationship and you have this dream, then it is a sign you are stuck in a toxic relationship that brings shame to your life. You need to wake up and make the right decision. God understands the circumstances we found ourselves in but does not approve of our stay in such situations. You need to be separated. (2 Corinthians 6:14-17).
2 Corinthians 6:17
Come out from them and be separate, says the Lord. Touch no unclean thing, and I will receive you.
What to do to get out of this situation.
- Commit your life to Jesus Christ by knowing Him and receiving Him into your life.
- Ask God to cleanse you and heal you from your backslidden state. (Jeremiah 3:22).
- Dedicate yourself to God as a living sacrifice. Do a personal dedication for your protection and consecration at the altar of God.