A composition for cosmetics is provided, which has a UV shielding effect and which can produce a cosmetic having good dispersibility, an excellent UV shielding effect and excellent use feeling, cosmetic effect, long-lasting cosmetic performance. The cosmetic obtained by using the same is provided. The composition for cosmetics includes (A) microparticulate titanium dioxide, (B) one kind or two or more kinds of magnesium hydroxide and calcium hydroxide. The composition for cosmetics preferably contains further (C) a clay mineral. The compounding weight ratio among (A):(B):(C) is preferably 20 to 60:3 to 40:0 to 77. In addition, the composition for cosmetics is preferably one in which a mixed powder of (A), (B) and (C) is lipophilically treated.