To explore the psychological mechanism of idol worship, based on the attachment theory and defense mechanism theory of psychological dynamics, this study examines the impact of adult attachment on idol worship in young people, and explores the parallel mediating role of defense mechanisms in it. A questionnaire survey was conducted on 763 young participants on adult attachment, idol worship, and defense mechanisms. The results showed that: (1) Attachment avoidance and attachment anxiety significantly positively predicted idol worship in young people; (2) Immature, mature, and intermediate defense mechanisms play a parallel mediating role in attachment avoidance and idol worship, as well as attachment anxiety and idol worship. Conclusion: Adult attachment has a direct predictive effect on idol worship, and can also indirectly affect idol worship through three pathways, revealing the mediating role of defense mechanisms in it. This provides important evidence for promoting individual health development and social harmony, as well as preventing and intervening in extreme idol worship.