How unhealthy is mayonnaise, really?
Mayonnaise can fit into a balanced way of eating, even though it is high in fat and easy to serve generously. If you already track your food, the label and your usual portion will tell you more than broad claims about whether it is unhealthy.
What mayonnaise contains
Traditional mayonnaise is mainly oil mixed with egg and an acidic ingredient such as vinegar or lemon juice. Because oil is the main ingredient, most of its energy comes from fat, which provides about 9 kcal per gram.

The exact ingredients and nutrition vary between recipes and brands. Some versions contain more salt, sugar or other additions, so check the label of the mayonnaise you actually use rather than relying on a generic entry in your tracker.
Why the portion matters
Mayonnaise is energy-dense, meaning a relatively small amount can add noticeable energy to a meal. It is also easy to underestimate when it is spread thickly, stirred into a filling or added without measuring.

If accuracy matters to you, weigh or measure your usual serving before logging it. You do not need to do this forever, but checking occasionally can help you recognise what your normal portion looks like.
Fat, salt and different varieties
The fat in mayonnaise is not automatically a reason to avoid it, as fat has useful roles in the body and adds flavour and texture. The balance of different fats depends largely on the oil used, while the amount of salt depends on the recipe.

Reduced-fat and lighter versions usually replace some oil with water and other ingredients to keep the texture stable. They may contain less energy per serving, but the difference varies, so compare the nutrition information and serving size rather than relying on the name alone.
Putting mayonnaise in context
No single spoonful makes an overall diet healthy or unhealthy. What matters more is how often you use mayonnaise, how much you serve and what the rest of your usual eating pattern looks like.

If you enjoy it, log the amount and decide whether it fits your daily aims. You can also use a thinner spread or mix a smaller amount through a dish when you want the flavour without making mayonnaise the main part of it.