Present invention relates to a composition for hair comprising at least one xanthine or its derivative and at least one carboxylic acid according to the chemical structure given in the description below. Compositions of the present invention gives hair improved rigidity, grip, less elasticity and volume, but more body. Composition of the present invention can be in any form suitable for application onto hair such as in form of a shampoo, cleansing - conditioning composition, or in the form of a conditioner used after washing hair with a cleansing composition. The latter is used either as rinse off or as leave in conditioner.