If you dream that you are gay (but you are not in your waking life), or hanging out with a group of gay people, it is symbolic of self-love and self-acceptance. You are becoming comfortable with your sexuality and femininity.
If in your dream you hate the idea of homosexuality, then it represents your fears and rejection of parts of your own femininity and sexuality.
If you are gay in real life, then the dream is simply a reflection of your own self.
If you dream that your real-life boyfriend or husband is gay, you could be feeling rejected by him in real life, either because he is physically cold or you sense he is keeping some of his emotions secret from you. Your subconscious mind might be telling you that he’s keeping a secret from you in some way. Or, you could just be feeling insecure about the strength and nature of the relationship. Communication is key to finding out what’s really going on.