They overlap but aren’t identical. Codependency is more about over-functioning in relationships — managing others’ emotions, sacrificing your needs, building identity around being needed. Anxious attachment is more about the fear of disconnection itself: chronic uncertainty about whether you’re safe or about to be left. Many people experience both.