From the outside, codependency looks exactly like kindness. Here is the one question that separates them, and it has nothing to do with how much you give.
Somebody asks me a version of this question almost every week. They describe a relationship, a friendship, or the way things go with a parent, and then they land on the same sentence.
"I don't know if I'm being codependent, or if I just care about people."
It's a fair question, and it's a hard one, because from the outside those two things look identical. Codependency doesn't show up wearing a warning label. It shows up looking like loyalty. It looks like generosity. It looks like the person everyone describes as the one who is always there.

Most of what gets written about this hands you a list of ten signs and leaves you to sort yourself. I've never found that useful, because a caring person reads that list and sees themselves, and so does a codependent one. The list doesn't draw the line. So let me draw it.
The definition isn't the problem
Oxford defines codependency as "excessive emotional or psychological reliance on a partner, typically one who requires support on account of an illness or addiction."
Fair enough. Accurate, even. It just doesn't help the person asking, because nobody experiences their own giving as excessive while they're doing it. They experience it as necessary.
Here is the more useful frame, and it's the one I use in my book, Love Unlocked:
Codependency may look like love, but it's rooted in fear.
That's the whole distinction: not the amount you give, not how tired you are, but the motive underneath it.
Care comes from abundance. You give because you want to, and you would still be fine if you didn't. Codependency comes from a quiet worry that if you aren't needed, you won't be loved. That if you don't give enough, you will be left. Underneath the generosity there's usually a deep fear of rejection, and the giving is the strategy for managing it.
You can be a genuinely warm, genuinely loving person and still be running that strategy. Most codependents are. That's exactly what makes it so hard to see.
The test that actually works
If you want a single question instead of a list, this is the one I would give you.
Does the thing you keep doing for them leave you feeling irritated, annoyed, or unseen?
That's it. If something you've done, or keep doing, leaves you quietly resentful, you're probably not acting from kindness. You're acting from martyrdom.
The reason this test works is that it bypasses your self-image entirely. You can't really argue with resentment. It's either there or it's not, and it doesn't care how good your intentions were.
Generosity is clean. It's giving because you want to, freely chosen, with no silent contract attached. It feels light afterward.
Martyrdom is giving what you don't actually want to give, and then calling it sacrifice. It creates what I think of as an invisible scorecard, a quiet ledger where you track your good deeds and wait for them to be repaid. Nobody else can see the ledger. That's the problem. You're keeping score in a game the other person doesn't know they're playing, and when the score doesn't even out, the frustration builds with nowhere to go.
You know the saying about the straw that broke the camel's back. The camel carries an enormous amount and then one small thing tips it. Martyrdom works the same way. The weight of everything unsaid piles up until some minor moment triggers a collapse, usually to the complete surprise of the person on the other end.
True kindness doesn't count straws.
The arsonist and the fireman
There's an analogy that's always jumped out at me when talking about this subject, and it captures the more uncomfortable version of this.
Picture an arsonist and a fireman. The arsonist starts the fire. The fireman puts it out and becomes the hero. Now imagine both of those roles belong to the same person.
Someone creates chaos, consciously or not, so they can be the one who resolves it. The rescue is where the sense of worth comes from, so the crisis has to keep existing for the identity to keep working.
If only everyone knew who started the fire.
That leads to the paradox at the center of codependency, and it's worth sitting with. If a codependent actually succeeded, if they truly fixed the person they were pouring themselves into, their worst fear would come true. The healthier version of that person would look up, want a partner and an equal, and start to pull away. Which means the codependent is quietly, unintentionally invested in the other person not getting better.
Not everyone knows they're doing this. In fact, many are completely unaware of their own behaviors, and so they stay stuck in the same patterns, on both sides of the relationship.
Where it comes from
Usually childhood, which is where most of these patterns start.
If you grew up in a home where a parent was emotionally unavailable, unpredictable, or simply overwhelmed, you may have learned to be hyper-responsible early. You were the one who soothed things, stayed quiet, kept the peace, because somebody had to. In psychology this is called parentification, when a child ends up carrying emotional responsibilities that belonged to the adult.
In that environment, love feels conditional. So you learn two things and carry them into every adult relationship you will ever have. To be loved, you have to be useful. To stay connected, you have to abandon parts of yourself.
That was an intelligent adaptation to the room you were standing in. It just stopped being useful about twenty years ago.
If you want to go further with this, chapter six of Love Unlocked, When Love Isn't Love, takes the whole thing apart: trauma bonds, codependency, enmeshment, and the quiet hope that the right person will fix what we haven't. It's on Amazon, or on Audible if you'd rather listen to it (yes, that's me reading it to you, recorded right here at home in Bali).
Mental Health America also has a clear clinical overview of the pattern.
So what do you do with it
Not stop caring. That's the fear people bring me, and it's the wrong one. The goal was never to give less.
The goal is to make sure the giving is chosen rather than compelled. That means noticing the resentment early, while it's still a flicker and not a fire, and treating it as information instead of something to push down.
When you catch it, the questions worth asking are simple. Where am I not feeling seen here? Where do I feel unsafe saying what I actually need? Could I bring this up directly instead of paying for it silently?
And a line I've shared with a lot of friends and clients over the years:
It is not anyone's responsibility to honor our boundaries. It is our responsibility to continue to enforce them.
It's wonderful when someone sees your limits and protects them. It's unrealistic to expect anyone to do that better than you can.
So here is the question I will leave you with.
The last time you gave something you didn't really want to give, what were you actually afraid would happen if you had said no?
Sit with that one honestly. The answer usually tells you which of the two you're doing.

Ready to go deeper?
If this resonated, my book Love Unlocked goes further into attachment, identity, and what conscious relating actually looks like in practice.
Want to work through your patterns together? I offer 1:1 Clinical Coaching and a 90-day container for people ready to break cycles and come home to themselves. Start the conversation.