What are the psychological effects of losing your religion?

For many, their religion is a core part of their identity, the meaning they find in life, and their social world. Changing this crucial aspect of themselves will have significant psychological consequences.