I've tried to lose weight for vanity a lot of time and always failed in the end. This time I want to lose weight so I can have kids (I'm not infertile or anything I just want to make sure I'm fit for pregnancy when I do it, I also want to model healthy behaviour for my family). It is a much more inspiring motivation but on bad days it also helps to think about being able to wear nice clothes one day.
Came for vanity, stayed for health
I'd say its more for increased self-esteem and confidence rather than vanity.
Just curious, it's a bit of a taboo subject, a lot of people say it's to "get healthy" but some also want to feel more attractive. Which category are you in?